P_ProcOrdMgmtOperationBasic

DDL: P_PROCORDMGMTOPERATIONBASIC SQL: PPROCORDOPBASIC Type: view COMPOSITE

P_ProcOrdMgmtOperationBasic is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_OrderOperationBasic, I_MfgOrderBasic) and exposes 29 fields with key fields OrderInternalID, OrderOperationInternalID. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_OrderOperationBasic afvc from
I_MfgOrderBasic aufv inner

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_WorkCenter _WorkCenter $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID and _WorkCenter.WorkCenterTypeCode = 'A'

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PPROCORDOPBASIC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #CLIENT_DEPENDENT view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY OrderInternalID I_OrderOperationBasic OrderInternalID Plan No.f.Oper.
KEY OrderOperationInternalID OrderOperationInternalID Plan No.f.Oper.
ProcessOrder I_MfgOrderBasic ManufacturingOrder Order
ManufacturingOrderCategory I_MfgOrderBasic ManufacturingOrderCategory Order Category
ProductionPlant I_MfgOrderBasic ProductionPlant Prod plnt
ProductionSupervisor I_MfgOrderBasic ProductionSupervisor Prodn Supervisor
Sequence Sequence Visit Sequence
Operation Operation Transaction
StandardTextInternalID StandardTextInternalID Std Text Key
OperationText OperationText Description
Language Language Report Text Language
BillOfOperationsSequence BillOfOperationsSequence Sequence
BillOfOperationsType I_OrderOperationBasic BillOfOperationsType Task List Type
BillOfOperationsGroup I_OrderOperationBasic BillOfOperationsGroup Group
BillOfOperationsVariant I_OrderOperationBasic BillOfOperationsVariant Group Counter
BOOOperationInternalID BOOOperationInternalID Task list node
BillOfOperationsVersion I_OrderOperationBasic BillOfOperationsVersion Routing Version
SuperiorOperationInternalID SuperiorOperationInternalID Sup. Op. Node
OperationControlProfile OperationControlProfile Control Key
WorkCenterInternalID WorkCenterInternalID Work Center
WorkCenterTypeCode WorkCenterTypeCode Object Type
WorkCenter _WorkCenter WorkCenter Work Center
WorkCenterText
Plant Plant Valuation Area
ObjectInternalID I_OrderOperationBasic ObjectInternalID Object number
MfgOrderOperationIsPhase MfgOrderOperationIsPhase Ind.: Phase
_OrderInternalID _OrderInternalID
OrderIntBillOfOpItemOfPhase OrderIntBillOfOpItemOfPhase Node
_WorkCenter _WorkCenter

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_ProcOrdMgmtOperationBasic.
-- 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: PPROCORDOPBASIC

CREATE VIEW P_ProcOrdMgmtOperationBasic AS
SELECT
  afvc.OrderInternalID AS OrderInternalID,
  OrderOperationInternalID,
  aufv.ManufacturingOrder AS ProcessOrder,
  aufv.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  aufv.ProductionPlant AS ProductionPlant,
  aufv.ProductionSupervisor AS ProductionSupervisor,
  Sequence,
  Operation,
  StandardTextInternalID,
  OperationText,
  Language,
  BillOfOperationsSequence,
  afvc.BillOfOperationsType AS BillOfOperationsType,
  afvc.BillOfOperationsGroup AS BillOfOperationsGroup,
  afvc.BillOfOperationsVariant AS BillOfOperationsVariant,
  BOOOperationInternalID,
  afvc.BillOfOperationsVersion AS BillOfOperationsVersion,
  SuperiorOperationInternalID,
  OperationControlProfile,
  WorkCenterInternalID,
  WorkCenterTypeCode,
  _WorkCenter.WorkCenter AS WorkCenter,
  _WorkCenter._Text[1: Language=$session.system_language].WorkCenterText AS WorkCenterText,
  Plant,
  afvc.ObjectInternalID AS ObjectInternalID,
  MfgOrderOperationIsPhase,
  OrderIntBillOfOpItemOfPhase
FROM I_OrderOperationBasic AS afvc
INNER JOIN I_MfgOrderBasic AS aufv ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON WorkCenterInternalID = _WorkCenter.WorkCenterInternalID AND _WorkCenter.WorkCenterTypeCode = 'A'  -- association [0..1]
;