BH_MATDOC_FOR_ACD_REF

DDL: BH_MATDOC_FOR_ACD_REF SQL: BHMATDOCACDREF Type: view

ML bloodhound: MATDOC for ACDOCA ref

BH_MATDOC_FOR_ACD_REF is a CDS View that provides data about "ML bloodhound: MATDOC for ACDOCA ref" in SAP S/4HANA. It reads from 2 data sources (mara, matdoc) and exposes 5 fields.

Data Sources (2)

SourceAliasJoin Type
mara a inner
matdoc doc from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName BHMATDOCACDREF view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label ML bloodhound: MATDOC for ACDOCA ref view

Fields (5)

KeyFieldSource TableSource FieldDescription
mblnr matdoc mblnr Material Doc.
mjahr matdoc mjahr Mat. Doc. Year
bukrs matdoc bukrs Value
kalnr matdoc kalnr ProdCostEst.No.
vksal_mm

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view BH_MATDOC_FOR_ACD_REF.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: BHMATDOCACDREF

CREATE VIEW BH_MATDOC_FOR_ACD_REF AS
SELECT
  doc.mblnr AS mblnr,
  doc.mjahr AS mjahr,
  doc.bukrs AS bukrs,
  doc.kalnr AS kalnr,
  sum(stock_vkwrt) AS vksal_mm
FROM matdoc AS doc
INNER JOIN mara AS a ON /* join condition not captured in parsed metadata */
;