C_OrderOperationSchedule

DDL: C_ORDEROPERATIONSCHEDULE Type: view_entity CONSUMPTION

Order Operation Schedule

C_OrderOperationSchedule is a Consumption CDS View that provides data about "Order Operation Schedule" in SAP S/4HANA. It reads from 3 data sources (I_StatusObjectStatusBasic, P_ManageOperations, I_StatusObjectStatusBasic) and exposes 88 fields with key fields OrderInternalBillOfOperations, OrderIntBillOfOperationsItem. It has 8 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_StatusObjectStatusBasic _OrderMarkedForDeletion left_outer
P_ManageOperations _OrderOperation from
I_StatusObjectStatusBasic _OrderShopFloorStatus left_outer

Associations (8)

CardinalityTargetAliasCondition
[0..1] I_ManufacturingFeatureStatus _ManufacturingFeatureStatus $projection.ProductionPlant = _ManufacturingFeatureStatus.Plant and _ManufacturingFeatureStatus.ManufacturingFeature = 'EPO'
[0..1] I_OrderItem _OrderItem $projection.ManufacturingOrder = _OrderItem.OrderID and _OrderItem.OrderItem = '0001'
[0..1] I_MfgOrderOperationOrigin _MfgOrderOperationOrigin $projection.MfgOrderOperationOrigin = _MfgOrderOperationOrigin.MfgOrderOperationOrigin
[1..1] E_OrderOperation _Extension $projection.OrderInternalBillOfOperations = _Extension.OrderInternalID and $projection.OrderIntBillOfOperationsItem = _Extension.OrderOperationInternalID
[1..1] P_OperationSequence _OperSequence $projection.OrderInternalBillOfOperations = _OperSequence.OrderInternalID and $projection.ManufacturingOrderSequence = _OperSequence.Sequence
[0..1] P_MFGOrderOpPRTAssignment _ProdnRsceTool $projection.OrderInternalBillOfOperations = _ProdnRsceTool.MfgOrderInternalID and $projection.OrderIntBillOfOperationsItem = _ProdnRsceTool.OrderOperationInternalID
[0..1] P_Oper_UserStatuses _UserStatus $projection.OrderInternalBillOfOperations = _UserStatus.OrderInternalBillOfOperations and $projection.OrderIntBillOfOperationsItem = _UserStatus.OrderIntBillOfOperationsItem
[0..1] P_LatestOperation _latestOp $projection.OrderInternalBillOfOperations = _latestOp.OrderInternalBillOfOperations

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Order Operation Schedule view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value ManufacturingOrder view
UI.headerInfo.description.type #STANDARD view
UI.headerInfo.description.value ManufacturingOrderOperation view
UI.headerInfo.typeName Order Operation Schedule view
UI.headerInfo.typeNamePlural Order Operation Schedules view
VDM.viewType #CONSUMPTION view

Fields (88)

