P_MntrWrkCtrOrderOperations
Work Center Order Operations
P_MntrWrkCtrOrderOperations is a Composite CDS View that provides data about "Work Center Order Operations" in SAP S/4HANA. It reads from 1 data source (P_MntrWrkCtrOrderOps) and exposes 70 fields with key fields OrderID, CapacityRequirementItem, CapacityRqmtItemCapacity, OrderCategory, CapacityRequirement. Part of development package PPH_VDM_CAP_EVAL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_MntrWrkCtrOrderOps | PMntrWrkCtrOrd | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMWCORDOP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view |
Fields (70)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrderID | OrderID | Order ID | |
| KEY | CapacityRequirementItem | CapacityRequirementItem | ||
| KEY | CapacityRqmtItemCapacity | CapacityRqmtItemCapacity | ||
| KEY | OrderCategory | OrderCategory | Order Category | |
| KEY | CapacityRequirement | CapacityRequirement | ||
| Operation | Operation | Transaction | ||
| Material | Material | Vehicle Model | ||
| Plant | Plant | Valuation Area | ||
| MRPArea | MRPArea | MRP Area | ||
| MRPController | MRPController | MRP Controller | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| WorkCenterInternalID | WorkCenterInternalID | Work Center | ||
| WorkCenter | WorkCenter | Work Center | ||
| WorkCenterCategoryCode | WorkCenterCategoryCode | |||
| WorkCenterText | WorkCenterText | Work Center Text | ||
| WorkCenterTypeCode | WorkCenterTypeCode | Object Type | ||
| CapacityInternalID | CapacityInternalID | Capacity ID | ||
| CapacityCategoryCode | CapacityCategoryCode | |||
| WorkCenterResponsible | WorkCenterResponsible | |||
| CapacityResponsiblePlanner | CapacityResponsiblePlanner | |||
| OrderInternalID | OrderInternalID | Plan No.f.Oper. | ||
| ManufacturingOrder | ManufacturingOrder | Order | ||
| PlannedOrder | PlannedOrder | |||
| ProductionVersion | ProductionVersion | Version ID | ||
| ProductionLine | ProductionLine | Production Line | ||
| OperationPlanningStatusCode | OperationPlanningStatusCode | |||
| ScheduledBasicStartDate | ScheduledBasicStartDate | Sched. start | ||
| ScheduledBasicStartTime | ScheduledBasicStartTime | |||
| ScheduledBasicEndDate | ScheduledBasicEndDate | Sched. finish | ||
| ScheduledBasicEndTime | ScheduledBasicEndTime | |||
| OperationLatestStartDate | OperationLatestStartDate | |||
| OperationLatestStartTime | OperationLatestStartTime | |||
| LtstSchedldExecStrtDteTme | LtstSchedldExecStrtDteTme | |||
| OperationLatestEndDate | OperationLatestEndDate | |||
| OperationLatestEndTime | OperationLatestEndTime | |||
| LtstSchedldExecEndDteTme | LtstSchedldExecEndDteTme | |||
| OpLtstSchedldProcgStrtDte | OpLtstSchedldProcgStrtDte | |||
| OpLtstSchedldProcgStrtTme | OpLtstSchedldProcgStrtTme | |||
| OpLtstSchedldTrdwnStrtDte | OpLtstSchedldTrdwnStrtDte | |||
| OpLtstSchedldTrdwnStrtTme | OpLtstSchedldTrdwnStrtTme | |||
| RequirementDate | RequirementDate | Requirement Date | ||
| OrderPlannedTotalQty | OrderPlannedTotalQty | |||
| BaseUnit | BaseUnit | Unit of Measure | ||
| CapacityRequirementUnit | CapacityRequirementUnit | |||
| RemCapReqOpSegSetupDurnInHours | RemCapReqOpSegSetupDurnInHours | |||
| RemCapReqOpSegProcgDurnInHours | RemCapReqOpSegProcgDurnInHours | |||
| RemCapReqOpSegTrdwnDurnInHours | RemCapReqOpSegTrdwnDurnInHours | |||
| BOOExplosionDate | BOOExplosionDate | |||
| BOMExplosionDate | BOMExplosionDate | |||
| PlndOrderPlannedStartDate | PlndOrderPlannedStartDate | |||
| PlndOrderPlannedEndDate | PlndOrderPlannedEndDate | |||
| OrderObjectInternalID | OrderObjectInternalID | |||
| OperationSetupGroup | OperationSetupGroup | Setup group key | ||
| OperationSetupGroupCategory | OperationSetupGroupCategory | Setup group cat | ||
| OperationSetupType | OperationSetupType | Setup Type Key | ||
| HorizonStartDate | HorizonStartDate | |||
| HorizonStartDatetime | HorizonStartDatetime | |||
| clientNULLendasPlantCurrentDate | ||||
| clientNULLendasPlantCurrentTime | ||||
| OrderHasConfiguration | OrderHasConfiguration | |||
| OperationLatestStartDateTime | OperationLatestStartDateTime | |||
| OperationLatestEndDateTime | OperationLatestEndDateTime | |||
| PlantTimeZone | PlantTimeZone | Time Zone | ||
| OrderType | OrderType | Order Type | ||
| OpLtstSchedldSetupStrtDteTme | OperationLatestStartDateTime | |||
| OpLtstSchedldTrdwnEndDteTme | OperationLatestEndDateTime | |||
| TotalDuration | ||||
| SetupDuration | ||||
| ProcessDuration | ||||
| TearDownDuration |
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 P_MntrWrkCtrOrderOperations.
-- 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: PMWCORDOP
CREATE VIEW P_MntrWrkCtrOrderOperations AS
SELECT
OrderID,
CapacityRequirementItem,
CapacityRqmtItemCapacity,
OrderCategory,
CapacityRequirement,
Operation,
Material,
Plant,
MRPArea,
MRPController,
LastChangeDateTime,
WorkCenterInternalID,
WorkCenter,
WorkCenterCategoryCode,
WorkCenterText,
WorkCenterTypeCode,
CapacityInternalID,
CapacityCategoryCode,
WorkCenterResponsible,
CapacityResponsiblePlanner,
OrderInternalID,
ManufacturingOrder,
PlannedOrder,
ProductionVersion,
ProductionLine,
OperationPlanningStatusCode,
ScheduledBasicStartDate,
ScheduledBasicStartTime,
ScheduledBasicEndDate,
ScheduledBasicEndTime,
OperationLatestStartDate,
OperationLatestStartTime,
LtstSchedldExecStrtDteTme,
OperationLatestEndDate,
OperationLatestEndTime,
LtstSchedldExecEndDteTme,
OpLtstSchedldProcgStrtDte,
OpLtstSchedldProcgStrtTme,
OpLtstSchedldTrdwnStrtDte,
OpLtstSchedldTrdwnStrtTme,
RequirementDate,
OrderPlannedTotalQty,
BaseUnit,
CapacityRequirementUnit,
RemCapReqOpSegSetupDurnInHours,
RemCapReqOpSegProcgDurnInHours,
RemCapReqOpSegTrdwnDurnInHours,
BOOExplosionDate,
BOMExplosionDate,
PlndOrderPlannedStartDate,
PlndOrderPlannedEndDate,
OrderObjectInternalID,
OperationSetupGroup,
OperationSetupGroupCategory,
OperationSetupType,
HorizonStartDate,
HorizonStartDatetime,
case when PlantTimeZone is null then tstmp_to_dats( tstmp_current_utctimestamp(),abap_system_timezone($session.client, 'NULL'), $session.client, 'NULL' ) when PlantTimeZone is not null then tstmp_to_dats( tstmp_current_utctimestamp(), PlantTimeZone, $session.client, 'NULL' ) end as PlantCurrentDate AS clientNULLendasPlantCurrentDate,
case when PlantTimeZone is null then tstmp_to_tims( tstmp_current_utctimestamp(), abap_system_timezone($session.client, 'NULL'), $session.client, 'NULL' ) when PlantTimeZone is not null then tstmp_to_tims( tstmp_current_utctimestamp(), PlantTimeZone, $session.client,'NULL' ) end as PlantCurrentTime AS clientNULLendasPlantCurrentTime,
OrderHasConfiguration,
OperationLatestStartDateTime,
OperationLatestEndDateTime,
PlantTimeZone,
OrderType,
OperationLatestStartDateTime AS OpLtstSchedldSetupStrtDteTme,
OperationLatestEndDateTime AS OpLtstSchedldTrdwnEndDteTme,
tstmp_seconds_between(cast(LtstSchedldExecStrtDteTme as abap.dec(15,0)), cast(LtstSchedldExecEndDteTme as abap.dec(15,0)), 'FAIL' ) AS TotalDuration,
tstmp_seconds_between(cast(LtstSchedldExecStrtDteTme as abap.dec(15,0)) , cast(LtstSchdlProcStrtDteTime as abap.dec(15,0)), 'FAIL') AS SetupDuration,
tstmp_seconds_between(cast( LtstSchdlProcStrtDteTime as abap.dec(15,0)), cast(LtstSchdlTrdwnStrtDteTime as abap.dec(15,0)), 'FAIL') AS ProcessDuration,
tstmp_seconds_between(cast(LtstSchdlTrdwnStrtDteTime as abap.dec(15,0)), cast(LtstSchedldExecEndDteTme as abap.dec(15,0)), 'FAIL') AS TearDownDuration
FROM P_MntrWrkCtrOrderOps AS PMntrWrkCtrOrd
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA