I_WorkCenterCapacity
Work Center Capacity
I_WorkCenterCapacity (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Manufacturing
I_WorkCenterCapacity is a Basic CDS View (Dimension) that provides data about "Work Center Capacity" in SAP S/4HANA. It reads from 1 data source (crca) and exposes 29 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityCategoryAllocation. It has 10 associations to related views. It is exposed through 1 OData service (PP_PO_CONF_SD). Part of development package VDM_PP_MD_WKC.
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Manufacturing |
| Application Component | PP-VDM-MD-2CL |
| Capabilities | Analytical Dimension,Association Target for Defining CDS Entities,Data Source in SQL Select,Data Source for Defining CDS Entities |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Manufacturing for SAP S/4HANA Cloud Public Edition |
| Description | <p>With this CDS view, you can retrieve the capacities that are assigned to a work center (table CRCA) by internal key. </p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li> <p>Which capacities are assigned to a work center?</p> </li> <li> <p>What are the capacity requirement formulas for a work center?</p> </li> <li> <p>What are the validity start and end dates of the capacity assignment?</p> </li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| crca | crca | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [1..1] | I_WorkCenter | _WorkCenter | $projection.WorkCenterTypeCode = _WorkCenter.WorkCenterTypeCode and $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID |
| [0..1] | I_WorkCenterBySemanticKey | _WorkCenterBySemanticKey | $projection.Plant = _WorkCenterBySemanticKey.Plant and $projection.WorkCenter = _WorkCenterBySemanticKey.WorkCenter |
| [1..1] | I_WorkCenterType | _WorkCenterTypeCode | $projection.WorkCenterTypeCode = _WorkCenterTypeCode.WorkCenterTypeCode |
| [1..1] | I_WorkCenterCategory | _WorkCenterCategory | $projection.WorkCenterCategoryCode = _WorkCenterCategory.WorkCenterCategoryCode |
| [1..1] | I_Capacity | _Capacity | $projection.CapacityInternalID = _Capacity.CapacityInternalID |
| [1..1] | I_CapacityCategory | _CapacityCategory | $projection.CapacityCategoryCode = _CapacityCategory.CapacityCategoryCode |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
| [0..1] | I_UnitOfMeasure | _CapacityQuantityUnit | $projection.CapacityQuantityUnit = _CapacityQuantityUnit.UnitOfMeasure |
| [0..1] | I_WorkCenterResponsible | _WorkCenterResponsible | $projection.Plant = _WorkCenterResponsible.Plant and $projection.WorkCenterResponsible = _WorkCenterResponsible.WorkCenterResponsible |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPPWRKCNTRCAP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | CapacityCategoryAllocation | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Work Center Capacity | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| PP_PO_CONF_SD | PP_PO_CONF_SB | V4 | C1 | NOT_TO_BE_RELEASED_STABLE |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkCenterInternalID | crca | objid | Object ID of the resource |
| KEY | WorkCenterTypeCode | crca | objty | Object types of the CIM resource |
| KEY | CapacityCategoryAllocation | Capacity Category Allocation | ||
| LastChangeDate | crca | aedat_kapa | Changed on | |
| LastChangedByUser | crca | aenam_kapa | User Name | |
| Plant | _WorkCenter | Plant | Valuation Area | |
| WorkCenter | _WorkCenter | WorkCenter | Work Center | |
| WorkCenterCategoryCode | _WorkCenter | WorkCenterCategoryCode | Work Center Category | |
| WorkCenterResponsible | _WorkCenter | WorkCenterResponsible | Person Responsible for the Work Center | |
| CapacityInternalID | crca | kapid | Capacity ID | |
| CapacityCategoryCode | _Capacity | CapacityCategoryCode | Capacity Category | |
| Capacity | _Capacity | Capacity | Engine Capacity | |
| SetupCapRequirementFormula | crca | fork1 | Formula for Setup Capacity Requirements | |
| ProcgCapRequirementFormula | crca | fork2 | Formula for Processing Capacity Requirements | |
| TeardownCapRequirementFormula | crca | fork3 | Formula for Teardown Capacity Requirements | |
| OtherCapRequirementFormula | crca | forkn | Formula for Other Capacity Requirements | |
| ValidityStartDate | crca | begda | Valid From | |
| ValidityEndDate | crca | endda | Valid To | |
| CapacityQuantityUnit | _Capacity | CapacityQuantityUnit | Capacity Unit of Measure | |
| _Plant | _Plant | |||
| _WorkCenter | _WorkCenter | |||
| _WorkCenterBySemanticKey | _WorkCenterBySemanticKey | |||
| _WorkCenterTypeCode | _WorkCenterTypeCode | |||
| _WorkCenterCategory | _WorkCenterCategory | |||
| _Capacity | _Capacity | |||
| _CapacityCategory | _CapacityCategory | |||
| _CapacityQuantityUnit | _CapacityQuantityUnit | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _WorkCenterResponsible | _WorkCenterResponsible |
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_WorkCenterCapacity.
-- 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: IPPWRKCNTRCAP
CREATE VIEW I_WorkCenterCapacity AS
SELECT
crca.objid AS WorkCenterInternalID,
crca.objty AS WorkCenterTypeCode,
cast(crca.canum as pph_cr_capnum preserving type) AS CapacityCategoryAllocation,
crca.aedat_kapa AS LastChangeDate,
crca.aenam_kapa AS LastChangedByUser,
_WorkCenter.Plant AS Plant,
_WorkCenter.WorkCenter AS WorkCenter,
_WorkCenter.WorkCenterCategoryCode AS WorkCenterCategoryCode,
_WorkCenter.WorkCenterResponsible AS WorkCenterResponsible,
crca.kapid AS CapacityInternalID,
_Capacity.CapacityCategoryCode AS CapacityCategoryCode,
_Capacity.Capacity AS Capacity,
crca.fork1 AS SetupCapRequirementFormula,
crca.fork2 AS ProcgCapRequirementFormula,
crca.fork3 AS TeardownCapRequirementFormula,
crca.forkn AS OtherCapRequirementFormula,
crca.begda AS ValidityStartDate,
crca.endda AS ValidityEndDate,
_Capacity.CapacityQuantityUnit AS CapacityQuantityUnit
FROM crca
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON WorkCenterTypeCode = _WorkCenter.WorkCenterTypeCode AND WorkCenterInternalID = _WorkCenter.WorkCenterInternalID -- association [1..1]
LEFT OUTER JOIN I_WorkCenterBySemanticKey AS _WorkCenterBySemanticKey ON Plant = _WorkCenterBySemanticKey.Plant AND WorkCenter = _WorkCenterBySemanticKey.WorkCenter -- association [0..1]
LEFT OUTER JOIN I_WorkCenterType AS _WorkCenterTypeCode ON WorkCenterTypeCode = _WorkCenterTypeCode.WorkCenterTypeCode -- association [1..1]
LEFT OUTER JOIN I_WorkCenterCategory AS _WorkCenterCategory ON WorkCenterCategoryCode = _WorkCenterCategory.WorkCenterCategoryCode -- association [1..1]
LEFT OUTER JOIN I_Capacity AS _Capacity ON CapacityInternalID = _Capacity.CapacityInternalID -- association [1..1]
LEFT OUTER JOIN I_CapacityCategory AS _CapacityCategory ON CapacityCategoryCode = _CapacityCategory.CapacityCategoryCode -- association [1..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _CapacityQuantityUnit ON CapacityQuantityUnit = _CapacityQuantityUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_WorkCenterResponsible AS _WorkCenterResponsible ON Plant = _WorkCenterResponsible.Plant AND WorkCenterResponsible = _WorkCenterResponsible.WorkCenterResponsible -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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