I_MaterialDocumentHeaderVH

DDL: I_MATERIALDOCUMENTHEADERVH Type: view_entity COMPOSITE Package: MM_IM_VDM_VALUE_HELP

Material document value help

I_MaterialDocumentHeaderVH is a Composite CDS View that provides data about "Material document value help" in SAP S/4HANA. It reads from 1 data source (I_MaterialDocumentRecord) and exposes 9 fields with key fields MaterialDocumentYear, MaterialDocument. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F3233). Part of development package MM_IM_VDM_VALUE_HELP.

Data Sources (1)

SourceAliasJoin Type
I_MaterialDocumentRecord I_MaterialDocumentRecord from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_MaterialDocumentItem _MaterialDocumentItem $projection.MaterialDocumentYear = _MaterialDocumentItem.MaterialDocumentYear and $projection.MaterialDocument = _MaterialDocumentItem.MaterialDocument

Annotations (13)

NameValueLevelField
EndUserText.label Material document value help view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey MaterialDocument view
VDM.private false view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
Consumption.ranked true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F3233 ASQL_F3233 C2 NOT_RELEASED

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY MaterialDocumentYear MaterialDocumentYear Material Document Year
KEY MaterialDocument MaterialDocument Material Doc.
DocumentDate DocumentDate Journal Entry Date
PostingDate PostingDate Posting Date for GR
InventoryTransactionType InventoryTransactionType Trans. Ev. Type
MaterialDocumentHeaderText MaterialDocumentHeaderText
DeliveryDocument DeliveryInMatlDocumentHeader
ReferenceDocument ReferenceDocument Reference Document
_MaterialDocumentItem _MaterialDocumentItem

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 I_MaterialDocumentHeaderVH.
-- 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.

CREATE VIEW I_MaterialDocumentHeaderVH AS
SELECT
  MaterialDocumentYear,
  MaterialDocument,
  DocumentDate,
  PostingDate,
  InventoryTransactionType,
  MaterialDocumentHeaderText,
  DeliveryInMatlDocumentHeader AS DeliveryDocument,
  ReferenceDocument
FROM I_MaterialDocumentRecord
LEFT OUTER JOIN I_MaterialDocumentItem AS _MaterialDocumentItem ON MaterialDocumentYear = _MaterialDocumentItem.MaterialDocumentYear AND MaterialDocument = _MaterialDocumentItem.MaterialDocument  -- association [1..*]
;