I_ProcOrdMgmtOperation

DDL: I_PROCORDMGMTOPERATION SQL: IPROCORDMGMTOP Type: view COMPOSITE Package: VDM_PP_PROC_ORD_MNG

Process Order Operations

I_ProcOrdMgmtOperation is a Composite CDS View that provides data about "Process Order Operations" in SAP S/4HANA. It reads from 1 data source (I_ProcOrdMgmtOperationCalc) and exposes 58 fields with key fields OrderInternalBillOfOperations, OrderIntBillOfOperationsItem. It has 2 associations to related views. Part of development package VDM_PP_PROC_ORD_MNG.

Data Sources (1)

SourceAliasJoin Type
I_ProcOrdMgmtOperationCalc I_ProcOrdMgmtOperationCalc from

Associations (2)

CardinalityTargetAliasCondition
[1..1] E_ProcessOrderOperation _Extension $projection.OrderInternalBillOfOperations = _Extension.OrderInternalID and $projection.OrderIntBillOfOperationsItem = _Extension.OrderOperationInternalID -- to phases
[0..*] I_ProcOrdMgmtOpPhase _ProcOrdMgmtOpPhase

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPROCORDMGMTOP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Process Order Operations view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (58)

KeyFieldSource TableSource FieldDescription
KEY OrderInternalBillOfOperations OrderInternalBillOfOperations Order Internal Bill of Operations
KEY OrderIntBillOfOperationsItem OrderIntBillOfOperationsItem Order Internal Bill of Operations Item
ProcessOrder ManufacturingOrder Order
ManufacturingOrderOperation ManufacturingOrderOperation Activity
ManufacturingOrderType ManufacturingOrderType
ManufacturingOrderCategory ManufacturingOrderCategory
ProductionPlant ProductionPlant Prod plnt
ProductionSupervisor ProductionSupervisor Prodn Supervisor
OperationText OperationText Description
PlantTimeZone PlantTimeZone Time Zone
ManufacturingOrderSubOperation ManufacturingOrderSubOperation
MfgOrderOperationText MfgOrderOperationText
NumberOfPhasesDisplayed NumberOfPhasesDisplayed
MfgOrderOperationIsPhase MfgOrderOperationIsPhase
MfgOrderPhaseSuperiorOperation MfgOrderPhaseSuperiorOperation
OperationIsCreated OperationIsCreated
OperationIsReleased OperationIsReleased
OperationIsPartiallyConfirmed OperationIsPartiallyConfirmed
OperationIsConfirmed OperationIsConfirmed
OperationIsInterrupted OperationIsInterrupted
ProcOrdOpStatusCode ProcOrdOpStatusCode
ProcOrdOpStatusText ProcOrdOpStatusText
WorkCenterInternalID WorkCenterInternalID Work Center
WorkCenterTypeCode WorkCenterTypeCode Work Center Type Code
WorkCenter WorkCenter Work Center
WorkCenterText WorkCenterText Work Center Text
CapacityInternalID CapacityInternalID Capacity ID
CapacityCategoryAllocation CapacityCategoryAllocation
OpLtstSchedldExecStrtDte OpLtstSchedldExecStrtDte Latest start
OpLtstSchedldExecStrtTme OpLtstSchedldExecStrtTme
ProcOrdOpSchedldStartDateTime ProcOrdOpSchedldStartDateTime
OpLtstSchedldExecEndDte OpLtstSchedldExecEndDte Lat.finish date
OpLtstSchedldExecEndTme OpLtstSchedldExecEndTme
ProcOrdOpSchedldEndDateTime ProcOrdOpSchedldEndDateTime
OpActualExecutionStartDate OpActualExecutionStartDate Actual Execution Start Date
OpActualExecutionStartTime OpActualExecutionStartTime Actual Execution Start Time
ProcOrdOpActualStartDateTime ProcOrdOpActualStartDateTime
OpActualExecutionEndDate OpActualExecutionEndDate Actual Execution End Date
OpActualExecutionEndTime OpActualExecutionEndTime Actual Execution End Time
ProcOrdOpActualEndDateTime ProcOrdOpActualEndDateTime
OperationExecutionStartIsLate OperationExecutionStartIsLate
OperationExecutionEndIsLate OperationExecutionEndIsLate
PlannedDuration
ActualDuration
OperationUnit OperationUnit Act/op UoM
OpPlannedTotalQuantity OpPlannedTotalQuantity
OpTotalConfirmedYieldQty OpTotalConfirmedYieldQty
OpPlannedYieldQuantity OpPlannedYieldQuantity
MfgOrderActualStartDateCritlty MfgOrderActualStartDateCritlty
MfgOrdActualEndDateCriticality MfgOrdActualEndDateCriticality
TotNmbrOfProcOrdOpConfdPhases TotNmbrOfProcOrdOpConfdPhases
TotNmbrOfProcOrdOpPhases TotNmbrOfProcOrdOpPhases
ProcOrdOpProgressPercent
OrderIntBillOfOpItemOfPhase OrderIntBillOfOpItemOfPhase
NmbrOfInterruptedProcOrdPhases 0
NumberOfResources NumberOfResources
_ProcOrdMgmt _ProcOrdMgmt
_ProcOrdMgmtOpPhase _ProcOrdMgmtOpPhase

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 I_ProcOrdMgmtOperation.
-- 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: IPROCORDMGMTOP

