R_POItemNextDeliveryCalc

DDL: R_POITEMNEXTDELIVERYCALC SQL: RPONXTDLVRY Type: view COMPOSITE

PO Item Next Delivery Calculation

R_POItemNextDeliveryCalc is a Composite CDS View that provides data about "PO Item Next Delivery Calculation" in SAP S/4HANA. It reads from 1 data source (P_POItemNextDeliveryCalc2) and exposes 6 fields with key fields PurchaseOrder, PurchaseOrderItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_POItemNextDeliveryCalc2 P_POItemNextDeliveryCalc2 from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_PurchaseOrderScheduleLine _ScheduleLine _ScheduleLine.PurchaseOrder = $projection.PurchaseOrder and _ScheduleLine.PurchaseOrderItem = $projection.PurchaseOrderItem and _ScheduleLine.ScheduleLine = $projection.ScheduleLine

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName RPONXTDLVRY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label PO Item Next Delivery Calculation view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
ScheduleLine ScheduleLine Schedule Line
ScheduleLineDeliveryDate ScheduleLineDeliveryDate Delivery Date
ScheduleLineOpenQuantity
_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 R_POItemNextDeliveryCalc.
-- 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: RPONXTDLVRY

CREATE VIEW R_POItemNextDeliveryCalc AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  ScheduleLine,
  ScheduleLineDeliveryDate,
  cast(_ScheduleLine.OpenPurchaseOrderQuantity as abap.quan(13,3)) AS ScheduleLineOpenQuantity
FROM P_POItemNextDeliveryCalc2
LEFT OUTER JOIN I_PurchaseOrderScheduleLine AS _ScheduleLine ON _ScheduleLine.PurchaseOrder = PurchaseOrder AND _ScheduleLine.PurchaseOrderItem = PurchaseOrderItem AND _ScheduleLine.ScheduleLine = ScheduleLine  -- association [1..1]
;