P_PurOrdSingleScheduleLineHlp2

DDL: P_PURORDSINGLESCHEDULELINEHLP2 SQL: PMMPURORDSSHLP2 Type: view COMPOSITE

P_PurOrdSingleScheduleLineHlp2 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_PurgDocScheduleLine, P_PurOrdSingleScheduleLineHlp1) and exposes 4 fields with key fields PurchasingDocument, PurchasingDocumentItem, ScheduleLineDeliveryDate.

Data Sources (2)

SourceAliasJoin Type
I_PurgDocScheduleLine I_PurgDocScheduleLine inner
P_PurOrdSingleScheduleLineHlp1 P_PurOrdSingleScheduleLineHlp1 from

Annotations (7)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
VDM.private true view
AbapCatalog.sqlViewName PMMPURORDSSHLP2 view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocument I_PurgDocScheduleLine PurchasingDocument Purchasing Document
KEY PurchasingDocumentItem I_PurgDocScheduleLine PurchasingDocumentItem Purchasing Doc. Item
KEY ScheduleLineDeliveryDate I_PurgDocScheduleLine ScheduleLineDeliveryDate Delivery Date
ScheduleLineDeliveryTime

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_PurOrdSingleScheduleLineHlp2.
-- 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: PMMPURORDSSHLP2

CREATE VIEW P_PurOrdSingleScheduleLineHlp2 AS
SELECT
  I_PurgDocScheduleLine.PurchasingDocument AS PurchasingDocument,
  I_PurgDocScheduleLine.PurchasingDocumentItem AS PurchasingDocumentItem,
  I_PurgDocScheduleLine.ScheduleLineDeliveryDate AS ScheduleLineDeliveryDate,
  min( I_PurgDocScheduleLine.ScheduleLineDeliveryTime ) AS ScheduleLineDeliveryTime
FROM P_PurOrdSingleScheduleLineHlp1
INNER JOIN I_PurgDocScheduleLine ON /* join condition not captured in parsed metadata */
;