I_WorkCenterCapOverviewTP
Work Center Capacity Overview
I_WorkCenterCapOverviewTP is a Transactional CDS View that provides data about "Work Center Capacity Overview" in SAP S/4HANA. It reads from 1 data source (I_WrkCtrCapByAreaOfRespy) and exposes 16 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityCategoryAllocation, CapacityInternalID. It has 2 associations to related views. Part of development package PPH_VDM_CAP_EVAL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WrkCtrCapByAreaOfRespy | _WorkCenterAOR | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_WrkCtrAvailableCapacityTP | _availableCapacity | $projection.WorkCenterInternalID = _availableCapacity.WorkCenterInternalID and $projection.WorkCenterTypeCode = _availableCapacity.WorkCenterTypeCode and $projection.CapacityCategoryAllocation = _availableCapacity.CapacityCategoryAllocation and $projection.CapacityInternalID = _availableCapacity.CapacityInternalID |
| [1..*] | I_WrkCtrCapShiftIntervalTP | _availableInterval | $projection.WorkCenterInternalID = _availableInterval.WorkCenterInternalID and $projection.WorkCenterTypeCode = _availableInterval.WorkCenterTypeCode and $projection.CapacityCategoryAllocation = _availableInterval.CapacityCategoryAllocation and $projection.CapacityInternalID = _availableInterval.CapacityInternalID |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.writeDraftPersistence | CFSWCCAPOVW_D | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.entityChangeStateId | CapacityLastChangeDateTime | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Work Center Capacity Overview | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkCenterInternalID | I_WrkCtrCapByAreaOfRespy | WorkCenterInternalID | Work Center |
| KEY | WorkCenterTypeCode | I_WrkCtrCapByAreaOfRespy | WorkCenterTypeCode | Object Type |
| KEY | CapacityCategoryAllocation | I_WrkCtrCapByAreaOfRespy | CapacityCategoryAllocation | |
| KEY | CapacityInternalID | I_WrkCtrCapByAreaOfRespy | CapacityInternalID | Capacity ID |
| LastChangeDateTime | Timestamp | |||
| Plant | Plant | Valuation Area | ||
| WorkCenter | WorkCenter | Work Center | ||
| CapacityCategoryCode | CapacityCategoryCode | |||
| Capacity | Capacity | Engine Capacity | ||
| CapacityActiveVersion | I_WrkCtrCapByAreaOfRespy | CapacityActiveVersion | ||
| WorkCenterResponsible | I_WrkCtrCapByAreaOfRespy | WorkCenterResponsible | ||
| ShiftTableHasChanged | ||||
| CapacityLastChangeDateTime | CapacityLastChangeDateTime | |||
| AreaOfRespyUserPreference | I_WrkCtrCapByAreaOfRespy | AreaOfRespyUserPreference | ||
| _availableCapacity | _availableCapacity | |||
| _availableInterval | _availableInterval |
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_WorkCenterCapOverviewTP.
-- 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 I_WorkCenterCapOverviewTP AS
SELECT
_WorkCenterAOR.WorkCenterInternalID AS WorkCenterInternalID,
_WorkCenterAOR.WorkCenterTypeCode AS WorkCenterTypeCode,
_WorkCenterAOR.CapacityCategoryAllocation AS CapacityCategoryAllocation,
_WorkCenterAOR.CapacityInternalID AS CapacityInternalID,
cast (LastChangeDateTime as dec15) AS LastChangeDateTime,
Plant,
WorkCenter,
CapacityCategoryCode,
Capacity,
_WorkCenterAOR.CapacityActiveVersion AS CapacityActiveVersion,
_WorkCenterAOR.WorkCenterResponsible AS WorkCenterResponsible,
cast('X' as boolean) AS ShiftTableHasChanged,
CapacityLastChangeDateTime,
_WorkCenterAOR.AreaOfRespyUserPreference AS AreaOfRespyUserPreference
FROM I_WrkCtrCapByAreaOfRespy AS _WorkCenterAOR
LEFT OUTER JOIN I_WrkCtrAvailableCapacityTP AS _availableCapacity ON WorkCenterInternalID = _availableCapacity.WorkCenterInternalID AND WorkCenterTypeCode = _availableCapacity.WorkCenterTypeCode AND CapacityCategoryAllocation = _availableCapacity.CapacityCategoryAllocation AND CapacityInternalID = _availableCapacity.CapacityInternalID -- association [1..*]
LEFT OUTER JOIN I_WrkCtrCapShiftIntervalTP AS _availableInterval ON WorkCenterInternalID = _availableInterval.WorkCenterInternalID AND WorkCenterTypeCode = _availableInterval.WorkCenterTypeCode AND CapacityCategoryAllocation = _availableInterval.CapacityCategoryAllocation AND CapacityInternalID = _availableInterval.CapacityInternalID -- association [1..*]
;
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