P_DeliveryProcFlow
Delivery Process Flow
P_DeliveryProcFlow is a Consumption CDS View that provides data about "Delivery Process Flow" in SAP S/4HANA. It reads from 12 data sources and exposes 171 fields with key fields DeliveryDocument, PrecedingDocument, PrecedingDocumentCategory, SubsequentDocument, SubsequentDocumentCategory. It has 1 association to related views.
Data Sources (12)
| Source | Alias | Join Type |
|---|---|---|
| I_DeliveryDocument | Delivery | inner |
| I_DeliveryDocumentItem | DeliveryItem | inner |
| I_DeliveryDocumentItem | DeliveryItem | inner |
| I_PurchasingDocHistory | GoodsIssue | inner |
| I_PurchasingDocHistory | GoodsIssue | inner |
| P_LtstGIReltdMatDoc | GoodsIssue | inner |
| P_LtstGIReltdMatDoc | GoodsReceipt | left_outer |
| P_LtstGIReltdMatDoc | GoodsReceipt | left_outer |
| P_LtstGIReltdMatDoc | GoodsReceipt | inner |
| I_SDDocumentProcessFlow | InboundDelivery | left_outer |
| P_LtstGIReltdMatDoc | ReturnDelivery | inner |
| P_DeliveryProcFlowTransfOrd | WMTransferOrder | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_DeliveryDocument | _DeliveryDocument | $projection.DeliveryDocument = _DeliveryDocument.DeliveryDocument |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PDLVPROCFLOW | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Delivery Process Flow | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (171)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DeliveryDocument | I_DeliveryDocumentItem | DeliveryDocument | Outbound Delivery |
| KEY | PrecedingDocument | |||
| KEY | PrecedingDocumentCategory | I_DeliveryDocumentItem | ReferenceSDDocumentCategory | |
| KEY | SubsequentDocument | |||
| KEY | SubsequentDocumentCategory | |||
| SDDocumentCategory | Document Cat. | |||
| WarehouseNumber | ||||
| WrhsMgmtTransferOrder | ||||
| MaterialDocument | Material Doc. | |||
| MaterialDocumentYear | Material Document Year | |||
| BillingDocument | ||||
| InboundDelivery | ||||
| FreightOrder | Freight Order | |||
| DeliveryDocument | Outbound Delivery | |||
| KEY | PrecedingDocument | |||
| KEY | PrecedingDocumentCategory | I_DeliveryDocumentItem | ReferenceSDDocumentCategory | |
| KEY | SubsequentDocument | |||
| KEY | SubsequentDocumentCategory | |||
| SDDocumentCategory | Document Cat. | |||
| WarehouseNumber | ||||
| WrhsMgmtTransferOrder | ||||
| MaterialDocument | Material Doc. | |||
| MaterialDocumentYear | Material Document Year | |||
| BillingDocument | ||||
| InboundDelivery | ||||
| FreightOrder | Freight Order | |||
| DeliveryDocument | Outbound Delivery | |||
| KEY | PrecedingDocument | |||
| KEY | PrecedingDocumentCategory | I_DeliveryDocumentItem | ReferenceSDDocumentCategory | |
| KEY | SubsequentDocument | P_LtstGIReltdMatDoc | MaterialDocument | |
| KEY | SubsequentDocumentCategory | |||
| SDDocumentCategory | Document Cat. | |||
| WarehouseNumber | ||||
| WrhsMgmtTransferOrder | ||||
| MaterialDocument | Material Doc. | |||
| MaterialDocumentYear | Material Document Year | |||
| BillingDocument | ||||
| InboundDelivery | ||||
| FreightOrder | Freight Order | |||
| DeliveryDocument | Outbound Delivery | |||
| KEY | PrecedingDocument | P_LtstGIReltdMatDoc | SubsequentDocument | |
| KEY | PrecedingDocumentCategory | P_LtstGIReltdMatDoc | SubsequentDocumentCategory | |
| KEY | SubsequentDocument | P_LtstGIReltdMatDoc | MaterialDocument | |
| KEY | SubsequentDocumentCategory | |||
| SDDocumentCategory | Document Cat. | |||
| SalesDocument | ||||
| PurchaseOrder | ||||
| WarehouseNumber | ||||
| WrhsMgmtTransferOrder | ||||
| MaterialDocument | P_LtstGIReltdMatDoc | MaterialDocument | Material Doc. | |
| MaterialDocumentYear | P_LtstGIReltdMatDoc | MaterialDocumentYear | Material Document Year | |
| BillingDocument | ||||
| InboundDelivery | ||||
| FreightOrder | Freight Order | |||
| DeliveryDocument | Outbound Delivery | |||
| KEY | PrecedingDocument | P_LtstGIReltdMatDoc | MaterialDocument | |
| KEY | PrecedingDocumentCategory | |||
| KEY | SubsequentDocument | P_LtstGIReltdMatDoc | PrecedingDocument | |
| KEY | SubsequentDocumentCategory | P_LtstGIReltdMatDoc | PrecedingDocumentCategory | |
| SDDocumentCategory | Document Cat. | |||
| SalesDocument | ||||
| PurchaseOrder | ||||
| WarehouseNumber | ||||
| WrhsMgmtTransferOrder | ||||
| MaterialDocument | P_LtstGIReltdMatDoc | MaterialDocument | Material Doc. | |
| MaterialDocumentYear | P_LtstGIReltdMatDoc | MaterialDocumentYear | Material Document Year | |
| BillingDocument | ||||
| InboundDelivery | ||||
| FreightOrder | Freight Order | |||
| DeliveryDocumentasDeliveryDocument | ||||
| KEY | PrecedingDocument | |||
| KEY | PrecedingDocumentCategory | |||
| KEY | SubsequentDocument | |||
| KEY | SubsequentDocumentCategory | |||
| SDDocumentCategory | I_DeliveryDocument | SDDocumentCategory | Document Cat. | |
| SalesDocument | ||||
| PurchaseOrder | ||||
| WarehouseNumber | ||||
| WrhsMgmtTransferOrder | ||||
| MaterialDocument | Material Doc. | |||
| MaterialDocumentYear | Material Document Year | |||
| BillingDocument | ||||
| InboundDelivery | ||||
| FreightOrder | Freight Order | |||
| ReturnsDeliveryasDeliveryDocument | ||||
| KEY | PrecedingDocument | _DeliveryDocument | DeliveryDocument | |
| KEY | PrecedingDocumentCategory | _DeliveryDocument | SDDocumentCategory | |
| KEY | SubsequentDocument | FreightOrder | FreightOrder | |
| KEY | SubsequentDocumentCategory | |||
| SDDocumentCategory | _DeliveryDocument | SDDocumentCategory | Document Cat. | |
| SalesDocument | ||||
| PurchaseOrder | ||||
| WarehouseNumber | ||||
| WrhsMgmtTransferOrder | ||||
| MaterialDocument | Material Doc. | |||
| MaterialDocumentYear | Material Document Year | |||
| BillingDocument | ||||
| InboundDelivery | ||||
| FreightOrder | FreightOrder | FreightOrder | Freight Order | |
| DeliveryDocument | Outbound Delivery | |||
| KEY | PrecedingDocument | P_DeliveryProcFlowTransfOrd | PrecedingDocument | |
| KEY | PrecedingDocumentCategory | P_DeliveryProcFlowTransfOrd | PrecedingDocumentCategory | |
| KEY | SubsequentDocument | P_DeliveryProcFlowTransfOrd | SubsequentDocument | |
| KEY | SubsequentDocumentCategory | P_DeliveryProcFlowTransfOrd | SubsequentDocumentCategory | |
| SDDocumentCategory | P_DeliveryProcFlowTransfOrd | PrecedingDocumentCategory | Document Cat. | |
| SalesDocument | ||||
| PurchaseOrder | ||||
| WarehouseNumber | P_DeliveryProcFlowTransfOrd | WarehouseNumber | ||
| WrhsMgmtTransferOrder | P_DeliveryProcFlowTransfOrd | WrhsMgmtTransferOrder | ||
| MaterialDocument | Material Doc. | |||
| MaterialDocumentYear | Material Document Year | |||
| BillingDocument | ||||
| InboundDelivery | ||||
| FreightOrder | Freight Order | |||
| KEY | PrecedingDocument | I_SDDocumentProcessFlow | SubsequentDocument | |
| KEY | PrecedingDocumentCategory | I_SDDocumentProcessFlow | SubsequentDocumentCategory | |
| KEY | SubsequentDocument | P_DeliveryProcFlowTransfOrd | SubsequentDocument | |
| KEY | SubsequentDocumentCategory | P_DeliveryProcFlowTransfOrd | SubsequentDocumentCategory | |
| SDDocumentCategory | I_SDDocumentProcessFlow | PrecedingDocumentCategory | Document Cat. | |
| SalesDocument | ||||
| PurchaseOrder | ||||
| WarehouseNumber | P_DeliveryProcFlowTransfOrd | WarehouseNumber | ||
| WrhsMgmtTransferOrder | P_DeliveryProcFlowTransfOrd | WrhsMgmtTransferOrder | ||
| MaterialDocument | Material Doc. | |||
| MaterialDocumentYear | Material Document Year | |||
| BillingDocument | ||||
| InboundDelivery | ||||
| FreightOrder | Freight Order | |||
| KEY | PrecedingDocument | P_LtstGIReltdMatDoc | PrecedingDocument | |
| KEY | PrecedingDocumentCategory | P_LtstGIReltdMatDoc | PrecedingDocumentCategory | |
| KEY | SubsequentDocument | P_LtstGIReltdMatDoc | SubsequentDocument | |
| SDDocumentCategory | P_LtstGIReltdMatDoc | PrecedingDocumentCategory | Document Cat. | |
| SalesDocument | ||||
| PurchaseOrder | ||||
| WarehouseNumber | ||||
| WrhsMgmtTransferOrder | ||||
| MaterialDocument | P_LtstGIReltdMatDoc | SubsequentDocument | Material Doc. | |
| MaterialDocumentYear | P_LtstGIReltdMatDoc | MaterialDocumentYear | Material Document Year | |
| BillingDocument | ||||
| InboundDelivery | ||||
| FreightOrder | Freight Order | |||
| KEY | PrecedingDocument | BillingDocument | PrecedingDocument | |
| KEY | PrecedingDocumentCategory | BillingDocument | PrecedingDocumentCategory | |
| KEY | SubsequentDocument | BillingDocument | SubsequentDocument | |
| KEY | SubsequentDocumentCategory | BillingDocument | SubsequentDocumentCategory | |
| SDDocumentCategory | BillingDocument | PrecedingDocumentCategory | Document Cat. | |
| SalesDocument | ||||
| PurchaseOrder | ||||
| WarehouseNumber | ||||
| WrhsMgmtTransferOrder | ||||
| MaterialDocument | Material Doc. | |||
| MaterialDocumentYear | Material Document Year | |||
| BillingDocument | BillingDocument | SubsequentDocument | ||
| InboundDelivery | ||||
| FreightOrder | Freight Order | |||
| DeliveryDocument | Outbound Delivery | |||
| KEY | PrecedingDocument | I_SDDocumentProcessFlow | SubsequentDocument | |
| KEY | PrecedingDocumentCategory | I_SDDocumentProcessFlow | SubsequentDocumentCategory | |
| KEY | SubsequentDocument | P_LtstGIReltdMatDoc | SubsequentDocument | |
| KEY | SubsequentDocumentCategory | |||
| SDDocumentCategory | I_DeliveryDocument | SDDocumentCategory | Document Cat. | |
| SalesDocument | ||||
| PurchaseOrder | ||||
| WarehouseNumber | ||||
| WrhsMgmtTransferOrder | ||||
| MaterialDocument | P_LtstGIReltdMatDoc | MaterialDocument | Material Doc. | |
| MaterialDocumentYear | P_LtstGIReltdMatDoc | MaterialDocumentYear | Material Document Year | |
| BillingDocument | ||||
| InboundDelivery | ||||
| FreightOrder | Freight Order | |||
| _DeliveryDocument | _DeliveryDocument |
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_DeliveryProcFlow.
-- 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: PDLVPROCFLOW
CREATE VIEW P_DeliveryProcFlow AS
SELECT
DeliveryItem.DeliveryDocument AS DeliveryDocument,
cast(DeliveryItem.ReferenceSDDocument as preced_doc ) AS PrecedingDocument,
DeliveryItem.ReferenceSDDocumentCategory AS PrecedingDocumentCategory,
DeliveryItem._DeliveryDocument.DeliveryDocument AS SubsequentDocument,
DeliveryItem._DeliveryDocument.SDDocumentCategory AS SubsequentDocumentCategory,
DeliveryItem._DeliveryDocument.SDDocumentCategory AS SDDocumentCategory,
cast('' as lgnum) AS WarehouseNumber,
cast('0000000000' as wm_transfer_order) AS WrhsMgmtTransferOrder,
cast('' as mblnr ) AS MaterialDocument,
cast('0000' as mjahr) AS MaterialDocumentYear,
cast('' as vbeln) AS BillingDocument,
cast('' as vbeln_vl) AS InboundDelivery,
cast('' as /scmtms/tor_id) AS FreightOrder,
cast('' as vbeln_va) AS SalesDocument,
cast('' as ebeln) AS PurchaseOrder
INNER JOIN I_PurchasingDocHistory AS GoodsIssue ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_LtstGIReltdMatDoc AS GoodsReceipt ON /* join condition not captured in parsed metadata */
INNER JOIN I_DeliveryDocumentItem AS DeliveryItem ON /* join condition not captured in parsed metadata */
INNER JOIN P_LtstGIReltdMatDoc AS GoodsIssue ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SDDocumentProcessFlow AS InboundDelivery ON /* join condition not captured in parsed metadata */
INNER JOIN P_LtstGIReltdMatDoc AS ReturnDelivery ON /* join condition not captured in parsed metadata */
INNER JOIN P_DeliveryProcFlowTransfOrd AS WMTransferOrder ON /* join condition not captured in parsed metadata */
INNER JOIN P_LtstGIReltdMatDoc AS GoodsReceipt ON /* join condition not captured in parsed metadata */
INNER JOIN I_DeliveryDocument AS Delivery ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DeliveryDocument AS _DeliveryDocument ON DeliveryDocument = _DeliveryDocument.DeliveryDocument -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA