P_SuplrDelivPredictionTrngData

DDL: P_SUPLRDELIVPREDICTIONTRNGDATA SQL: PSUPLRPREDTRNG Type: view CONSUMPTION Package: APPL_MM_PUR_DLVPRED_ML

Supplier Delivery Prediction-Quantity Dimension

P_SuplrDelivPredictionTrngData is a Consumption CDS View that provides data about "Supplier Delivery Prediction-Quantity Dimension" in SAP S/4HANA. It reads from 1 data source (P_SUPLRDELIVPREDDATAFETCH) and exposes 44 fields with key fields PurchaseOrder, PurchaseOrderItem, ScheduleLine. Part of development package APPL_MM_PUR_DLVPRED_ML.

Data Sources (1)

SourceAliasJoin Type
P_SUPLRDELIVPREDDATAFETCH P_SUPLRDELIVPREDDATAFETCH from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PSUPLRPREDTRNG 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)

KeyFieldSource TableSource FieldDescription
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 MaterialBaseUnit Valuation Unit
UnitOfMeasureDimension UnitOfMeasureDimension Dimension
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
PreviousWeekNumber PreviousWeekNumber
CreatedMonth CreatedMonth
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_SuplrDelivPredictionTrngData.
-- 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: PSUPLRPREDTRNG

CREATE VIEW P_SuplrDelivPredictionTrngData AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  ScheduleLine,
  PurchaseOrderDate,
  PurchaseOrderItemQty,
  Supplier,
  SupplyingPlant,
  Plant,
  MaterialGroup,
  Material,
  MaterialBaseUnit,
  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_SUPLRDELIVPREDDATAFETCH
;