P_PurOrdNextSchdLn

DDL: P_PURORDNEXTSCHDLN SQL: PNEXTSCHDLN Type: view CONSUMPTION

Next Delivery Calculations

P_PurOrdNextSchdLn is a Consumption CDS View that provides data about "Next Delivery Calculations" in SAP S/4HANA. It reads from 3 data sources (I_PurchaseOrderItem, P_PurOrdNextSchdLnCal, I_PurchaseOrderScheduleLine) and exposes 4 fields with key fields PurchaseOrder, PurchaseOrderItem.

Data Sources (3)

SourceAliasJoin Type
I_PurchaseOrderItem _PurchaseOrderItem inner
P_PurOrdNextSchdLnCal NextScheduleLine from
I_PurchaseOrderScheduleLine ScheduleLine inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PNEXTSCHDLN view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Next Delivery Calculations view
VDM.viewType #CONSUMPTION view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder P_PurOrdNextSchdLnCal PurchaseOrder Purchasing Document
KEY PurchaseOrderItem P_PurOrdNextSchdLnCal PurchaseOrderItem Purchasing Document Item
ScheduleLine P_PurOrdNextSchdLnCal ScheduleLine Schedule Line
PurchaseOrderQuantityUnit I_PurchaseOrderScheduleLine PurchaseOrderQuantityUnit Order Unit

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_PurOrdNextSchdLn.
-- 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: PNEXTSCHDLN

CREATE VIEW P_PurOrdNextSchdLn AS
SELECT
  NextScheduleLine.PurchaseOrder AS PurchaseOrder,
  NextScheduleLine.PurchaseOrderItem AS PurchaseOrderItem,
  NextScheduleLine.ScheduleLine AS ScheduleLine,
  ScheduleLine.PurchaseOrderQuantityUnit AS PurchaseOrderQuantityUnit
FROM P_PurOrdNextSchdLnCal AS NextScheduleLine
INNER JOIN I_PurchaseOrderItem AS _PurchaseOrderItem ON /* join condition not captured in parsed metadata */
INNER JOIN I_PurchaseOrderScheduleLine AS ScheduleLine ON /* join condition not captured in parsed metadata */
;