C_ShopFloorOrderOperation

DDL: C_SHOPFLOORORDEROPERATION SQL: CMPESFOOPER Type: view CONSUMPTION Package: MPE_EXEC_COMMON

Shop Floor Order Operation

C_ShopFloorOrderOperation is a Consumption CDS View that provides data about "Shop Floor Order Operation" in SAP S/4HANA. It reads from 1 data source (I_MfgOrderOperation) and exposes 20 fields with key fields OrderInternalID, OrderOperationInternalID. It has 3 associations to related views. Part of development package MPE_EXEC_COMMON.

Data Sources (1)

SourceAliasJoin Type
I_MfgOrderOperation MfgOrderOperation from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_WorkCenter _WorkCenter $projection.WorkCenterTypeCode = _WorkCenter.WorkCenterTypeCode and $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID
[1..1] I_WorkCenterType _WorkCenterType $projection.WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode
[0..*] I_MfgOrderOpDocInfoRecdObjLink _MfgOrderOpDocInfoRecdObjLink $projection.ManufacturingOrder = _MfgOrderOpDocInfoRecdObjLink.ManufacturingOrder and $projection.OrderOperationInternalID = _MfgOrderOpDocInfoRecdObjLink.OrderOperationInternalID

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName CMPESFOOPER view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
UI.headerInfo.typeName Shop Floor Order Operation view
UI.headerInfo.typeNamePlural Shop Floor Order Operations view
UI.headerInfo.title.label Shop Floor Order Operation view
UI.presentationVariant.sortOrder.by ManufacturingOrderOperation view
UI.presentationVariant.sortOrder.direction #ASC view
UI.textArrangement #TEXT_LAST view
EndUserText.label Shop Floor Order Operation view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY OrderInternalID I_MfgOrderOperation OrderInternalBillOfOperations Order Internal Bill of Operations
KEY OrderOperationInternalID I_MfgOrderOperation OrderIntBillOfOperationsItem Order Internal Bill of Operations Item
MfgOrderOperationText I_MfgOrderOperation MfgOrderOperationText
Material
MaterialName
OperationControlProfile I_MfgOrderOperation OperationControlProfile Control Key
OperationControlProfileName
WorkCenterInternalID I_MfgOrderOperation WorkCenterInternalID Work Center
WorkCenterTypeCode
WorkCenter
OpActyNtwkInstance I_MfgOrderOperation ProduceOpActyNtwkInstance
ProductionPlant I_MfgOrderOperation ProductionPlant Prod plnt
_OperationControlProfile I_MfgOrderOperation _OperationControlProfile
_OrdInternalBillOfOperations I_MfgOrderOperation _OrdInternalBillOfOperations
_MfgOrder I_MfgOrderOperation _MfgOrder
_Material
_ProductionPlant I_MfgOrderOperation _ProductionPlant
_WorkCenter _WorkCenter
_WorkCenterType _WorkCenterType
_MfgOrderOpDocInfoRecdObjLink _MfgOrderOpDocInfoRecdObjLink

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_ShopFloorOrderOperation.
-- 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: CMPESFOOPER

CREATE VIEW C_ShopFloorOrderOperation AS
SELECT
  MfgOrderOperation.OrderInternalBillOfOperations AS OrderInternalID,
  MfgOrderOperation.OrderIntBillOfOperationsItem AS OrderOperationInternalID,
  MfgOrderOperation.MfgOrderOperationText AS MfgOrderOperationText,
  MfgOrderOperation._MfgOrder._Material._Text[1: Language=$session.system_language].MaterialName AS MaterialName,
  MfgOrderOperation.OperationControlProfile AS OperationControlProfile,
  MfgOrderOperation._OperationControlProfile._Text[1: Language=$session.system_language].OperationControlProfileName AS OperationControlProfileName,
  MfgOrderOperation.WorkCenterInternalID AS WorkCenterInternalID,
  cast(MfgOrderOperation.WorkCenterTypeCode as pph_objty) AS WorkCenterTypeCode,
  MfgOrderOperation._WorkCenter.WorkCenter AS WorkCenter,
  MfgOrderOperation.ProduceOpActyNtwkInstance AS OpActyNtwkInstance,
  MfgOrderOperation.ProductionPlant AS ProductionPlant,
  MfgOrderOperation._OperationControlProfile AS _OperationControlProfile,
  MfgOrderOperation._OrdInternalBillOfOperations AS _OrdInternalBillOfOperations,
  MfgOrderOperation._MfgOrder AS _MfgOrder,
  MfgOrderOperation._MfgOrder._Material AS _Material,
  MfgOrderOperation._ProductionPlant AS _ProductionPlant
FROM I_MfgOrderOperation AS MfgOrderOperation
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON WorkCenterTypeCode = _WorkCenter.WorkCenterTypeCode AND WorkCenterInternalID = _WorkCenter.WorkCenterInternalID  -- association [0..1]
LEFT OUTER JOIN I_WorkCenterType AS _WorkCenterType ON WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode  -- association [1..1]
LEFT OUTER JOIN I_MfgOrderOpDocInfoRecdObjLink AS _MfgOrderOpDocInfoRecdObjLink ON ManufacturingOrder = _MfgOrderOpDocInfoRecdObjLink.ManufacturingOrder AND OrderOperationInternalID = _MfgOrderOpDocInfoRecdObjLink.OrderOperationInternalID  -- association [0..*]
;