P_EvaltCapWrkCtrOpsInTimestamp
Work Center Capacities Operations
P_EvaltCapWrkCtrOpsInTimestamp is a Composite CDS View that provides data about "Work Center Capacities Operations" in SAP S/4HANA. It reads from 1 data source (P_EvaltCapWrkCtrOpsRqmtInSecs) and exposes 55 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityCategoryAllocation, CapacityInternalID, OrderID. Part of development package PPH_VDM_CAP_EVAL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_EvaltCapWrkCtrOpsRqmtInSecs | WrkCtrCapOp | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Work Center Capacities Operations | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (55)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkCenterInternalID | P_EvaltCapWrkCtrOpsRqmtInSecs | WorkCenterInternalID | Work Center |
| KEY | WorkCenterTypeCode | P_EvaltCapWrkCtrOpsRqmtInSecs | WorkCenterTypeCode | Object Type |
| KEY | CapacityCategoryAllocation | P_EvaltCapWrkCtrOpsRqmtInSecs | CapacityCategoryAllocation | |
| KEY | CapacityInternalID | P_EvaltCapWrkCtrOpsRqmtInSecs | CapacityInternalID | Capacity ID |
| KEY | OrderID | P_EvaltCapWrkCtrOpsRqmtInSecs | OrderID | Order ID |
| KEY | Operation | P_EvaltCapWrkCtrOpsRqmtInSecs | Operation | Transaction |
| KEY | CapacityRequirement | P_EvaltCapWrkCtrOpsRqmtInSecs | CapacityRequirement | |
| KEY | Material | P_EvaltCapWrkCtrOpsRqmtInSecs | Material | Vehicle Model |
| KEY | CapacityRequirementItem | P_EvaltCapWrkCtrOpsRqmtInSecs | CapacityRequirementItem | |
| Plant | P_EvaltCapWrkCtrOpsRqmtInSecs | Plant | Valuation Area | |
| CapacityCategory | P_EvaltCapWrkCtrOpsRqmtInSecs | CapacityCategory | ||
| MRPController | P_EvaltCapWrkCtrOpsRqmtInSecs | MRPController | MRP Controller | |
| WorkCenter | P_EvaltCapWrkCtrOpsRqmtInSecs | WorkCenter | Work Center | |
| WorkCenterResponsible | P_EvaltCapWrkCtrOpsRqmtInSecs | WorkCenterResponsible | ||
| WorkCenterCategoryCode | P_EvaltCapWrkCtrOpsRqmtInSecs | WorkCenterCategoryCode | ||
| CapacityRequirementOrigin | P_EvaltCapWrkCtrOpsRqmtInSecs | CapacityRequirementOrigin | ||
| CapacityRequirementUnit | P_EvaltCapWrkCtrOpsRqmtInSecs | CapacityRequirementUnit | ||
| CapacityBaseQtyUnit | P_EvaltCapWrkCtrOpsRqmtInSecs | CapacityBaseQtyUnit | ||
| OrderInternalID | P_EvaltCapWrkCtrOpsRqmtInSecs | OrderInternalID | Plan No.f.Oper. | |
| OrderType | P_EvaltCapWrkCtrOpsRqmtInSecs | OrderType | Order Type | |
| OrderCategory | ||||
| ProductionVersion | P_EvaltCapWrkCtrOpsRqmtInSecs | ProductionVersion | Version ID | |
| OrderPlannedTotalQty | P_EvaltCapWrkCtrOpsRqmtInSecs | OrderPlannedTotalQty | ||
| BaseUnit | P_EvaltCapWrkCtrOpsRqmtInSecs | BaseUnit | Unit of Measure | |
| OperationPlanningStatusCode | P_EvaltCapWrkCtrOpsRqmtInSecs | OperationPlanningStatusCode | ||
| OperationLatestStartDate | P_EvaltCapWrkCtrOpsRqmtInSecs | OperationLatestStartDate | ||
| OperationLatestStartTime | P_EvaltCapWrkCtrOpsRqmtInSecs | OperationLatestStartTime | ||
| OperationLatestEndDate | P_EvaltCapWrkCtrOpsRqmtInSecs | OperationLatestEndDate | ||
| OperationLatestEndTime | P_EvaltCapWrkCtrOpsRqmtInSecs | OperationLatestEndTime | ||
| OpLtstSchedldProcgStrtDte | P_EvaltCapWrkCtrOpsRqmtInSecs | OpLtstSchedldProcgStrtDte | ||
| OpLtstSchedldProcgStrtTme | P_EvaltCapWrkCtrOpsRqmtInSecs | OpLtstSchedldProcgStrtTme | ||
| OpLtstSchedldTrdwnStrtDte | P_EvaltCapWrkCtrOpsRqmtInSecs | OpLtstSchedldTrdwnStrtDte | ||
| OpLtstSchedldTrdwnStrtTme | P_EvaltCapWrkCtrOpsRqmtInSecs | OpLtstSchedldTrdwnStrtTme | ||
| RemainingCapReqOpSegSetupDurn | P_EvaltCapWrkCtrOpsRqmtInSecs | RemainingCapReqOpSegSetupDurn | ||
| RemainingCapReqOpSegProcgDurn | P_EvaltCapWrkCtrOpsRqmtInSecs | RemainingCapReqOpSegProcgDurn | ||
| RemainingCapReqOpSegTrdwnDurn | P_EvaltCapWrkCtrOpsRqmtInSecs | RemainingCapReqOpSegTrdwnDurn | ||
| dec102endasCapacityRequirementsAreDtmnd | ||||
| OrderStatusCode | P_EvaltCapWrkCtrOpsRqmtInSecs | OrderStatusCode | ||
| OrderFirmingStatusCode | P_EvaltCapWrkCtrOpsRqmtInSecs | OrderFirmingStatusCode | ||
| ScheduledBasicStartDate | P_EvaltCapWrkCtrOpsRqmtInSecs | ScheduledBasicStartDate | Sched. start | |
| ScheduledBasicStartTime | P_EvaltCapWrkCtrOpsRqmtInSecs | ScheduledBasicStartTime | ||
| ScheduledBasicStartDateTime | ||||
| ScheduledBasicEndDate | P_EvaltCapWrkCtrOpsRqmtInSecs | ScheduledBasicEndDate | Sched. finish | |
| ScheduledBasicEndTime | P_EvaltCapWrkCtrOpsRqmtInSecs | ScheduledBasicEndTime | ||
| ScheduledBasicEndDateTime | ||||
| CurrentDate | P_EvaltCapWrkCtrOpsRqmtInSecs | CurrentDate | ||
| LtstSchedldExecStrtDteTme | P_EvaltCapWrkCtrOpsRqmtInSecs | LtstSchedldExecStrtDteTme | ||
| LtstSchedldExecEndDteTme | P_EvaltCapWrkCtrOpsRqmtInSecs | LtstSchedldExecEndDteTme | ||
| Sequence | P_EvaltCapWrkCtrOpsRqmtInSecs | Sequence | Visit Sequence | |
| ProductConfiguration | P_EvaltCapWrkCtrOpsRqmtInSecs | ProductConfiguration | ||
| PlantTimeZone | P_EvaltCapWrkCtrOpsRqmtInSecs | PlantTimeZone | Time Zone | |
| Customer | P_EvaltCapWrkCtrOpsRqmtInSecs | Customer | Sold-to Party | |
| CustomerABCClassification | P_EvaltCapWrkCtrOpsRqmtInSecs | CustomerABCClassification | ABC class | |
| ProductGroup | P_EvaltCapWrkCtrOpsRqmtInSecs | ProductGroup | Product Sold Group | |
| MRPArea | P_EvaltCapWrkCtrOpsRqmtInSecs | MRPArea | MRP Area |
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_EvaltCapWrkCtrOpsInTimestamp.
-- 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 P_EvaltCapWrkCtrOpsInTimestamp AS
SELECT
WrkCtrCapOp.WorkCenterInternalID AS WorkCenterInternalID,
WrkCtrCapOp.WorkCenterTypeCode AS WorkCenterTypeCode,
WrkCtrCapOp.CapacityCategoryAllocation AS CapacityCategoryAllocation,
WrkCtrCapOp.CapacityInternalID AS CapacityInternalID,
WrkCtrCapOp.OrderID AS OrderID,
WrkCtrCapOp.Operation AS Operation,
WrkCtrCapOp.CapacityRequirement AS CapacityRequirement,
WrkCtrCapOp.Material AS Material,
WrkCtrCapOp.CapacityRequirementItem AS CapacityRequirementItem,
WrkCtrCapOp.Plant AS Plant,
WrkCtrCapOp.CapacityCategory AS CapacityCategory,
WrkCtrCapOp.MRPController AS MRPController,
WrkCtrCapOp.WorkCenter AS WorkCenter,
WrkCtrCapOp.WorkCenterResponsible AS WorkCenterResponsible,
WrkCtrCapOp.WorkCenterCategoryCode AS WorkCenterCategoryCode,
WrkCtrCapOp.CapacityRequirementOrigin AS CapacityRequirementOrigin,
WrkCtrCapOp.CapacityRequirementUnit AS CapacityRequirementUnit,
WrkCtrCapOp.CapacityBaseQtyUnit AS CapacityBaseQtyUnit,
WrkCtrCapOp.OrderInternalID AS OrderInternalID,
WrkCtrCapOp.OrderType AS OrderType,
cast(WrkCtrCapOp.OrderCategory as pph_cfs_sch_ordercategory) AS OrderCategory,
WrkCtrCapOp.ProductionVersion AS ProductionVersion,
WrkCtrCapOp.OrderPlannedTotalQty AS OrderPlannedTotalQty,
WrkCtrCapOp.BaseUnit AS BaseUnit,
WrkCtrCapOp.OperationPlanningStatusCode AS OperationPlanningStatusCode,
WrkCtrCapOp.OperationLatestStartDate AS OperationLatestStartDate,
WrkCtrCapOp.OperationLatestStartTime AS OperationLatestStartTime,
WrkCtrCapOp.OperationLatestEndDate AS OperationLatestEndDate,
WrkCtrCapOp.OperationLatestEndTime AS OperationLatestEndTime,
WrkCtrCapOp.OpLtstSchedldProcgStrtDte AS OpLtstSchedldProcgStrtDte,
WrkCtrCapOp.OpLtstSchedldProcgStrtTme AS OpLtstSchedldProcgStrtTme,
WrkCtrCapOp.OpLtstSchedldTrdwnStrtDte AS OpLtstSchedldTrdwnStrtDte,
WrkCtrCapOp.OpLtstSchedldTrdwnStrtTme AS OpLtstSchedldTrdwnStrtTme,
WrkCtrCapOp.RemainingCapReqOpSegSetupDurn AS RemainingCapReqOpSegSetupDurn,
WrkCtrCapOp.RemainingCapReqOpSegProcgDurn AS RemainingCapReqOpSegProcgDurn,
WrkCtrCapOp.RemainingCapReqOpSegTrdwnDurn AS RemainingCapReqOpSegTrdwnDurn,
case when WrkCtrCapOp.CapacityRequirementsAreDtmnd > 99999999 then cast(99999999.99 as abap.dec( 10,2)) else cast(WrkCtrCapOp.CapacityRequirementsAreDtmnd as abap.dec( 10,2)) end as CapacityRequirementsAreDtmnd AS dec102endasCapacityRequirementsAreDtmnd,
WrkCtrCapOp.OrderStatusCode AS OrderStatusCode,
WrkCtrCapOp.OrderFirmingStatusCode AS OrderFirmingStatusCode,
WrkCtrCapOp.ScheduledBasicStartDate AS ScheduledBasicStartDate,
WrkCtrCapOp.ScheduledBasicStartTime AS ScheduledBasicStartTime,
concat(WrkCtrCapOp.OperationLatestStartDate,WrkCtrCapOp.OperationLatestStartTime) AS ScheduledBasicStartDateTime,
WrkCtrCapOp.ScheduledBasicEndDate AS ScheduledBasicEndDate,
WrkCtrCapOp.ScheduledBasicEndTime AS ScheduledBasicEndTime,
concat(WrkCtrCapOp.OperationLatestEndDate,WrkCtrCapOp.OperationLatestEndTime) AS ScheduledBasicEndDateTime,
WrkCtrCapOp.CurrentDate AS CurrentDate,
WrkCtrCapOp.LtstSchedldExecStrtDteTme AS LtstSchedldExecStrtDteTme,
WrkCtrCapOp.LtstSchedldExecEndDteTme AS LtstSchedldExecEndDteTme,
WrkCtrCapOp.Sequence AS Sequence,
WrkCtrCapOp.ProductConfiguration AS ProductConfiguration,
WrkCtrCapOp.PlantTimeZone AS PlantTimeZone,
WrkCtrCapOp.Customer AS Customer,
WrkCtrCapOp.CustomerABCClassification AS CustomerABCClassification,
WrkCtrCapOp.ProductGroup AS ProductGroup,
WrkCtrCapOp.MRPArea AS MRPArea
FROM P_EvaltCapWrkCtrOpsRqmtInSecs AS WrkCtrCapOp
;
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