C_MfgOrderOperationForConf

DDL: C_MFGORDEROPERATIONFORCONF Type: view_entity CONSUMPTION Package: ODATA_PP_PRODOPER_CNF

Mfg Order Operation for Confirmation

C_MfgOrderOperationForConf is a Consumption CDS View that provides data about "Mfg Order Operation for Confirmation" in SAP S/4HANA. It reads from 1 data source (P_MfgOrderOperationForConf) and exposes 41 fields with key fields OrderInternalBillOfOperations, OrderIntBillOfOperationsItem. It has 3 associations to related views. Part of development package ODATA_PP_PRODOPER_CNF.

Data Sources (1)

SourceAliasJoin Type
P_MfgOrderOperationForConf oper from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_StatusObjectStatusBasic _OrderisDistributed _OrderisDistributed.StatusObject = oper.ManufacturingObject and _OrderisDistributed.StatusCode = 'I0048' and _OrderisDistributed.StatusIsInactive = ''
[0..1] I_StatusObjectStatusBasic _OrderisMESCompleted _OrderisMESCompleted.StatusObject = oper.ManufacturingObject and _OrderisMESCompleted.StatusCode = 'I0168' and _OrderisMESCompleted.StatusIsInactive = ''
[0..*] C_Operationcomponents _OperationComponents $projection.ManufacturingOrder = _OperationComponents.ManufacturingOrder and $projection.ManufacturingOrderOperation = _OperationComponents.ManufacturingOrderOperation and $projection.ManufacturingOrderSequence = _OperationComponents.ManufacturingOrderSequence

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
EndUserText.label Mfg Order Operation for Confirmation view
ObjectModel.updateEnabled true view

Fields (41)

