I_MRPPurchaseOrderScheduleLine
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)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchaseOrderScheduleLine | I_PurchaseOrderScheduleLine | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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