KeyFieldSource TableSource FieldDescription
KEY OrderInternalBillOfOperations P_ManageOperations OrderInternalBillOfOperations Order Internal Bill of Operations
KEY OrderIntBillOfOperationsItem P_ManageOperations OrderIntBillOfOperationsItem Order Internal Bill of Operations Item
ManufacturingOrder
ManufacturingOrderOperation P_ManageOperations ManufacturingOrderOperation Activity
MfgOrderOperationText P_ManageOperations MfgOrderOperationText
OperationHasLongText P_ManageOperations OperationHasLongText
ManufacturingOrderSubOperation P_ManageOperations ManufacturingOrderSubOperation
MfgOrderSequenceCategory _OperSequence SequenceCategory
SequenceCategoryName _OperSequence SequenceCategoryName
Sequence _OperSequence Sequence Visit Sequence
MfgOrderSequenceBrnchOperation _OperSequence MfgOrderSequenceBrnchOperation
MfgOrderSequenceRetOperation _OperSequence MfgOrderSequenceRetOperation
ReferenceSequence _OperSequence ReferenceSequence
BranchOperationInternalID _OperSequence BranchOperationInternalID
ReturnOperationInternalID _OperSequence ReturnOperationInternalID
Material
ManufacturingOrderSequence P_ManageOperations ManufacturingOrderSequence
ProductionPlant P_ManageOperations ProductionPlant Prod plnt
WorkCenterInternalID P_ManageOperations WorkCenterInternalID Work Center
WorkCenter P_ManageOperations WorkCenter Work Center
WorkCenterText
WorkCenterTypeCode P_ManageOperations WorkCenterTypeCode Object Type
ManufacturingOrderCategory P_ManageOperations ManufacturingOrderCategory
ManufacturingOrderType P_ManageOperations ManufacturingOrderType
ProductionSupervisor P_ManageOperations ProductionSupervisor Prodn Supervisor
ProductionSupervisorName
MRPController P_ManageOperations MRPController MRP Controller
MRPControllerName P_ManageOperations MRPControllerName Controller name
ProductionPlantName
PlantTimeZone
OperationControlProfile P_ManageOperations OperationControlProfile Control Key
OperationIsClosed P_ManageOperations OperationIsClosed
OperationIsTechlyCompleted P_ManageOperations OperationIsTechlyCompleted
OperationIsDelivered P_ManageOperations OperationIsDelivered
OperationIsPartiallyDelivered P_ManageOperations OperationIsPartiallyDelivered
OperationIsPartiallyConfirmed P_ManageOperations OperationIsPartiallyConfirmed
OperationIsPrinted P_ManageOperations OperationIsPrinted
OperationIsReleased P_ManageOperations OperationIsReleased
OperationIsCreated P_ManageOperations OperationIsCreated
OperationIsScheduled P_ManageOperations OperationIsScheduled
OperationIsConfirmed P_ManageOperations OperationIsConfirmed
OperationIsDeleted P_ManageOperations OperationIsDeleted
numc2asOperationStatusInternalID
OpPlannedTotalQuantity P_ManageOperations OpPlannedTotalQuantity
OpTotalConfirmedYieldQty P_ManageOperations OpTotalConfirmedYieldQty
OperationReferenceQuantity P_ManageOperations OperationReferenceQuantity Base Quantity
OpPlannedScrapQuantity P_ManageOperations OpPlannedScrapQuantity
OperationConfirmedReworkQty P_ManageOperations OperationConfirmedReworkQty
OpTotalConfirmedScrapQty P_ManageOperations OpTotalConfirmedScrapQty
OpLtstConfirmedScrapQty _latestOp OpLtstConfirmedScrapQty
OperationUnit
GoodsRecipientName P_ManageOperations GoodsRecipientName Recipient Name
UnloadingPointName P_ManageOperations UnloadingPointName Unloading Point Name
OpLtstSchedldExecStrtDte P_ManageOperations OpLtstSchedldExecStrtDte Latest start
OpLtstSchedldExecStrtTme P_ManageOperations OpLtstSchedldExecStrtTme
OpLtstSchedldExecEndDte P_ManageOperations OpLtstSchedldExecEndDte Lat.finish date
OpLtstSchedldExecEndTme P_ManageOperations OpLtstSchedldExecEndTme
OpActualExecutionStartDate P_ManageOperations OpActualExecutionStartDate Execution Start Date
OpActualExecutionStartTime P_ManageOperations OpActualExecutionStartTime
OpActualExecutionEndDate P_ManageOperations OpActualExecutionEndDate Execution End Date
OpActualExecutionEndTime P_ManageOperations OpActualExecutionEndTime
OrderIsShopFloorOrder
_MfgOrder P_ManageOperations _MfgOrder
_WorkCenter P_ManageOperations _WorkCenter
_WorkCenterBySemanticKey P_ManageOperations _WorkCenterBySemanticKey
_ProductionPlant P_ManageOperations _ProductionPlant
_Material
_OperationUnit P_ManageOperations _OperationUnit
ManufacturingFeature _ManufacturingFeatureStatus ManufacturingFeature
ManufacturingFeatureIsActive _ManufacturingFeatureStatus ManufacturingFeatureIsActive
MfgFeatureIsActiveInAnyPlant _ManufacturingFeatureStatus MfgFeatureIsActiveInAnyPlant
EffectivityParameterVariant
EffectivityParameterDesc
EffctyTypeCnctntdParamDesc
BOOVersionChangeRecordIsRqd
BillOfOperationsType P_ManageOperations BillOfOperationsType Task List Type
BillOfOperationsGroup
BillOfOperationsVariant
BillOfOperationsVersion P_ManageOperations BillOfOperationsVersion Routing Version
MfgOrderOperationOrigin P_ManageOperations MfgOrderOperationOrigin
MfgOrderOperationOriginName
char255asNetChangeAnalysisPath
ChangeImpactRelevanceFlagIsSet
OperationIsImpacted
ManufacturingObject P_ManageOperations ManufacturingObject
OrderIsMarkedForDeletion
UserStatusText
StatusProfile

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 C_OrderOperationSchedule.
-- 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 C_OrderOperationSchedule AS
SELECT
  _OrderOperation.OrderInternalBillOfOperations AS OrderInternalBillOfOperations,
  _OrderOperation.OrderIntBillOfOperationsItem AS OrderIntBillOfOperationsItem,
  cast(_OrderOperation.ManufacturingOrder as aufnr preserving type) AS ManufacturingOrder,
  _OrderOperation.ManufacturingOrderOperation AS ManufacturingOrderOperation,
  _OrderOperation.MfgOrderOperationText AS MfgOrderOperationText,
  _OrderOperation.OperationHasLongText AS OperationHasLongText,
  _OrderOperation.ManufacturingOrderSubOperation AS ManufacturingOrderSubOperation,
  _OperSequence.SequenceCategory AS MfgOrderSequenceCategory,
  _OperSequence.SequenceCategoryName AS SequenceCategoryName,
  _OperSequence.Sequence AS Sequence,
  _OperSequence.MfgOrderSequenceBrnchOperation AS MfgOrderSequenceBrnchOperation,
  _OperSequence.MfgOrderSequenceRetOperation AS MfgOrderSequenceRetOperation,
  _OperSequence.ReferenceSequence AS ReferenceSequence,
  _OperSequence.BranchOperationInternalID AS BranchOperationInternalID,
  _OperSequence.ReturnOperationInternalID AS ReturnOperationInternalID,
  _OrderOperation._MfgOrder.Material AS Material,
  _OrderOperation.ManufacturingOrderSequence AS ManufacturingOrderSequence,
  _OrderOperation.ProductionPlant AS ProductionPlant,
  _OrderOperation.WorkCenterInternalID AS WorkCenterInternalID,
  _OrderOperation.WorkCenter AS WorkCenter,
  _OrderOperation._WorkCenter._Text[1: Language=$session.system_language].WorkCenterText AS WorkCenterText,
  _OrderOperation.WorkCenterTypeCode AS WorkCenterTypeCode,
  _OrderOperation.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  _OrderOperation.ManufacturingOrderType AS ManufacturingOrderType,
  _OrderOperation.ProductionSupervisor AS ProductionSupervisor,
  _OrderOperation._ProductionSupervisor.ProductionSupervisorName AS ProductionSupervisorName,
  _OrderOperation.MRPController AS MRPController,
  _OrderOperation.MRPControllerName AS MRPControllerName,
  _OrderOperation._ProductionPlant.PlantName AS ProductionPlantName,
  cast(_OrderOperation._ProductionPlant._Address.AddressTimeZone as co_plant_timezone ) AS PlantTimeZone,
  _OrderOperation.OperationControlProfile AS OperationControlProfile,
  _OrderOperation.OperationIsClosed AS OperationIsClosed,
  _OrderOperation.OperationIsTechlyCompleted AS OperationIsTechlyCompleted,
  _OrderOperation.OperationIsDelivered AS OperationIsDelivered,
  _OrderOperation.OperationIsPartiallyDelivered AS OperationIsPartiallyDelivered,
  _OrderOperation.OperationIsPartiallyConfirmed AS OperationIsPartiallyConfirmed,
  _OrderOperation.OperationIsPrinted AS OperationIsPrinted,
  _OrderOperation.OperationIsReleased AS OperationIsReleased,
  _OrderOperation.OperationIsCreated AS OperationIsCreated,
  _OrderOperation.OperationIsScheduled AS OperationIsScheduled,
  _OrderOperation.OperationIsConfirmed AS OperationIsConfirmed,
  _OrderOperation.OperationIsDeleted AS OperationIsDeleted,
  cast( case when _OrderOperation.OperationIsDeleted = 'X' then '10' when _OrderOperation.OperationIsClosed = 'X' then '09' when _OrderOperation.OperationIsTechlyCompleted = 'X' then '08' when _OrderOperation.OperationIsDelivered = 'X' then '07' when _OrderOperation.OperationIsPartiallyDelivered = 'X' then '06' when _OrderOperation.OperationIsConfirmed = 'X' then '05' when _OrderOperation.OperationIsPartiallyConfirmed = 'X' then '04' when _OrderOperation.OperationIsReleased = 'X' then '03' when _OrderOperation.OperationIsScheduled = 'X' then '02' when _OrderOperation.OperationIsCreated = 'X' then '01' end as abap.numc(2)) as OperationStatusInternalID AS numc2asOperationStatusInternalID,
  _OrderOperation.OpPlannedTotalQuantity AS OpPlannedTotalQuantity,
  _OrderOperation.OpTotalConfirmedYieldQty AS OpTotalConfirmedYieldQty,
  _OrderOperation.OperationReferenceQuantity AS OperationReferenceQuantity,
  _OrderOperation.OpPlannedScrapQuantity AS OpPlannedScrapQuantity,
  _OrderOperation.OperationConfirmedReworkQty AS OperationConfirmedReworkQty,
  _OrderOperation.OpTotalConfirmedScrapQty AS OpTotalConfirmedScrapQty,
  _latestOp.OpLtstConfirmedScrapQty AS OpLtstConfirmedScrapQty,
  _OrderOperation.GoodsRecipientName AS GoodsRecipientName,
  _OrderOperation.UnloadingPointName AS UnloadingPointName,
  _OrderOperation.OpLtstSchedldExecStrtDte AS OpLtstSchedldExecStrtDte,
  _OrderOperation.OpLtstSchedldExecStrtTme AS OpLtstSchedldExecStrtTme,
  _OrderOperation.OpLtstSchedldExecEndDte AS OpLtstSchedldExecEndDte,
  _OrderOperation.OpLtstSchedldExecEndTme AS OpLtstSchedldExecEndTme,
  _OrderOperation.OpActualExecutionStartDate AS OpActualExecutionStartDate,
  _OrderOperation.OpActualExecutionStartTime AS OpActualExecutionStartTime,
  _OrderOperation.OpActualExecutionEndDate AS OpActualExecutionEndDate,
  _OrderOperation.OpActualExecutionEndTime AS OpActualExecutionEndTime,
  case when _OrderShopFloorStatus.StatusCode is not null then 'X' end AS OrderIsShopFloorOrder,
  _OrderOperation._MfgOrder AS _MfgOrder,
  _OrderOperation._WorkCenter AS _WorkCenter,
  _OrderOperation._WorkCenterBySemanticKey AS _WorkCenterBySemanticKey,
  _OrderOperation._ProductionPlant AS _ProductionPlant,
  _OrderOperation._MfgOrder._Material AS _Material,
  _OrderOperation._OperationUnit AS _OperationUnit,
  _ManufacturingFeatureStatus.ManufacturingFeature AS ManufacturingFeature,
  _ManufacturingFeatureStatus.ManufacturingFeatureIsActive AS ManufacturingFeatureIsActive,
  _ManufacturingFeatureStatus.MfgFeatureIsActiveInAnyPlant AS MfgFeatureIsActiveInAnyPlant,
  cast('' as mpe_effectivity_parameter_desc) AS EffectivityParameterDesc,
  cast('' as abap.sstring( 256 )) AS EffctyTypeCnctntdParamDesc,
  _OrderOperation._MfgOrder._BillOfOperations._BillOfOperationsVersionType.BOOVersionChangeRecordIsRqd AS BOOVersionChangeRecordIsRqd,
  _OrderOperation.BillOfOperationsType AS BillOfOperationsType,
  cast(_OrderOperation.BillOfOperationsGroup as mpe_rtg_routing_group preserving type ) AS BillOfOperationsGroup,
  cast(_OrderOperation.BillOfOperationsVariant as mpe_rtg_routing_variant preserving type) AS BillOfOperationsVariant,
  _OrderOperation.BillOfOperationsVersion AS BillOfOperationsVersion,
  _OrderOperation.MfgOrderOperationOrigin AS MfgOrderOperationOrigin,
  _MfgOrderOperationOrigin._Text[1: Language=$session.system_language].MfgOrderOperationOriginName AS MfgOrderOperationOriginName,
  cast( ' ' as boole_d preserving type ) AS ChangeImpactRelevanceFlagIsSet,
  cast( ' ' as boole_d preserving type ) AS OperationIsImpacted,
  _OrderOperation.ManufacturingObject AS ManufacturingObject,
  case when _OrderMarkedForDeletion.StatusCode is not null then 'X' end AS OrderIsMarkedForDeletion,
  _UserStatus(im_clnt: $session.client).UserStatusText AS UserStatusText,
  _UserStatus(im_clnt: $session.client).StatusProfile AS StatusProfile
