I_WorkCenterCapacity_2
Work Center Capacity
I_WorkCenterCapacity_2 is a Composite CDS View that provides data about "Work Center Capacity" in SAP S/4HANA. It reads from 2 data sources (I_Capacity, I_WorkCenterCapacity) and exposes 40 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityCategoryAllocation, CapacityInternalID.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_Capacity | _Cap | from |
| I_WorkCenterCapacity | _CapMap | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IWRKCTRCAP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Work Center Capacity | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkCenterInternalID | I_WorkCenterCapacity | WorkCenterInternalID | |
| KEY | WorkCenterTypeCode | I_WorkCenterCapacity | WorkCenterTypeCode | |
| KEY | CapacityCategoryAllocation | I_WorkCenterCapacity | CapacityCategoryAllocation | |
| KEY | CapacityInternalID | I_Capacity | CapacityInternalID | |
| LastChangeDate | LastChangeDate | |||
| LastChangedByUser | LastChangedByUser | |||
| WorkCenter | WorkCenter | |||
| ObjectDescription | ||||
| WorkCenterCategoryCode | WorkCenterCategoryCode | |||
| SetupCapRequirementFormula | SetupCapRequirementFormula | |||
| ProcgCapRequirementFormula | ProcgCapRequirementFormula | |||
| TeardownCapRequirementFormula | TeardownCapRequirementFormula | |||
| OtherCapRequirementFormula | OtherCapRequirementFormula | |||
| ValidityStartDate | ValidityStartDate | |||
| ValidityEndDate | ValidityEndDate | |||
| WorkCenterLastChangeDateTime | WorkCenterLastChangeDateTime | |||
| Capacity | I_Capacity | Capacity | ||
| CapacityCategoryCode | I_Capacity | CapacityCategoryCode | ||
| CapacityActiveVersion | CapacityActiveVersion | |||
| CapacityIsFinite | CapacityIsFinite | |||
| CapacityIsPooled | CapacityIsPooled | |||
| CapacityHasIndivCapacities | CapacityHasIndivCapacities | |||
| CapacityIsExcldFrmLongTermPlng | CapacityIsExcldFrmLongTermPlng | |||
| CapacityNumberOfCapacities | CapacityNumberOfCapacities | |||
| CapacityResponsiblePlanner | CapacityResponsiblePlanner | |||
| CapacityPlanUtilizationPercent | CapacityPlanUtilizationPercent | |||
| CapacityBreakDuration | CapacityBreakDuration | |||
| Plant | I_Capacity | Plant | ||
| FactoryCalendar | FactoryCalendar | |||
| AuthorizationGroup | AuthorizationGroup | |||
| ShiftGroup | ShiftGroup | |||
| CapacityStartTimeID | CapacityStartTimeID | |||
| CapacityEndTimeID | CapacityEndTimeID | |||
| CapIsUsedInMultiOperations | CapIsUsedInMultiOperations | |||
| ReferencedCapacityInternalID | ReferencedCapacityInternalID | |||
| CapOverloadThresholdInPercent | CapOverloadThresholdInPercent | |||
| CapacityQuantityUnit | I_Capacity | CapacityQuantityUnit | ||
| CapacityBaseQtyUnit | CapacityBaseQtyUnit | |||
| CapacityText | ||||
| CapacityLastChangeDateTime | CapacityLastChangeDateTime |
@AbapCatalog.sqlViewName: 'IWRKCTRCAP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Work Center Capacity'
@ObjectModel.usageType: { serviceQuality: #C, sizeCategory: #M, dataClass: #MASTER }
@VDM.viewType: #COMPOSITE
define view I_WorkCenterCapacity_2
as select from I_Capacity as _Cap
inner join I_WorkCenterCapacity as _CapMap on _Cap.CapacityInternalID = _CapMap.CapacityInternalID
{
key _CapMap.WorkCenterInternalID as WorkCenterInternalID,
key _CapMap.WorkCenterTypeCode as WorkCenterTypeCode,
key _CapMap.CapacityCategoryAllocation as CapacityCategoryAllocation,
key _Cap.CapacityInternalID as CapacityInternalID,
// Capacity Alloc Attributes
LastChangeDate,
LastChangedByUser,
WorkCenter,
_CapMap._WorkCenter._Text[1:Language=$session.system_language].WorkCenterText as ObjectDescription,
WorkCenterCategoryCode,
SetupCapRequirementFormula,
ProcgCapRequirementFormula,
TeardownCapRequirementFormula,
OtherCapRequirementFormula,
ValidityStartDate,
ValidityEndDate,
WorkCenterLastChangeDateTime,
// Capacity Attributes
_Cap.Capacity,
_Cap.CapacityCategoryCode,
CapacityActiveVersion,
CapacityIsFinite,
CapacityIsPooled,
CapacityHasIndivCapacities,
CapacityIsExcldFrmLongTermPlng,
CapacityNumberOfCapacities,
CapacityResponsiblePlanner,
CapacityPlanUtilizationPercent,
CapacityBreakDuration,
// Assignments
_Cap.Plant,
FactoryCalendar,
AuthorizationGroup,
ShiftGroup,
// Times
@Semantics.durationInHours:true
CapacityStartTimeID,
@Semantics.durationInHours:true
CapacityEndTimeID,
CapIsUsedInMultiOperations,
ReferencedCapacityInternalID,
CapOverloadThresholdInPercent,
// Unit of Measures
@Semantics.unitOfMeasure: true
_Cap.CapacityQuantityUnit,
@Semantics.unitOfMeasure: true
CapacityBaseQtyUnit,
// Capacity Description
_Cap._Text[1:Language=$session.system_language].CapacityText as CapacityText,
CapacityLastChangeDateTime
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CAPACITY",
"I_CAPACITYTEXT",
"I_WORKCENTER",
"I_WORKCENTERCAPACITY",
"I_WORKCENTERTEXT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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