I_CapacityShift
Ent Resource Capacity Interval Shift
I_CapacityShift is a Composite CDS View (Dimension) that provides data about "Ent Resource Capacity Interval Shift" in SAP S/4HANA. It reads from 2 data sources (I_CapacityBasic, I_WorkCenterCapacityShift_2) and exposes 23 fields with key fields CapacityInternalID, CapacityActiveVersion, IntervalEndDate, WeekDay, AvailableCapacityShift. It has 1 association to related views. Part of development package VDM_PP_MD_WKC.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CapacityBasic | PooledCapHeader | inner |
| I_WorkCenterCapacityShift_2 | Shift | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CapacityBasic | _EntRsceCapacity | $projection.CapacityInternalID = _EntRsceCapacity.CapacityInternalID |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Ent Resource Capacity Interval Shift | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | AvailableCapacityShift | view | |
| ObjectModel.sapObjectNodeType.name | EntRsceCapacityIntervalShift | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CapacityInternalID | I_WorkCenterCapacityShift_2 | CapacityInternalID | |
| KEY | CapacityActiveVersion | I_WorkCenterCapacityShift_2 | CapacityActiveVersion | |
| KEY | IntervalEndDate | I_WorkCenterCapacityShift_2 | IntervalEndDate | |
| KEY | WeekDay | I_WorkCenterCapacityShift_2 | WeekDay | |
| KEY | AvailableCapacityShift | |||
| IntervalStartDate | I_WorkCenterCapacityShift_2 | IntervalStartDate | ||
| WorkDayRule | I_WorkCenterCapacityShift_2 | WorkDayRule | ||
| ShiftDefinition | I_WorkCenterCapacityShift_2 | ShiftDefinition | ||
| ShiftStartTime | I_WorkCenterCapacityShift_2 | ShiftStartTime | ||
| ShiftEndTime | I_WorkCenterCapacityShift_2 | ShiftEndTime | ||
| ShiftDefValidityStartDate | I_WorkCenterCapacityShift_2 | ShiftDefValidityStartDate | ||
| ShiftDefValidityEndDate | I_WorkCenterCapacityShift_2 | ShiftDefValidityEndDate | ||
| CapacityNumberOfCapacities | I_WorkCenterCapacityShift_2 | CapacityNumberOfCapacities | ||
| CapacityPlanUtilizationPercent | I_WorkCenterCapacityShift_2 | CapacityPlanUtilizationPercent | ||
| CapacityBreakDuration | I_WorkCenterCapacityShift_2 | CapacityBreakDuration | ||
| OperatingDurationInSeconds | I_WorkCenterCapacityShift_2 | OperatingDurationInSeconds | ||
| TotOperatingDurationInSeconds | I_WorkCenterCapacityShift_2 | TotOperatingDurationInSeconds | ||
| CapacityLastChangeDateTime | I_WorkCenterCapacityShift_2 | CapacityLastChangeDateTime | ||
| _Capacity | I_WorkCenterCapacityShift_2 | _Capacity | ||
| _EntRsceCapacity | _EntRsceCapacity | |||
| _AvailableCapacityType | I_WorkCenterCapacityShift_2 | _AvailableCapacityType | ||
| _EndDate | I_WorkCenterCapacityShift_2 | _EndDate | ||
| _WeekDay | I_WorkCenterCapacityShift_2 | _WeekDay |
@ObjectModel.usageType: { serviceQuality: #C, sizeCategory: #M, dataClass: #MASTER }
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@EndUserText.label: 'Ent Resource Capacity Interval Shift'
@Analytics.dataCategory: #DIMENSION
@Analytics.dataExtraction.enabled: true
@Analytics.internalName: #LOCAL
@Metadata.allowExtensions:true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.representativeKey: 'AvailableCapacityShift'
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #EXTRACTION_DATA_SOURCE]
@ObjectModel.sapObjectNodeType.name: 'EntRsceCapacityIntervalShift'
define view entity I_CapacityShift
as select from I_WorkCenterCapacityShift_2 as Shift
inner join I_CapacityBasic as PooledCapHeader on Shift.CapacityInternalID = PooledCapHeader.CapacityInternalID
association [1..1] to I_CapacityBasic as _EntRsceCapacity on $projection.CapacityInternalID = _EntRsceCapacity.CapacityInternalID
{ @ObjectModel.foreignKey.association: '_Capacity'
key Shift.CapacityInternalID,
@ObjectModel.foreignKey.association: '_AvailableCapacityType'
key Shift.CapacityActiveVersion,
@ObjectModel.foreignKey.association: '_EndDate'
key Shift.IntervalEndDate,
@ObjectModel.foreignKey.association: '_WeekDay'
key Shift.WeekDay,
key cast(coalesce(Shift.AvailableCapacityShift,'0')as schichtnr preserving type ) as AvailableCapacityShift,
Shift.IntervalStartDate,
Shift.WorkDayRule,
Shift.ShiftDefinition,
Shift.ShiftStartTime,
Shift.ShiftEndTime,
Shift.ShiftDefValidityStartDate,
Shift.ShiftDefValidityEndDate,
Shift.CapacityNumberOfCapacities,
Shift.CapacityPlanUtilizationPercent,
Shift.CapacityBreakDuration,
Shift.OperatingDurationInSeconds,
Shift.TotOperatingDurationInSeconds,
Shift.CapacityLastChangeDateTime,
/* Associations */
Shift._Capacity,
_EntRsceCapacity,
Shift._AvailableCapacityType,
Shift._EndDate,
Shift._WeekDay
}
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