KeyFieldSource TableSource FieldDescription
KEY OrderInternalBillOfOperations P_MfgOrderOperationForConf OrderInternalBillOfOperations Order Internal Bill of Operations
KEY OrderIntBillOfOperationsItem P_MfgOrderOperationForConf OrderIntBillOfOperationsItem Order Internal Bill of Operations Item
ManufacturingOrder P_MfgOrderOperationForConf ManufacturingOrder Order
ManufacturingOrderSequence P_MfgOrderOperationForConf ManufacturingOrderSequence
ManufacturingOrderOperation P_MfgOrderOperationForConf ManufacturingOrderOperation Activity
ManufacturingOrderSubOperation P_MfgOrderOperationForConf ManufacturingOrderSubOperation
ManufacturingOrderCategory P_MfgOrderOperationForConf ManufacturingOrderCategory
ManufacturingOrderType P_MfgOrderOperationForConf ManufacturingOrderType
MfgOrderOperationText P_MfgOrderOperationForConf MfgOrderOperationText
Material P_MfgOrderOperationForConf Material Vehicle Model
MaterialName P_MfgOrderOperationForConf MaterialName Material Description
WorkCenter P_MfgOrderOperationForConf WorkCenter Work Center
WorkCenterText P_MfgOrderOperationForConf WorkCenterText Work Center Text
ProductionPlant P_MfgOrderOperationForConf ProductionPlant Prod plnt
ProductionPlantName P_MfgOrderOperationForConf ProductionPlantName Plant Name
OperationIsCreated P_MfgOrderOperationForConf OperationIsCreated
OperationIsReleased P_MfgOrderOperationForConf OperationIsReleased
OperationIsConfirmed P_MfgOrderOperationForConf OperationIsConfirmed
OperationIsPartiallyConfirmed P_MfgOrderOperationForConf OperationIsPartiallyConfirmed
OperationIsTechlyCompleted P_MfgOrderOperationForConf OperationIsTechlyCompleted
OperationIsPartiallyDelivered P_MfgOrderOperationForConf OperationIsPartiallyDelivered
OperationIsDelivered P_MfgOrderOperationForConf OperationIsDelivered
OperationStatusInternalID P_MfgOrderOperationForConf OperationStatusInternalID
OpPlannedTotalQuantity P_MfgOrderOperationForConf OpPlannedTotalQuantity
OpPlannedScrapQuantity P_MfgOrderOperationForConf OpPlannedScrapQuantity
OpPlannedYieldQuantity P_MfgOrderOperationForConf OpPlannedYieldQuantity
OpTotalConfirmedYieldQty P_MfgOrderOperationForConf OpTotalConfirmedYieldQty
OpTotalConfirmedScrapQty P_MfgOrderOperationForConf OpTotalConfirmedScrapQty
OperationConfirmedReworkQty P_MfgOrderOperationForConf OperationConfirmedReworkQty
OperationUnit P_MfgOrderOperationForConf OperationUnit Act/op UoM
WorkCenterActivityText1 P_MfgOrderOperationForConf WorkCenterActivityText1
WorkCenterActivityText2 P_MfgOrderOperationForConf WorkCenterActivityText2
WorkCenterActivityText3 P_MfgOrderOperationForConf WorkCenterActivityText3
WorkCenterActivityText4 P_MfgOrderOperationForConf WorkCenterActivityText4
WorkCenterActivityText5 P_MfgOrderOperationForConf WorkCenterActivityText5
WorkCenterActivityText6 P_MfgOrderOperationForConf WorkCenterActivityText6
Personnel P_MfgOrderOperationForConf Personnel Personnel No.
OrderIsShopFloorOrder
OrderIsDistributedToMES
OperationIsNotMESRelevant P_MfgOrderOperationForConf OperationIsNotMESRelevant
Associations_OperationComponents

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_MfgOrderOperationForConf.
-- 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_MfgOrderOperationForConf AS
SELECT
  oper.OrderInternalBillOfOperations AS OrderInternalBillOfOperations,
  oper.OrderIntBillOfOperationsItem AS OrderIntBillOfOperationsItem,
  oper.ManufacturingOrder AS ManufacturingOrder,
  oper.ManufacturingOrderSequence AS ManufacturingOrderSequence,
  oper.ManufacturingOrderOperation AS ManufacturingOrderOperation,
  oper.ManufacturingOrderSubOperation AS ManufacturingOrderSubOperation,
  oper.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  oper.ManufacturingOrderType AS ManufacturingOrderType,
  oper.MfgOrderOperationText AS MfgOrderOperationText,
  oper.Material AS Material,
  oper.MaterialName AS MaterialName,
  oper.WorkCenter AS WorkCenter,
  oper.WorkCenterText AS WorkCenterText,
  oper.ProductionPlant AS ProductionPlant,
  oper.ProductionPlantName AS ProductionPlantName,
  oper.OperationIsCreated AS OperationIsCreated,
  oper.OperationIsReleased AS OperationIsReleased,
  oper.OperationIsConfirmed AS OperationIsConfirmed,
  oper.OperationIsPartiallyConfirmed AS OperationIsPartiallyConfirmed,
  oper.OperationIsTechlyCompleted AS OperationIsTechlyCompleted,
  oper.OperationIsPartiallyDelivered AS OperationIsPartiallyDelivered,
  oper.OperationIsDelivered AS OperationIsDelivered,
  oper.OperationStatusInternalID AS OperationStatusInternalID,
  oper.OpPlannedTotalQuantity AS OpPlannedTotalQuantity,
  oper.OpPlannedScrapQuantity AS OpPlannedScrapQuantity,
  oper.OpPlannedYieldQuantity AS OpPlannedYieldQuantity,
  oper.OpTotalConfirmedYieldQty AS OpTotalConfirmedYieldQty,
  oper.OpTotalConfirmedScrapQty AS OpTotalConfirmedScrapQty,
  oper.OperationConfirmedReworkQty AS OperationConfirmedReworkQty,
  oper.OperationUnit AS OperationUnit,
  oper.WorkCenterActivityText1 AS WorkCenterActivityText1,
  oper.WorkCenterActivityText2 AS WorkCenterActivityText2,
  oper.WorkCenterActivityText3 AS WorkCenterActivityText3,
  oper.WorkCenterActivityText4 AS WorkCenterActivityText4,
  oper.WorkCenterActivityText5 AS WorkCenterActivityText5,
  oper.WorkCenterActivityText6 AS WorkCenterActivityText6,
  oper.Personnel AS Personnel,
  case when _OrderShopFloorStatus.StatusCode is not null then 'X' else '' end AS OrderIsShopFloorOrder,
  case when _OrderisDistributed.StatusCode is not null or _OrderisMESCompleted.StatusCode is not null then 'X' else '' end AS OrderIsDistributedToMES,
  oper.OperationIsNotMESRelevant AS OperationIsNotMESRelevant
FROM P_MfgOrderOperationForConf AS oper
LEFT OUTER JOIN I_StatusObjectStatusBasic AS _OrderisDistributed ON _OrderisDistributed.StatusObject = oper.ManufacturingObject AND _OrderisDistributed.StatusCode = 'I0048' AND _OrderisDistributed.StatusIsInactive = ''  -- association [0..1]
LEFT OUTER JOIN I_StatusObjectStatusBasic AS _OrderisMESCompleted ON _OrderisMESCompleted.StatusObject = oper.ManufacturingObject AND _OrderisMESCompleted.StatusCode = 'I0168' AND _OrderisMESCompleted.StatusIsInactive = ''  -- association [0..1]
LEFT OUTER JOIN C_Operationcomponents AS _OperationComponents ON ManufacturingOrder = _OperationComponents.ManufacturingOrder AND ManufacturingOrderOperation = _OperationComponents.ManufacturingOrderOperation AND ManufacturingOrderSequence = _OperationComponents.ManufacturingOrderSequence  -- association [0..*]
;