R_WorkCenterPooledCapShiftTP
Work Center Pooled Capacity Shift
R_WorkCenterPooledCapShiftTP is a Transactional CDS View that provides data about "Work Center Pooled Capacity Shift" in SAP S/4HANA. It reads from 2 data sources (I_WorkCenterPooledCapacity, I_WorkCenterCapacityShift_2) and exposes 20 fields with key fields CapacityInternalID, CapacityActiveVersion, IntervalEndDate, WeekDay, AvailableCapacityShift.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkCenterPooledCapacity | _PooledCapHeader | inner |
| I_WorkCenterCapacityShift_2 | _Shift | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Work Center Pooled Capacity Shift | view |
Fields (20)
| 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 | ||
| _Interval | _Interval | |||
| _Header | _Header |
//@AbapCatalog.sqlViewName: 'RWRKCTRCAPSHFTTP'
//@AbapCatalog.compiler.compareFilter: true
//@AbapCatalog.preserveKey: true
//@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: { serviceQuality: #C, sizeCategory: #M, dataClass: #MASTER }
@VDM: { viewType: #TRANSACTIONAL, lifecycle.contract.type: #SAP_INTERNAL_API }
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Work Center Pooled Capacity Shift'
define view entity R_WorkCenterPooledCapShiftTP
as select from I_WorkCenterCapacityShift_2 as _Shift
inner join I_WorkCenterPooledCapacity as _PooledCapHeader on _Shift.CapacityInternalID = _PooledCapHeader.CapacityInternalID
association to R_WorkCenterPooledCapacityTP as _Header on $projection.CapacityInternalID = _Header.CapacityInternalID
association to parent R_WrkCtrPooledCapIntervalTP as _Interval on $projection.CapacityInternalID = _Interval.CapacityInternalID
and $projection.CapacityActiveVersion = _Interval.CapacityActiveVersion
and $projection.IntervalEndDate = _Interval.IntervalEndDate
{
key _Shift.CapacityInternalID,
key _Shift.CapacityActiveVersion,
key _Shift.IntervalEndDate,
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 */
_Interval,
_Header
}
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