P_LstMiDeliveryToSalesDocument

DDL: P_LSTMIDELIVERYTOSALESDOCUMENT SQL: PLMDELTOSD Type: view COMPOSITE

P_LstMiDeliveryToSalesDocument is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_DeliveryDocumentItem) and exposes 3 fields with key fields DeliveryDocument, SalesDocument.

Data Sources (1)

SourceAliasJoin Type
I_DeliveryDocumentItem I_DeliveryDocumentItem from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PLMDELTOSD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY DeliveryDocument DeliveryDocument Outbound Delivery
KEY SalesDocument ReferenceSDDocument Reference Doc.
SalesDocumentCategory ReferenceSDDocumentCategory Prec.Doc.Categ.

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_LstMiDeliveryToSalesDocument.
-- 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: PLMDELTOSD

CREATE VIEW P_LstMiDeliveryToSalesDocument AS
SELECT
  DeliveryDocument,
  ReferenceSDDocument AS SalesDocument,
  ReferenceSDDocumentCategory AS SalesDocumentCategory
FROM I_DeliveryDocumentItem
;