I_MRPPurchaseOrderScheduleLine

DDL: I_MRPPURCHASEORDERSCHEDULELINE SQL: IMRPPURORDSCHL Type: view COMPOSITE

Purchase Order Schedule Line

I_MRPPurchaseOrderScheduleLine is a Composite CDS View that provides data about "Purchase Order Schedule Line" in SAP S/4HANA. It reads from 1 data source (I_PurchaseOrderScheduleLine) and exposes 28 fields with key fields PurchaseOrder, PurchaseOrderItem, ScheduleLine, MRPElementItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurchaseOrderScheduleLine I_PurchaseOrderScheduleLine from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IMRPPURORDSCHL view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Purchase Order Schedule Line view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
KEY ScheduleLine ScheduleLine Schedule Line
KEY MRPElementItem
OpenQuantity OpenPurchaseOrderQuantity Open Purchase Order Quantity
QuantityUnit PurchaseOrderQuantityUnit Order Unit
PurchaseOrderType _PurchaseOrder PurchaseOrderType PO Type
PurchaseOrderDate _PurchaseOrder PurchaseOrderDate PO Date
Plant _PurchaseOrderItem Plant Valuation Area
BaseUnit _PurchaseOrderItem BaseUnit Unit of Measure
DeliveryDate ScheduleLineDeliveryDate Delivery Date
DeliveryTime ScheduleLineDeliveryTime Time
Supplier _PurchaseOrder Supplier Supplier
MRPArea _PurchaseOrderItem MRPArea MRP Area
StorageLocation _PurchaseOrderItem StorageLocation StorageLocation
CompanyCode _PurchaseOrderItem CompanyCode Receiver Company Code
GoodsReceiptDurationInDays _PurchaseOrderItem GoodsReceiptDurationInDays GR proc. time
PurchasingOrganization _PurchaseOrder PurchasingOrganization Purchasing Organization
PurchasingGroup _PurchaseOrder PurchasingGroup Purchasing Group
IncotermsClassification _PurchaseOrder IncotermsClassification Incoterms
Material _PurchaseOrderItem Material Vehicle Model
MaterialName
SupplierName _PurchaseOrder SupplierRespSalesPersonName Salesperson
PurchasingDocumentDeletionCode _PurchaseOrderItem PurchasingDocumentDeletionCode Del. Indicator
_Supplier _Supplier
_PurchaseOrderQuantityUnit _PurchaseOrderQuantityUnit
_PurchaseOrderItem _PurchaseOrderItem
_CompanyCode _PurchaseOrderItem _CompanyCode

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_MRPPurchaseOrderScheduleLine.
-- 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: IMRPPURORDSCHL

CREATE VIEW I_MRPPurchaseOrderScheduleLine AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  ScheduleLine,
  cast( lpad(PurchaseOrderItem,6,'0') as delps ) AS MRPElementItem,
  OpenPurchaseOrderQuantity AS OpenQuantity,
  PurchaseOrderQuantityUnit AS QuantityUnit,
  _PurchaseOrder.PurchaseOrderType AS PurchaseOrderType,
  _PurchaseOrder.PurchaseOrderDate AS PurchaseOrderDate,
  _PurchaseOrderItem.Plant AS Plant,
  _PurchaseOrderItem.BaseUnit AS BaseUnit,
  ScheduleLineDeliveryDate AS DeliveryDate,
  ScheduleLineDeliveryTime AS DeliveryTime,
  _PurchaseOrder.Supplier AS Supplier,
  _PurchaseOrderItem.MRPArea AS MRPArea,
  _PurchaseOrderItem.StorageLocation AS StorageLocation,
  _PurchaseOrderItem.CompanyCode AS CompanyCode,
  _PurchaseOrderItem.GoodsReceiptDurationInDays AS GoodsReceiptDurationInDays,
  _PurchaseOrder.PurchasingOrganization AS PurchasingOrganization,
  _PurchaseOrder.PurchasingGroup AS PurchasingGroup,
  _PurchaseOrder.IncotermsClassification AS IncotermsClassification,
  _PurchaseOrderItem.Material AS Material,
  _PurchaseOrderItem._Material._Text[1: Language = $session.system_language ].MaterialName AS MaterialName,
  _PurchaseOrder.SupplierRespSalesPersonName AS SupplierName,
  _PurchaseOrderItem.PurchasingDocumentDeletionCode AS PurchasingDocumentDeletionCode,
  _PurchaseOrderItem._CompanyCode AS _CompanyCode
FROM I_PurchaseOrderScheduleLine
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
;