P_SuplrDelivPredictTrngData1
Supplier Delivery Prediction Data set
P_SuplrDelivPredictTrngData1 is a Consumption CDS View that provides data about "Supplier Delivery Prediction Data set" in SAP S/4HANA. It reads from 1 data source (P_POItemClsdSchedLinesCalc) and exposes 46 fields with key fields PurchaseOrder, PurchaseOrderItem, ScheduleLine. It has 4 associations to related views. Part of development package APPL_MM_PUR_DLVPRED_ML.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_POItemClsdSchedLinesCalc | ClosedScheduleLines | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | P_POItmSchedLineCalcdFeatures | _FeatureEnggData | $projection.PurchaseOrder = _FeatureEnggData.PurchaseOrder and $projection.PurchaseOrderItem = _FeatureEnggData.PurchaseOrderItem and ClosedScheduleLines.ScheduleLine = _FeatureEnggData.ScheduleLine |
| [1..1] | I_PurchaseOrder | _PurchaseOrder | $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder |
| [1..1] | I_PurchaseOrderItem | _PurchaseOrderItem | $projection.PurchaseOrder = _PurchaseOrderItem.PurchaseOrder and $projection.PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem |
| [1..1] | I_PurgDocScheduleLine | _ScheduleLine | $projection.PurchaseOrder = _ScheduleLine.PurchasingDocument and $projection.PurchaseOrderItem = _ScheduleLine.PurchasingDocumentItem and ClosedScheduleLines.ScheduleLine = _ScheduleLine.ScheduleLine |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSUPLRDELTRNGDT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (46)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | PurchaseOrder | Purchasing Document | |
| KEY | PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | |
| KEY | ScheduleLine | P_POItemClsdSchedLinesCalc | ScheduleLine | Schedule Line |
| PurchaseOrderDate | PurchaseOrderDate | PO Date | ||
| PurchaseOrderItemQty | PurchaseOrderItemQty | Quantity | ||
| LastPostingDate | LastPostingDate | |||
| Supplier | P_POItemClsdSchedLinesCalc | Supplier | Supplier | |
| SupplyingPlant | SupplyingPlant | Supplying Plant | ||
| Plant | P_POItemClsdSchedLinesCalc | Plant | Valuation Area | |
| MaterialGroup | MaterialGroup | Product Group | ||
| Material | Material | Vehicle Model | ||
| MRPRelevantMaterial | MRPRelevantMaterial | |||
| MaterialClassification | MaterialClassification | |||
| AccountAssignmentCategory | AccountAssignmentCategory | Acct Assgmt Cat | ||
| POIncotermsClassification | POIncotermsClassification | |||
| POIncotermsTransferLocation | POIncotermsTransferLocation | |||
| POIncotermsLocation1 | POIncotermsLocation1 | |||
| POIncotermsLocation2 | POIncotermsLocation2 | |||
| ItemIncotermsClassification | ItemIncotermsClassification | |||
| ItemIncotermsTransferLocation | ItemIncotermsTransferLocation | |||
| ItemIncotermsLocation1 | ItemIncotermsLocation1 | |||
| ItemIncotermsLocation2 | ItemIncotermsLocation2 | |||
| ScheduleLineOrderQuantity | ScheduleLineOrderQuantity | Scheduled Qty | ||
| PurchaseOrderQuantityUnit | PurchaseOrderQuantityUnit | Order Unit | ||
| SchedLineStscDeliveryDate | SchedLineStscDeliveryDate | Stat. Del. Date | ||
| ExpectedNoOfDays | ExpectedNoOfDays | |||
| ActualNoOfDays | ActualNoOfDays | |||
| DelayInNoOfDays | DelayInNoOfDays | |||
| DeliveryBehavior | DeliveryBehavior | |||
| LastPostingDateOfMaterialDoc | LastPostingDateOfMaterialDoc | |||
| SupplierPlant | SupplierPlant | Plant | ||
| WeekNumber | CalendarWeek | Calendar Week | ||
| PreviousWeekNumber | PreviousWeek | |||
| CreatedMonth | CalendarMonth | Calendar Month | ||
| PreviousMonthNumber | PreviousMonth | |||
| GoodsReceiptMaterialDocYear | GoodsReceiptMaterialDocYear | Year | ||
| diff_create | diff_create | |||
| PreviousWeek | PreviousWeek | |||
| prev_w_count | _FeatureEnggData | prev_w_count | ||
| PreviousMonth | PreviousMonth | |||
| prev_m_count | _FeatureEnggData | prev_m_count | ||
| diff_w_count | _FeatureEnggData | diff_w_count | ||
| diff_m_count | _FeatureEnggData | diff_m_count | ||
| _PurchaseOrder | _PurchaseOrder | |||
| _PurchaseOrderItem | _PurchaseOrderItem | |||
| _ScheduleLine | _ScheduleLine |
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_SuplrDelivPredictTrngData1.
-- 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: PSUPLRDELTRNGDT
CREATE VIEW P_SuplrDelivPredictTrngData1 AS
SELECT
PurchaseOrder,
PurchaseOrderItem,
ClosedScheduleLines.ScheduleLine AS ScheduleLine,
PurchaseOrderDate,
PurchaseOrderItemQty,
LastPostingDate,
ClosedScheduleLines.Supplier AS Supplier,
SupplyingPlant,
ClosedScheduleLines.Plant AS Plant,
MaterialGroup,
Material,
MRPRelevantMaterial,
MaterialClassification,
AccountAssignmentCategory,
POIncotermsClassification,
POIncotermsTransferLocation,
POIncotermsLocation1,
POIncotermsLocation2,
ItemIncotermsClassification,
ItemIncotermsTransferLocation,
ItemIncotermsLocation1,
ItemIncotermsLocation2,
ScheduleLineOrderQuantity,
PurchaseOrderQuantityUnit,
SchedLineStscDeliveryDate,
ExpectedNoOfDays,
ActualNoOfDays,
DelayInNoOfDays,
DeliveryBehavior,
LastPostingDateOfMaterialDoc,
SupplierPlant,
CalendarWeek AS WeekNumber,
PreviousWeek AS PreviousWeekNumber,
CalendarMonth AS CreatedMonth,
PreviousMonth AS PreviousMonthNumber,
GoodsReceiptMaterialDocYear,
diff_create,
PreviousWeek,
_FeatureEnggData.prev_w_count AS prev_w_count,
PreviousMonth,
_FeatureEnggData.prev_m_count AS prev_m_count,
_FeatureEnggData.diff_w_count AS diff_w_count,
_FeatureEnggData.diff_m_count AS diff_m_count
FROM P_POItemClsdSchedLinesCalc AS ClosedScheduleLines
LEFT OUTER JOIN P_POItmSchedLineCalcdFeatures AS _FeatureEnggData ON PurchaseOrder = _FeatureEnggData.PurchaseOrder AND PurchaseOrderItem = _FeatureEnggData.PurchaseOrderItem AND ClosedScheduleLines.ScheduleLine = _FeatureEnggData.ScheduleLine -- association [1..1]
LEFT OUTER JOIN I_PurchaseOrder AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder -- association [1..1]
LEFT OUTER JOIN I_PurchaseOrderItem AS _PurchaseOrderItem ON PurchaseOrder = _PurchaseOrderItem.PurchaseOrder AND PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem -- association [1..1]
LEFT OUTER JOIN I_PurgDocScheduleLine AS _ScheduleLine ON PurchaseOrder = _ScheduleLine.PurchasingDocument AND PurchaseOrderItem = _ScheduleLine.PurchasingDocumentItem AND ClosedScheduleLines.ScheduleLine = _ScheduleLine.ScheduleLine -- association [1..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