CREATE VIEW I_ProcOrdMgmtOperation AS
SELECT
  OrderInternalBillOfOperations,
  OrderIntBillOfOperationsItem,
  ManufacturingOrder AS ProcessOrder,
  ManufacturingOrderOperation,
  ManufacturingOrderType,
  ManufacturingOrderCategory,
  ProductionPlant,
  ProductionSupervisor,
  OperationText,
  PlantTimeZone,
  ManufacturingOrderSubOperation,
  MfgOrderOperationText,
  NumberOfPhasesDisplayed,
  MfgOrderOperationIsPhase,
  MfgOrderPhaseSuperiorOperation,
  OperationIsCreated,
  OperationIsReleased,
  OperationIsPartiallyConfirmed,
  OperationIsConfirmed,
  OperationIsInterrupted,
  ProcOrdOpStatusCode,
  ProcOrdOpStatusText,
  WorkCenterInternalID,
  WorkCenterTypeCode,
  WorkCenter,
  WorkCenterText,
  CapacityInternalID,
  CapacityCategoryAllocation,
  OpLtstSchedldExecStrtDte,
  OpLtstSchedldExecStrtTme,
  ProcOrdOpSchedldStartDateTime,
  OpLtstSchedldExecEndDte,
  OpLtstSchedldExecEndTme,
  ProcOrdOpSchedldEndDateTime,
  OpActualExecutionStartDate,
  OpActualExecutionStartTime,
  ProcOrdOpActualStartDateTime,
  OpActualExecutionEndDate,
  OpActualExecutionEndTime,
  ProcOrdOpActualEndDateTime,
  OperationExecutionStartIsLate,
  OperationExecutionEndIsLate,
  division(tstmp_seconds_between(ProcOrdOpSchedldStartDateTime, ProcOrdOpSchedldEndDateTime, 'INITIAL'), 3600, 2) AS PlannedDuration,
  division(tstmp_seconds_between(ProcOrdOpActualStartDateTime, ProcOrdOpActualEndDateTime, 'INITIAL'), 3600, 2) AS ActualDuration,
  OperationUnit,
  OpPlannedTotalQuantity,
  OpTotalConfirmedYieldQty,
  OpPlannedYieldQuantity,
  MfgOrderActualStartDateCritlty,
  MfgOrdActualEndDateCriticality,
  TotNmbrOfProcOrdOpConfdPhases,
  TotNmbrOfProcOrdOpPhases,
  '000' AS ProcOrdOpProgressPercent,
  OrderIntBillOfOpItemOfPhase,
  0 AS NmbrOfInterruptedProcOrdPhases,
  NumberOfResources
FROM I_ProcOrdMgmtOperationCalc
LEFT OUTER JOIN E_ProcessOrderOperation AS _Extension ON OrderInternalBillOfOperations = _Extension.OrderInternalID AND OrderIntBillOfOperationsItem = _Extension.OrderOperationInternalID  -- association [1..1]
LEFT OUTER JOIN I_ProcOrdMgmtOpPhase AS _ProcOrdMgmtOpPhase ON /* condition not available in parsed metadata */  -- association [0..*]
;