I_MRPPurchaseOrderList

DDL: I_MRPPURCHASEORDERLIST Type: view_entity COMPOSITE Package: ODATA_PP_MRP

List of Purchase Orders

I_MRPPurchaseOrderList is a Composite CDS View that provides data about "List of Purchase Orders" in SAP S/4HANA. It reads from 2 data sources (I_MRPChangeRequestListBasic, I_MRPExceptionList) and exposes 10 fields with key fields MRPElement, MRPElementItem, MRPElementScheduleLine, MRPPlant, Material. Part of development package ODATA_PP_MRP.

Data Sources (2)

SourceAliasJoin Type
I_MRPChangeRequestListBasic MRPCR from
I_MRPExceptionList MRPExL union

Annotations (7)

NameValueLevelField
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label List of Purchase Orders view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY MRPElement MRPElement MRP element number
KEY MRPElementItem
KEY MRPElementScheduleLine
KEY MRPPlant MRPPlant Plant
KEY Material Material Vehicle Model
KEY MRPElementItem
KEY MRPElementScheduleLine
KEY MRPPlant MRPPlant Plant
KEY Material Material Vehicle Model
MRPArea MRPArea MRP Area

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_MRPPurchaseOrderList.
-- 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_MRPPurchaseOrderList AS
SELECT
  MRPElement,
  cast( lpad(MRPElementItem,6,'0') as delps ) AS MRPElementItem,
  cast( lpad(MRPElementScheduleLine,4,'0') as delet ) AS MRPElementScheduleLine,
  MRPPlant,
  Material,
  MRPArea
FROM I_MRPChangeRequestListBasic AS MRPCR
-- UNION with additional select branch(es): I_MRPExceptionList
;