P_ACMMaterialDocumentRecord

DDL: P_ACMMATERIALDOCUMENTRECORD SQL: PACMMATDOC Type: view BASIC

P_ACMMaterialDocumentRecord is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (matdoc) and exposes 4 fields.

Data Sources (1)

SourceAliasJoin Type
matdoc matdoc from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PACMMATDOC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (4)

KeyFieldSource TableSource FieldDescription
PurchaseOrder ebeln Source PurchDoc
PurchaseOrderItem ebelp Item pur. doc.
DeliveryDocument vbeln_im Delivery
DeliveryDocumentItem vbelp_im Item

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 P_ACMMaterialDocumentRecord.
-- 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: PACMMATDOC

CREATE VIEW P_ACMMaterialDocumentRecord AS
SELECT
  ebeln AS PurchaseOrder,
  ebelp AS PurchaseOrderItem,
  vbeln_im AS DeliveryDocument,
  vbelp_im AS DeliveryDocumentItem
FROM matdoc
;