P_SupplierDeliveryPrediction
P_SupplierDeliveryPrediction is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_SuplrDelivPredictTrngData1) and exposes 44 fields with key fields PurchaseOrder, PurchaseOrderItem, ScheduleLine. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_SuplrDelivPredictTrngData1 | P_SuplrDelivPredictTrngData1 | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSUPLRDELPRED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | PurchaseOrder | Purchasing Document | |
| KEY | PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | |
| KEY | ScheduleLine | ScheduleLine | Schedule Line | |
| PurchaseOrderDate | PurchaseOrderDate | PO Date | ||
| PurchaseOrderItemQty | PurchaseOrderItemQty | |||
| Supplier | Supplier | Supplier | ||
| SupplyingPlant | SupplyingPlant | Supplying Plant | ||
| Plant | Plant | Valuation Area | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| Material | Material | Vehicle Model | ||
| MaterialBaseUnit | _Material | MaterialBaseUnit | Valuation Unit | |
| UnitOfMeasureDimension | ||||
| 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 | WeekNumber | Calendar Week | ||
| PreviousWeekNumber | PreviousWeekNumber | |||
| CreatedMonth | CreatedMonth | Calendar Month | ||
| PreviousMonthNumber | PreviousMonthNumber | |||
| GoodsReceiptMaterialDocYear | GoodsReceiptMaterialDocYear | |||
| diff_create | diff_create | |||
| PreviousWeek | PreviousWeek | |||
| prev_w_count | prev_w_count | |||
| PreviousMonth | PreviousMonth | |||
| prev_m_count | prev_m_count | |||
| diff_w_count | diff_w_count | |||
| diff_m_count | diff_m_count |
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_SupplierDeliveryPrediction.
-- 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: PSUPLRDELPRED
CREATE VIEW P_SupplierDeliveryPrediction AS
SELECT
PurchaseOrder,
PurchaseOrderItem,
ScheduleLine,
PurchaseOrderDate,
PurchaseOrderItemQty,
Supplier,
SupplyingPlant,
Plant,
MaterialGroup,
Material,
_Material.MaterialBaseUnit AS MaterialBaseUnit,
_Material._BaseUnit.UnitOfMeasureDimension AS UnitOfMeasureDimension,
MRPRelevantMaterial,
MaterialClassification,
AccountAssignmentCategory,
POIncotermsClassification,
POIncotermsTransferLocation,
POIncotermsLocation1,
POIncotermsLocation2,
ItemIncotermsClassification,
ItemIncotermsTransferLocation,
ItemIncotermsLocation1,
ItemIncotermsLocation2,
ScheduleLineOrderQuantity,
PurchaseOrderQuantityUnit,
SchedLineStscDeliveryDate,
ExpectedNoOfDays,
ActualNoOfDays,
DelayInNoOfDays,
DeliveryBehavior,
LastPostingDateOfMaterialDoc,
SupplierPlant,
WeekNumber,
PreviousWeekNumber,
CreatedMonth,
PreviousMonthNumber,
GoodsReceiptMaterialDocYear,
diff_create,
PreviousWeek,
prev_w_count,
PreviousMonth,
prev_m_count,
diff_w_count,
diff_m_count
FROM P_SuplrDelivPredictTrngData1
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- 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