C_MfgOrderOpExecDurnQry

DDL: C_MFGORDEROPEXECDURNQRY SQL: CPPMFGORDEROPDQ Type: view CONSUMPTION Package: PPH_ANALYTICS

Mfg Order Operation Execution Duration - Query

C_MfgOrderOpExecDurnQry is a Consumption CDS View that provides data about "Mfg Order Operation Execution Duration - Query" in SAP S/4HANA. It reads from 1 data source (I_MfgOrderOperationDurnCube) and exposes 46 fields with key fields OrderInternalBillOfOperations, OrderIntBillOfOperationsItem. It is used in 1 Fiori application: Production Execution Duration. Part of development package PPH_ANALYTICS.

Data Sources (1)

SourceAliasJoin Type
I_MfgOrderOperationDurnCube I_MfgOrderOperationDurnCube from

Parameters (3)

NameTypeDefault
P_Language sylangu
P_ReportingStartDate vdm_performanceperiodstartdate
P_ReportingEndDate vdm_performanceperiodenddate

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CPPMFGORDEROPDQ view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
Analytics.query true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.modelingPattern #ANALYTICAL_QUERY view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
OData.publish true view
VDM.viewType #CONSUMPTION view
EndUserText.label Mfg Order Operation Execution Duration - Query view

Fiori Apps (1)

App IDApp NameTypeDescription
F2172 Production Execution Duration Analytical With this app you can compare the planned and actual operation durations required for execution. The planned operation durations are defined in the manufacturing order and are calculated using the durations defined in the routing or master recipe. The time that was actually required for execution is recorded in the production confirmations. Using this app, you can easily compare these values. You can perform a step-by-step analysis for a specific time period and continuously fine-tune the production facility.

Production Execution Duration

Business Role: Production Planner

With this app you can compare the planned and actual operation durations required for execution. The planned operation durations are defined in the manufacturing order and are calculated using the durations defined in the routing or master recipe. The time that was actually required for execution is recorded in the production confirmations. Using this app, you can easily compare these values. You can perform a step-by-step analysis for a specific time period and continuously fine-tune the production facility.

Fields (46)

KeyFieldSource TableSource FieldDescription
KEY OrderInternalBillOfOperations OrderInternalBillOfOperations Order Internal Bill of Operations
KEY OrderIntBillOfOperationsItem OrderIntBillOfOperationsItem Order Internal Bill of Operations Item
MRPPlant MRPPlant Plant
MRPPlantName _MRPPlant PlantName Planning Plant Name
Material Material Vehicle Model
MaterialName
WorkCenter WorkCenter Work Center
WorkCenterInternalID WorkCenterInternalID Work Center
WorkCenterText
ReportingPeriod ReportingPeriod Single-Character Flag
ReportingPeriodName
ManufacturingOrder ManufacturingOrder Order
ManufacturingOrderCategory ManufacturingOrderCategory
ManufacturingOrderCategoryName
ManufacturingOrderType ManufacturingOrderType
ManufacturingOrderTypeName
ManufacturingOrderOperation ManufacturingOrderOperation Activity
MfgOrderOperationText MfgOrderOperationText
ProductionPlant ProductionPlant Prod plnt
ProductionPlantName _ProductionPlant PlantName Plant Name
ProductionSupervisor ProductionSupervisor Production Supervisor
ProductionSupervisorName _ProductionSupervisor ProductionSupervisorName
ActualExecutionEndDate ActualExecutionEndDate Execution End Date
ActualExecutionEndTime ActualExecutionEndTime
EndDateHour EndDateHour
EndDateWeekDay EndDateWeekDay
EndDateWeekDayName
EndDateMonth EndDateMonth
EndDateMonthName
EndDateYear EndDateYear
EndDateYearMonth EndDateYearMonth
DurationUnit DurationUnit Unit
ActualWorkdayDurnInSeconds ActualWorkdayDurnInSeconds Actual Duration in Seconds
PlannedWorkdayDurnInSeconds PlannedWorkdayDurnInSeconds Planned Duration in Seconds
DeviationWorkdayDurnInSeconds DeviationWorkdayDurnInSeconds Deviation Duration in Seconds
HoursUnitOfMeasure HoursUnitOfMeasure Unit of Measure
ActualDurationInHours ActualDurationInHours
PlannedDurationInHours PlannedDurationInHours
DeviationDurationInHours DeviationDurationInHours
ActualDurationUnit ActualDurationUnit
PlannedDurationUnit PlannedDurationUnit Planned Duration Unit
DeviationDurationUnit DeviationDurationUnit Deviation Duration Unit
ActualDuration ActualDuration
PlannedDuration PlannedDuration
DeviationDuration DeviationDuration
DurationDeviationPercent Duration Deviation in %

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_MfgOrderOpExecDurnQry.
-- 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: CPPMFGORDEROPDQ
-- Parameters: P_Language : sylangu, P_ReportingStartDate : vdm_performanceperiodstartdate, P_ReportingEndDate : vdm_performanceperiodenddate

CREATE VIEW C_MfgOrderOpExecDurnQry AS
SELECT
  OrderInternalBillOfOperations,
  OrderIntBillOfOperationsItem,
  MRPPlant,
  _MRPPlant.PlantName AS MRPPlantName,
  Material,
  _Material._Text[1: Language=$parameters.P_Language].MaterialName AS MaterialName,
  WorkCenter,
  WorkCenterInternalID,
  _WorkCenter._Text[1: Language=$parameters.P_Language].WorkCenterText AS WorkCenterText,
  ReportingPeriod,
  _ReportingPeriod._Text[1: Language=$parameters.P_Language].ReportingPeriodName AS ReportingPeriodName,
  ManufacturingOrder,
  ManufacturingOrderCategory,
  _MfgOrderCategory._Text[1: Language=$parameters.P_Language].ManufacturingOrderCategoryName AS ManufacturingOrderCategoryName,
  ManufacturingOrderType,
  _MfgOrderType._Text[1: Language=$parameters.P_Language].ManufacturingOrderTypeName AS ManufacturingOrderTypeName,
  ManufacturingOrderOperation,
  MfgOrderOperationText,
  ProductionPlant,
  _ProductionPlant.PlantName AS ProductionPlantName,
  ProductionSupervisor,
  _ProductionSupervisor.ProductionSupervisorName AS ProductionSupervisorName,
  ActualExecutionEndDate,
  ActualExecutionEndTime,
  EndDateHour,
  EndDateWeekDay,
  cast(_EndDateWeekDay._Text[1: Language=$parameters.P_Language].WeekDayName as enddateweekdayname preserving type) AS EndDateWeekDayName,
  EndDateMonth,
  cast(_EndDateMonth._Text[1: Language=$parameters.P_Language].CalendarMonthName as enddatemonthname preserving type) AS EndDateMonthName,
  EndDateYear,
  EndDateYearMonth,
  DurationUnit,
  ActualWorkdayDurnInSeconds,
  PlannedWorkdayDurnInSeconds,
  DeviationWorkdayDurnInSeconds,
  HoursUnitOfMeasure,
  ActualDurationInHours,
  PlannedDurationInHours,
  DeviationDurationInHours,
  ActualDurationUnit,
  PlannedDurationUnit,
  DeviationDurationUnit,
  ActualDuration,
  PlannedDuration,
  DeviationDuration,
  cast(0 as abap.dec(5,2)) AS DurationDeviationPercent
FROM I_MfgOrderOperationDurnCube
;