I_PPS_PurchaseOrderProcessFlow
PPS Purchase Order Business Process FLow
I_PPS_PurchaseOrderProcessFlow is a Composite CDS View that provides data about "PPS Purchase Order Business Process FLow" in SAP S/4HANA. It reads from 2 data sources (I_PurchaseContractItem, I_Purchaserequisitionitem) and exposes 31 fields with key fields PrecedingDocument, PrecedingDocumentItem, SubsequentDocument, SubsequentDocumentItem, PrecedingDocumentItem.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchaseContractItem | PC | inner |
| I_Purchaserequisitionitem | PR | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | PPS Purchase Order Business Process FLow | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PrecedingDocument | PurchaseOrder | Purchasing Document | |
| KEY | PrecedingDocumentItem | Purchasing Document Item | ||
| KEY | SubsequentDocument | Purchasing Document | ||
| KEY | SubsequentDocumentItem | |||
| PrecedingDocumentCategory | ||||
| SubsequentDocumentCategory | Doc. Category | |||
| PurchaseOrder | PurchaseOrder | Purchasing Document | ||
| PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | ||
| PurchaseOrderType | _PurchaseOrder | PurchaseOrderType | PO Type | |
| PurchasingGroup | _PurchaseOrder | PurchasingGroup | Purchasing Group | |
| PurchaseRequisitionasPrecedingDocument | ||||
| KEY | PrecedingDocumentItem | Purchasing Document Item | ||
| KEY | SubsequentDocument | POItem | PurchaseOrder | Purchasing Document |
| KEY | SubsequentDocumentItem | |||
| PrecedingDocumentCategory | ||||
| SubsequentDocumentCategory | POItem | PurchaseOrderCategory | Doc. Category | |
| PurchaseOrder | POItem | PurchaseOrder | Purchasing Document | |
| PurchaseOrderItem | POItem | PurchaseOrderItem | Purchasing Document Item | |
| PurchaseOrderType | PO Type | |||
| PurchasingGroup | Purchasing Group | |||
| PurchaseContractasPrecedingDocument | ||||
| KEY | PrecedingDocumentItem | Purchasing Document Item | ||
| KEY | SubsequentDocument | POItem | PurchaseOrder | Purchasing Document |
| KEY | SubsequentDocumentItem | |||
| PrecedingDocumentCategory | ||||
| SubsequentDocumentCategory | POItem | PurchaseOrderCategory | Doc. Category | |
| PurchaseOrder | POItem | PurchaseOrder | Purchasing Document | |
| PurchaseOrderItem | POItem | PurchaseOrderItem | Purchasing Document Item | |
| PurchaseOrderType | PO Type | |||
| PurchasingGroup | Purchasing Group | |||
| PurchasingOrganization |
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_PPS_PurchaseOrderProcessFlow.
-- 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_PPS_PurchaseOrderProcessFlow AS
SELECT
PurchaseOrder AS PrecedingDocument,
cast (PurchaseOrderItem as char10) AS PrecedingDocumentItem,
cast (' ' as vdm_purchaseorder) AS SubsequentDocument,
cast (cast (' ' as vdm_purchaseorderitem) as char10) AS SubsequentDocumentItem,
_PurchaseOrder._PurchaseOrderType.PurchasingDocumentCategory AS PrecedingDocumentCategory,
cast (' ' as bstyp) AS SubsequentDocumentCategory,
PurchaseOrder,
PurchaseOrderItem,
_PurchaseOrder.PurchaseOrderType AS PurchaseOrderType,
_PurchaseOrder.PurchasingGroup AS PurchasingGroup,
_PurchaseOrder.PurchasingOrganization AS PurchaseRequisitionasPrecedingDocument,
POItem._PurchaseOrder.PurchasingOrganization AS PurchaseContractasPrecedingDocument,
POItem._PurchaseOrder.PurchasingOrganization AS PurchasingOrganization
INNER JOIN I_Purchaserequisitionitem AS PR ON /* join condition not captured in parsed metadata */
INNER JOIN I_PurchaseContractItem AS PC ON /* join condition not captured in parsed metadata */
;
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