P_PurOrdItemNextDeliveryCalc

DDL: P_PURORDITEMNEXTDELIVERYCALC SQL: PPOITMNXTDLVRY Type: view CONSUMPTION

Next Delivery Calculation

P_PurOrdItemNextDeliveryCalc is a Consumption CDS View that provides data about "Next Delivery Calculation" in SAP S/4HANA. It reads from 4 data sources (I_PurgAnalyticsConfiguration, I_PurgAnalyticsConfiguration, R_POItemEnhcdNextDeliveryCalc, R_POItemNextDeliveryCalc) and exposes 8 fields with key fields PurchaseOrder, PurchaseOrderItem, PurchaseOrderItem.

Data Sources (4)

SourceAliasJoin Type
I_PurgAnalyticsConfiguration MigrationStatus from
I_PurgAnalyticsConfiguration MigrationStatus union_all
R_POItemEnhcdNextDeliveryCalc R_POItemEnhcdNextDeliveryCalc inner
R_POItemNextDeliveryCalc R_POItemNextDeliveryCalc inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PPOITMNXTDLVRY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.private true view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Next Delivery Calculation view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
ScheduleLine ScheduleLine Schedule Line
ScheduleLineDeliveryDate ScheduleLineDeliveryDate Delivery Date
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
ScheduleLine ScheduleLine Schedule Line
ScheduleLineDeliveryDate ScheduleLineDeliveryDate Delivery Date
ScheduleLineOpenQuantity ScheduleLineOpenQuantity SchLineOpenQuan

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_PurOrdItemNextDeliveryCalc.
-- 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: PPOITMNXTDLVRY

CREATE VIEW P_PurOrdItemNextDeliveryCalc AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  ScheduleLine,
  ScheduleLineDeliveryDate,
  ScheduleLineOpenQuantity
FROM I_PurgAnalyticsConfiguration AS MigrationStatus
INNER JOIN R_POItemEnhcdNextDeliveryCalc ON /* join condition not captured in parsed metadata */
INNER JOIN R_POItemNextDeliveryCalc ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_PurgAnalyticsConfiguration
;