P_PurOrdNextSchdLnCal

DDL: P_PURORDNEXTSCHDLNCAL SQL: PNEXTSCHDLNCAL Type: view CONSUMPTION

Next Delivery Calculations

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

Data Sources (2)

SourceAliasJoin Type
P_PurOrdNextSchdLnCal1 NextScheduleLine from
I_PurchaseOrderScheduleLine ScheduleLine inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PNEXTSCHDLNCAL 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 (3)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder P_PurOrdNextSchdLnCal1 PurchaseOrder Purchasing Document
KEY PurchaseOrderItem P_PurOrdNextSchdLnCal1 PurchaseOrderItem Purchasing Document Item
KEY 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 P_PurOrdNextSchdLnCal.
-- 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: PNEXTSCHDLNCAL

CREATE VIEW P_PurOrdNextSchdLnCal AS
SELECT
  NextScheduleLine.PurchaseOrder AS PurchaseOrder,
  NextScheduleLine.PurchaseOrderItem AS PurchaseOrderItem,
  min(ScheduleLine.ScheduleLine ) AS ScheduleLine
FROM P_PurOrdNextSchdLnCal1 AS NextScheduleLine
INNER JOIN I_PurchaseOrderScheduleLine AS ScheduleLine ON /* join condition not captured in parsed metadata */
;