I_ProcOrdMgmtOpPhase

DDL: I_PROCORDMGMTOPPHASE SQL: IPROCORDMGMTPHS Type: view COMPOSITE Package: VDM_PP_PROC_ORD_MNG

Process Order Operation Phase

I_ProcOrdMgmtOpPhase is a Composite CDS View that provides data about "Process Order Operation Phase" in SAP S/4HANA. It reads from 1 data source (I_ProcOrdMgmtOperationCalc) and exposes 49 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
[0..1] P_ProcOrdOpLatestConf _ConfDetails $projection.OrderInternalBillOfOperations = _ConfDetails.OrderInternalBillOfOperations and $projection.OrderIntBillOfOperationsItem = _ConfDetails.OrderIntBillOfOperationsItem
[1..1] E_ProcessOrderOperation _Extension $projection.OrderInternalBillOfOperations = _Extension.OrderInternalID and $projection.OrderIntBillOfOperationsItem = _Extension.OrderOperationInternalID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPROCORDMGMTPHS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Process Order Operation Phase 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 (49)

KeyFieldSource TableSource FieldDescription
KEY OrderInternalBillOfOperations OrderInternalBillOfOperations Order Internal Bill of Operations
KEY OrderIntBillOfOperationsItem OrderIntBillOfOperationsItem Order Internal Bill of Operations Item
ProcessOrder ManufacturingOrder Order
ManufacturingOrderType ManufacturingOrderType
ManufacturingOrderCategory ManufacturingOrderCategory
ProductionPlant ProductionPlant Prod plnt
ProductionSupervisor ProductionSupervisor Prodn Supervisor
ManufacturingOrderOperation ManufacturingOrderOperation Activity
OperationText OperationText Description
ManufacturingOrderSubOperation ManufacturingOrderSubOperation
MfgOrderOperationText MfgOrderOperationText
ManufacturingOrderSequence ManufacturingOrderSequence
MfgOrderOperationIsPhase MfgOrderOperationIsPhase
MfgOrderPhaseSuperiorOperation MfgOrderPhaseSuperiorOperation
OrderOperationInternalID OrderIntBillOfOpItemOfPhase
ProcOrdOpStatusCode ProcOrdOpStatusCode
ProcOrdOpStatusText ProcOrdOpStatusText
WorkCenterInternalID WorkCenterInternalID Work Center
WorkCenterTypeCode WorkCenterTypeCode Work Center Type Code
WorkCenter WorkCenter Work Center
WorkCenterText
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
OperationIsInterrupted OperationIsInterrupted
OrderIntBillOfOpItemOfPhase OrderIntBillOfOpItemOfPhase
VarianceReasonCode _ConfDetails VarianceReasonCode Reason
VarianceReasonName _ConfDetails VarianceReasonName
ConfirmedDateTime _ConfDetails ConfirmedDateTime
_ProcOrdMgmtOp _ProcOrdMgmtOp

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_ProcOrdMgmtOpPhase.
-- 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: IPROCORDMGMTPHS

CREATE VIEW I_ProcOrdMgmtOpPhase AS
SELECT
  OrderInternalBillOfOperations,
  OrderIntBillOfOperationsItem,
  ManufacturingOrder AS ProcessOrder,
  ManufacturingOrderType,
  ManufacturingOrderCategory,
  ProductionPlant,
  ProductionSupervisor,
  ManufacturingOrderOperation,
  OperationText,
  ManufacturingOrderSubOperation,
  MfgOrderOperationText,
  ManufacturingOrderSequence,
  MfgOrderOperationIsPhase,
  MfgOrderPhaseSuperiorOperation,
  OrderIntBillOfOpItemOfPhase AS OrderOperationInternalID,
  ProcOrdOpStatusCode,
  ProcOrdOpStatusText,
  WorkCenterInternalID,
  WorkCenterTypeCode,
  WorkCenter,
  _WorkCenter._Text[1: Language=$session.system_language].WorkCenterText AS WorkCenterText,
  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,
  OperationIsInterrupted,
  OrderIntBillOfOpItemOfPhase,
  _ConfDetails.VarianceReasonCode AS VarianceReasonCode,
  _ConfDetails.VarianceReasonName AS VarianceReasonName,
  _ConfDetails.ConfirmedDateTime AS ConfirmedDateTime
FROM I_ProcOrdMgmtOperationCalc
LEFT OUTER JOIN P_ProcOrdOpLatestConf AS _ConfDetails ON OrderInternalBillOfOperations = _ConfDetails.OrderInternalBillOfOperations AND OrderIntBillOfOperationsItem = _ConfDetails.OrderIntBillOfOperationsItem  -- association [0..1]
LEFT OUTER JOIN E_ProcessOrderOperation AS _Extension ON OrderInternalBillOfOperations = _Extension.OrderInternalID AND OrderIntBillOfOperationsItem = _Extension.OrderOperationInternalID  -- association [1..1]
;