I_WorkCenterCapOrderPerBucket
Load Distribution at shift level for operations
I_WorkCenterCapOrderPerBucket is a Composite CDS View that provides data about "Load Distribution at shift level for operations" in SAP S/4HANA. It reads from 1 data source (P_WorkCenterCalcdField) and exposes 43 fields with key fields Plant, MRPController, WorkCenter, WorkCenterTypeCode, CapacityCategoryAllocation.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_WorkCenterCalcdField | CapacityPerDailyShift | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_CapEvalStartDate | datum | |
| P_CapEvalEndDate | datum | |
| P_CapEvalBucketType | char1 |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IWCCAPORDER | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Load Distribution at shift level for operations | view |
Fields (43)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Plant | P_WorkCenterCalcdField | Plant | Valuation Area |
| KEY | MRPController | P_WorkCenterCalcdField | MRPController | MRP Controller |
| KEY | WorkCenter | P_WorkCenterCalcdField | WorkCenter | Work Center |
| KEY | WorkCenterTypeCode | P_WorkCenterCalcdField | WorkCenterTypeCode | Object Type |
| KEY | CapacityCategoryAllocation | P_WorkCenterCalcdField | CapacityCategoryAllocation | |
| KEY | CapacityInternalID | P_WorkCenterCalcdField | CapacityInternalID | Capacity ID |
| KEY | Material | P_WorkCenterCalcdField | Material | Vehicle Model |
| KEY | OrderID | P_WorkCenterCalcdField | OrderID | Order ID |
| KEY | Operation | P_WorkCenterCalcdField | Operation | Transaction |
| KEY | ShiftName | P_WorkCenterCalcdField | ShiftName | |
| CapacityEvaluationTimePeriod | ||||
| CapEvalBucketType | ||||
| FactoryCalendar | P_WorkCenterCalcdField | FactoryCalendar | Factory Calendar | |
| WorkCenterResponsible | P_WorkCenterCalcdField | WorkCenterResponsible | Person Responsible | |
| WorkCenterCategoryCode | P_WorkCenterCalcdField | WorkCenterCategoryCode | Work Center Category | |
| WorkCenterInternalID | P_WorkCenterCalcdField | WorkCenterInternalID | Work Center Internal ID | |
| CapacityRequirementOrigin | P_WorkCenterCalcdField | CapacityRequirementOrigin | Requirement Origin | |
| CapacityRequirementUnit | P_WorkCenterCalcdField | CapacityRequirementUnit | Requirement Origin Unit | |
| OrderType | P_WorkCenterCalcdField | OrderType | Order Type | |
| OrderCategory | P_WorkCenterCalcdField | OrderCategory | Order Category | |
| OrderPlannedTotalQty | P_WorkCenterCalcdField | OrderPlannedTotalQty | Order Quantity | |
| BaseUnit | P_WorkCenterCalcdField | BaseUnit | Unit of Measure | |
| ProductionVersion | P_WorkCenterCalcdField | ProductionVersion | Source Of Supply | |
| OperationPlanningStatusCode | P_WorkCenterCalcdField | OperationPlanningStatusCode | Operation Planning Status Code | |
| OperationLatestStartDate | P_WorkCenterCalcdField | OperationLatestStartDate | Latest Start Date | |
| OperationLatestStartTime | P_WorkCenterCalcdField | OperationLatestStartTime | Latest Start Time | |
| OperationLatestEndDate | P_WorkCenterCalcdField | OperationLatestEndDate | Latest End Date | |
| OperationLatestEndTime | P_WorkCenterCalcdField | OperationLatestEndTime | Latest End Time | |
| OrderStatusCode | P_WorkCenterCalcdField | OrderStatusCode | Order Status Code | |
| OrderFirmingStatusCode | P_WorkCenterCalcdField | OrderFirmingStatusCode | Firming Status Code | |
| OpLtstSchedldProcgStrtDte | P_WorkCenterCalcdField | OpLtstSchedldProcgStrtDte | Scheduled Start Processing Time | |
| OpLtstSchedldProcgStrtTme | P_WorkCenterCalcdField | OpLtstSchedldProcgStrtTme | Scheduled End Processing Time | |
| OpLtstSchedldTrdwnStrtDte | P_WorkCenterCalcdField | OpLtstSchedldTrdwnStrtDte | Scheduled Start Teardown Time | |
| OpLtstSchedldTrdwnStrtTme | P_WorkCenterCalcdField | OpLtstSchedldTrdwnStrtTme | Scheduled End teardown Time | |
| RemainingCapReqOpSegSetupDurn | P_WorkCenterCalcdField | RemainingCapReqOpSegSetupDurn | Remaining Setup Duration | |
| RemainingCapReqOpSegProcgDurn | P_WorkCenterCalcdField | RemainingCapReqOpSegProcgDurn | Remaining processing Duration | |
| RemainingCapReqOpSegTrdwnDurn | P_WorkCenterCalcdField | RemainingCapReqOpSegTrdwnDurn | Remaining Teardown Duration | |
| OrderInternalID | P_WorkCenterCalcdField | OrderInternalID | Order Internal ID | |
| CapacityStartTime | Capacity Start Time | |||
| CapacityEndTime | Capacity End Time | |||
| WorkCenterAvailableCapacity | Available Capacity | |||
| WorkCenterCapRqmtInCapUnit | Consumed Capacity | |||
| WorkCenterCapacityUnit | Work Center Capacity Unit |
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 I_WorkCenterCapOrderPerBucket.
-- 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: IWCCAPORDER
-- Parameters: P_CapEvalStartDate : datum, P_CapEvalEndDate : datum, P_CapEvalBucketType : char1
CREATE VIEW I_WorkCenterCapOrderPerBucket AS
SELECT
CapacityPerDailyShift.Plant AS Plant,
CapacityPerDailyShift.MRPController AS MRPController,
CapacityPerDailyShift.WorkCenter AS WorkCenter,
CapacityPerDailyShift.WorkCenterTypeCode AS WorkCenterTypeCode,
CapacityPerDailyShift.CapacityCategoryAllocation AS CapacityCategoryAllocation,
CapacityPerDailyShift.CapacityInternalID AS CapacityInternalID,
CapacityPerDailyShift.Material AS Material,
CapacityPerDailyShift.OrderID AS OrderID,
CapacityPerDailyShift.Operation AS Operation,
CapacityPerDailyShift.ShiftName AS ShiftName,
cast('' as abap.char(10)) AS CapacityEvaluationTimePeriod,
$parameters.P_CapEvalBucketType AS CapEvalBucketType,
CapacityPerDailyShift.FactoryCalendar AS FactoryCalendar,
CapacityPerDailyShift.WorkCenterResponsible AS WorkCenterResponsible,
CapacityPerDailyShift.WorkCenterCategoryCode AS WorkCenterCategoryCode,
CapacityPerDailyShift.WorkCenterInternalID AS WorkCenterInternalID,
CapacityPerDailyShift.CapacityRequirementOrigin AS CapacityRequirementOrigin,
CapacityPerDailyShift.CapacityRequirementUnit AS CapacityRequirementUnit,
CapacityPerDailyShift.OrderType AS OrderType,
CapacityPerDailyShift.OrderCategory AS OrderCategory,
CapacityPerDailyShift.OrderPlannedTotalQty AS OrderPlannedTotalQty,
CapacityPerDailyShift.BaseUnit AS BaseUnit,
CapacityPerDailyShift.ProductionVersion AS ProductionVersion,
CapacityPerDailyShift.OperationPlanningStatusCode AS OperationPlanningStatusCode,
CapacityPerDailyShift.OperationLatestStartDate AS OperationLatestStartDate,
CapacityPerDailyShift.OperationLatestStartTime AS OperationLatestStartTime,
CapacityPerDailyShift.OperationLatestEndDate AS OperationLatestEndDate,
CapacityPerDailyShift.OperationLatestEndTime AS OperationLatestEndTime,
CapacityPerDailyShift.OrderStatusCode AS OrderStatusCode,
CapacityPerDailyShift.OrderFirmingStatusCode AS OrderFirmingStatusCode,
CapacityPerDailyShift.OpLtstSchedldProcgStrtDte AS OpLtstSchedldProcgStrtDte,
CapacityPerDailyShift.OpLtstSchedldProcgStrtTme AS OpLtstSchedldProcgStrtTme,
CapacityPerDailyShift.OpLtstSchedldTrdwnStrtDte AS OpLtstSchedldTrdwnStrtDte,
CapacityPerDailyShift.OpLtstSchedldTrdwnStrtTme AS OpLtstSchedldTrdwnStrtTme,
CapacityPerDailyShift.RemainingCapReqOpSegSetupDurn AS RemainingCapReqOpSegSetupDurn,
CapacityPerDailyShift.RemainingCapReqOpSegProcgDurn AS RemainingCapReqOpSegProcgDurn,
CapacityPerDailyShift.RemainingCapReqOpSegTrdwnDurn AS RemainingCapReqOpSegTrdwnDurn,
CapacityPerDailyShift.OrderInternalID AS OrderInternalID,
cast(CapacityPerDailyShift.CapacityStartTime as abap.dec(10,2) ) AS CapacityStartTime,
cast(CapacityPerDailyShift.CapacityEndTime as abap.dec(10,2) ) AS CapacityEndTime,
cast(0 as abap.dec(10,2)) AS WorkCenterAvailableCapacity,
cast(0 as abap.dec(10,2)) AS WorkCenterCapRqmtInCapUnit,
cast ('H' as meins) AS WorkCenterCapacityUnit
FROM P_WorkCenterCalcdField AS CapacityPerDailyShift
;
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