C_APProcessFlowPoItem
AP Process Flow Purchase Order Item
C_APProcessFlowPoItem is a Consumption CDS View that provides data about "AP Process Flow Purchase Order Item" in SAP S/4HANA. It reads from 1 data source (I_PurchaseOrderItem) and exposes 31 fields with key fields ProcessFlowNodeDocument, ProcessFlowNodeDocumentItem. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F2691). Part of development package ODATA_PROCESS_FLOW_AP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchaseOrderItem | purchOrderItem | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_APProcessFlowPurchaseOrder | _PurchaseOrder | $projection.ProcessFlowNodeDocument = _PurchaseOrder.PurchaseOrder |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | CAPPFPOITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| DataAging.noAgingRestriction | false | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | AP Process Flow Purchase Order Item | view | |
| AbapCatalog.preserveKey | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F2691 | ASQL_F2691 | C2 | NOT_RELEASED |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProcessFlowNodeDocument | I_PurchaseOrderItem | PurchaseOrder | Purchasing Document |
| KEY | ProcessFlowNodeDocumentItem | I_PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item |
| ProcessFlowNode | ||||
| ProcessFlowNodeDocCategory | ||||
| FiscalYear | ||||
| CompanyCode | I_PurchaseOrderItem | CompanyCode | Receiver Company Code | |
| ParentProcessFlowNode | ||||
| ParentProcessFlowNodeDocument | ||||
| ParentProcessFlowNodeDocItem | ||||
| ParentProcFlwNodeDocCategory | ||||
| ParentProcFlowNodeFiscalYear | ||||
| ParentProcFlowNodeCompanyCode | ||||
| CreatedByUser | _PurchaseOrder | CreatedByUser | User Name | |
| FullName | _PurchaseOrder | FullName | Name | |
| CompanyCodeName | ||||
| PurchasingDocumentDeletionCode | PurchasingDocumentDeletionCode | Del. Indicator | ||
| ReferenceDocument | ||||
| Quantity | I_PurchaseOrderItem | OrderQuantity | Quantity | |
| PurchaseOrderQuantityUnit | I_PurchaseOrderItem | PurchaseOrderQuantityUnit | Order Unit | |
| PurchaseOrderDate | ||||
| Customer | I_PurchaseOrderItem | Customer | Sold-to Party | |
| CustomerName | ||||
| NetAmount | I_PurchaseOrderItem | NetAmount | Stated Amount | |
| DocumentCurrency | I_PurchaseOrderItem | DocumentCurrency | Document Currency | |
| AccountAssignmentCategory | I_PurchaseOrderItem | AccountAssignmentCategory | Acct Assgmt Cat | |
| PurchasingDocumentItemCategory | _PurchasingDocumentItem | PurchasingDocumentItemCategory | Item Category | |
| Supplier | _PurchaseOrder | Supplier | Supplier | |
| SupplierName | _PurchaseOrder | SupplierName | Supplier Name | |
| Plant | I_PurchaseOrderItem | Plant | Valuation Area | |
| _PurchaseOrder | _PurchaseOrder | |||
| AuthorizationGroup |
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 C_APProcessFlowPoItem.
-- 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: CAPPFPOITEM
CREATE VIEW C_APProcessFlowPoItem AS
SELECT
purchOrderItem.PurchaseOrder AS ProcessFlowNodeDocument,
purchOrderItem.PurchaseOrderItem AS ProcessFlowNodeDocumentItem,
concat(purchOrderItem.PurchaseOrder,concat(concat('0',purchOrderItem.PurchaseOrderItem),'____0000F')) AS ProcessFlowNode,
cast( 'F' as farp_bstat_d preserving type ) AS ProcessFlowNodeDocCategory,
cast('0000' as fis_gjahr preserving type ) AS FiscalYear,
purchOrderItem.CompanyCode AS CompanyCode,
cast( ' ' as farp_processflownode) AS ParentProcessFlowNode,
cast( ' ' as ebeln ) AS ParentProcessFlowNodeDocument,
'000000' AS ParentProcessFlowNodeDocItem,
cast( ' ' as farp_bstat_d preserving type ) AS ParentProcFlwNodeDocCategory,
cast('0000' as fis_gjahr preserving type ) AS ParentProcFlowNodeFiscalYear,
cast(' ' as bukrs preserving type ) AS ParentProcFlowNodeCompanyCode,
_PurchaseOrder.CreatedByUser AS CreatedByUser,
_PurchaseOrder.FullName AS FullName,
purchOrderItem._CompanyCode.CompanyCodeName AS CompanyCodeName,
PurchasingDocumentDeletionCode,
cast( '' as ebeln ) AS ReferenceDocument,
purchOrderItem.OrderQuantity AS Quantity,
purchOrderItem.PurchaseOrderQuantityUnit AS PurchaseOrderQuantityUnit,
purchOrderItem._PurchaseOrder.PurchaseOrderDate AS PurchaseOrderDate,
purchOrderItem.Customer AS Customer,
purchOrderItem._Customer.CustomerName AS CustomerName,
purchOrderItem.NetAmount AS NetAmount,
purchOrderItem.DocumentCurrency AS DocumentCurrency,
purchOrderItem.AccountAssignmentCategory AS AccountAssignmentCategory,
_PurchasingDocumentItem.PurchasingDocumentItemCategory AS PurchasingDocumentItemCategory,
_PurchaseOrder.Supplier AS Supplier,
_PurchaseOrder.SupplierName AS SupplierName,
purchOrderItem.Plant AS Plant,
purchOrderItem._PurchaseOrder._Supplier.AuthorizationGroup AS AuthorizationGroup
FROM I_PurchaseOrderItem AS purchOrderItem
LEFT OUTER JOIN C_APProcessFlowPurchaseOrder AS _PurchaseOrder ON ProcessFlowNodeDocument = _PurchaseOrder.PurchaseOrder -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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