P_ProcOrdAORList

DDL: P_PROCORDAORLIST Type: view_entity COMPOSITE Package: VDM_PP_PROC_ORD_MNG

Process Orders for AOR

P_ProcOrdAORList is a Composite CDS View that provides data about "Process Orders for AOR" in SAP S/4HANA. It reads from 5 data sources (I_OrderOperationBasic, I_LogisticsOrder, I_LogisticsOrder, I_PPAreaOfResponsibility, I_PPAreaOfResponsibility) and exposes 17 fields with key field OrderID. Part of development package VDM_PP_PROC_ORD_MNG.

Data Sources (5)

SourceAliasJoin Type
I_OrderOperationBasic _OrderOperBasic inner
I_LogisticsOrder _Orders inner
I_LogisticsOrder _OrdersBasic inner
I_PPAreaOfResponsibility AOR1 from
I_PPAreaOfResponsibility AOR2 union_all

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Process Orders for AOR view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY OrderID I_LogisticsOrder OrderID Order ID
OrderInternalID I_LogisticsOrder OrderInternalBillOfOperations Order Internal Bill of Operations
OrderType I_LogisticsOrder OrderType Order Type
Plant I_LogisticsOrder Plant Valuation Area
ProductionSupervisor I_LogisticsOrder ProductionSupervisor Prodn Supervisor
ProcessOrderObjectNumber I_LogisticsOrder ObjectInternalID Object number
ScheduledBasicStartDate I_LogisticsOrder ScheduledBasicStartDate Sched. start
ScheduledBasicEndDate I_LogisticsOrder ScheduledBasicEndDate Sched. finish
OrderID Order ID
OrderInternalID I_LogisticsOrder OrderInternalBillOfOperations Order Internal Bill of Operations
OrderType I_LogisticsOrder OrderType Order Type
Plant I_LogisticsOrder Plant Valuation Area
ProductionSupervisor I_LogisticsOrder ProductionSupervisor Prodn Supervisor
ProcessOrderObjectNumber I_LogisticsOrder ObjectInternalID Object number
ScheduledBasicStartDate I_LogisticsOrder ScheduledBasicStartDate Sched. start
ScheduledBasicEndDate I_LogisticsOrder ScheduledBasicEndDate Sched. finish
WorkCenterInternalID I_OrderOperationBasic WorkCenterInternalID Work Center

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_ProcOrdAORList.
-- 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.

CREATE VIEW P_ProcOrdAORList AS
SELECT
  _Orders.OrderID AS OrderID,
  _Orders.OrderInternalBillOfOperations AS OrderInternalID,
  _Orders.OrderType AS OrderType,
  _Orders.Plant AS Plant,
  _Orders.ProductionSupervisor AS ProductionSupervisor,
  _Orders.ObjectInternalID AS ProcessOrderObjectNumber,
  _Orders.ScheduledBasicStartDate AS ScheduledBasicStartDate,
  _Orders.ScheduledBasicEndDate AS ScheduledBasicEndDate,
  _OrderOperBasic.WorkCenterInternalID AS WorkCenterInternalID
FROM I_PPAreaOfResponsibility AS AOR1
INNER JOIN I_LogisticsOrder AS _Orders ON /* join condition not captured in parsed metadata */
INNER JOIN I_OrderOperationBasic AS _OrderOperBasic ON /* join condition not captured in parsed metadata */
INNER JOIN I_LogisticsOrder AS _OrdersBasic ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_PPAreaOfResponsibility
;