P_PurchaseOrderItemSchedLnRel

DDL: P_PURCHASEORDERITEMSCHEDLNREL SQL: PPURORDITMSHDREL Type: view COMPOSITE

P_PurchaseOrderItemSchedLnRel is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_PurchaseOrderItemAggRel) and exposes 3 fields with key fields PurchaseOrder, PurchaseOrderItem, ScheduleLine.

Data Sources (1)

SourceAliasJoin Type
P_PurchaseOrderItemAggRel poAggRel from

Annotations (7)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PPURORDITMSHDREL view
VDM.viewType #COMPOSITE view
VDM.private true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder P_PurchaseOrderItemAggRel PurchaseOrder Purchasing Document
KEY PurchaseOrderItem P_PurchaseOrderItemAggRel PurchaseOrderItem Purchasing Document Item
KEY ScheduleLine P_PurchaseOrderItemAggRel ScheduleLine Schedule Line

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_PurchaseOrderItemSchedLnRel.
-- 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: PPURORDITMSHDREL

CREATE VIEW P_PurchaseOrderItemSchedLnRel AS
SELECT
  poAggRel.PurchaseOrder AS PurchaseOrder,
  poAggRel.PurchaseOrderItem AS PurchaseOrderItem,
  poAggRel.ScheduleLine AS ScheduleLine
FROM P_PurchaseOrderItemAggRel AS poAggRel
;