P_PurOrdOpnScheduleLine

DDL: P_PURORDOPNSCHEDULELINE SQL: PPOITMSCHLN Type: view CONSUMPTION Package: ODATA_MM_PUR_POITEMS_MONI

Purchase Order Next Delivery Details

P_PurOrdOpnScheduleLine is a Consumption CDS View that provides data about "Purchase Order Next Delivery Details" in SAP S/4HANA. It reads from 2 data sources (I_PurOrdScheduleLineEnhanced, I_PurgAnalyticsConfiguration) and exposes 6 fields with key fields PurchaseOrder, PurchaseOrderItem. Part of development package ODATA_MM_PUR_POITEMS_MONI.

Data Sources (2)

SourceAliasJoin Type
I_PurOrdScheduleLineEnhanced I_PurOrdScheduleLineEnhanced inner
I_PurgAnalyticsConfiguration MigrationStatus from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PPOITMSCHLN view
VDM.viewType #CONSUMPTION view
VDM.private true view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Purchase Order Next Delivery Details view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
ScheduleLine
PurchasingOrganization PurchasingOrganization Purchasing Organization
ScheduleLineDeliveryDate ScheduleLineDeliveryDate Delivery Date
ScheduleLineOpenQuantity

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_PurOrdOpnScheduleLine.
-- 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: PPOITMSCHLN

CREATE VIEW P_PurOrdOpnScheduleLine AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  max(ScheduleLine) AS ScheduleLine,
  PurchasingOrganization,
  ScheduleLineDeliveryDate,
  sum(ScheduleLineOpenQuantity) AS ScheduleLineOpenQuantity
FROM I_PurgAnalyticsConfiguration AS MigrationStatus
INNER JOIN I_PurOrdScheduleLineEnhanced ON /* join condition not captured in parsed metadata */
;