FROM P_ManageOperations AS _OrderOperation
LEFT OUTER JOIN I_StatusObjectStatusBasic AS _OrderShopFloorStatus ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_StatusObjectStatusBasic AS _OrderMarkedForDeletion ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ManufacturingFeatureStatus AS _ManufacturingFeatureStatus ON ProductionPlant = _ManufacturingFeatureStatus.Plant AND _ManufacturingFeatureStatus.ManufacturingFeature = 'EPO'  -- association [0..1]
LEFT OUTER JOIN I_OrderItem AS _OrderItem ON ManufacturingOrder = _OrderItem.OrderID AND _OrderItem.OrderItem = '0001'  -- association [0..1]
LEFT OUTER JOIN I_MfgOrderOperationOrigin AS _MfgOrderOperationOrigin ON MfgOrderOperationOrigin = _MfgOrderOperationOrigin.MfgOrderOperationOrigin  -- association [0..1]
LEFT OUTER JOIN E_OrderOperation AS _Extension ON OrderInternalBillOfOperations = _Extension.OrderInternalID AND OrderIntBillOfOperationsItem = _Extension.OrderOperationInternalID  -- association [1..1]
LEFT OUTER JOIN P_OperationSequence AS _OperSequence ON OrderInternalBillOfOperations = _OperSequence.OrderInternalID AND ManufacturingOrderSequence = _OperSequence.Sequence  -- association [1..1]
LEFT OUTER JOIN P_MFGOrderOpPRTAssignment AS _ProdnRsceTool ON OrderInternalBillOfOperations = _ProdnRsceTool.MfgOrderInternalID AND OrderIntBillOfOperationsItem = _ProdnRsceTool.OrderOperationInternalID  -- association [0..1]
LEFT OUTER JOIN P_Oper_UserStatuses AS _UserStatus ON OrderInternalBillOfOperations = _UserStatus.OrderInternalBillOfOperations AND OrderIntBillOfOperationsItem = _UserStatus.OrderIntBillOfOperationsItem  -- association [0..1]
LEFT OUTER JOIN P_LatestOperation AS _latestOp ON OrderInternalBillOfOperations = _latestOp.OrderInternalBillOfOperations  -- association [0..1]
;