P_POItemDeliveryDuration

DDL: P_POITEMDELIVERYDURATION SQL: PPOIDELDUR Type: view CONSUMPTION

Delivery Duration for Next Delivery Date

P_POItemDeliveryDuration is a Consumption CDS View that provides data about "Delivery Duration for Next Delivery Date" in SAP S/4HANA. It reads from 1 data source (I_PurchaseOrderScheduleLine) and exposes 9 fields with key fields PurchaseOrder, PurchaseOrderItem, ScheduleLine.

Data Sources (1)

SourceAliasJoin Type
I_PurchaseOrderScheduleLine I_PurchaseOrderScheduleLine from

Parameters (1)

NameTypeDefault
P_Date sydatum

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PPOIDELDUR view
VDM.private true view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Delivery Duration for Next Delivery Date view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
KEY ScheduleLine ScheduleLine Schedule Line
ScheduleLineDeliveryDate ScheduleLineDeliveryDate Delivery Date
ScheduleLineOrderQuantity ScheduleLineOrderQuantity Scheduled Qty
RoughGoodsReceiptQty RoughGoodsReceiptQty Delivered
OpenPurchaseOrderQuantity OpenPurchaseOrderQuantity Open Purchase Order Quantity
PurchaseOrderQuantityUnit PurchaseOrderQuantityUnit Order Unit
_PurchaseOrderItem _PurchaseOrderItem

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_POItemDeliveryDuration.
-- 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: PPOIDELDUR
-- Parameters: P_Date : sydatum

CREATE VIEW P_POItemDeliveryDuration AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  ScheduleLine,
  ScheduleLineDeliveryDate,
  ScheduleLineOrderQuantity,
  RoughGoodsReceiptQty,
  OpenPurchaseOrderQuantity,
  PurchaseOrderQuantityUnit
FROM I_PurchaseOrderScheduleLine
;