R_WorkCenterPooledCapShiftTP

DDL: R_WORKCENTERPOOLEDCAPSHIFTTP SQL: RWRKCTRCAPSHFTTP Type: view_entity TRANSACTIONAL Package: VDM_PP_MD_WKC

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. Part of development package VDM_PP_MD_WKC.

Data Sources (2)

SourceAliasJoin Type
I_WorkCenterPooledCapacity _PooledCapHeader inner
I_WorkCenterCapacityShift_2 _Shift from

Annotations (7)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
KEY CapacityInternalID I_WorkCenterCapacityShift_2 CapacityInternalID Capacity ID
KEY CapacityActiveVersion I_WorkCenterCapacityShift_2 CapacityActiveVersion
KEY IntervalEndDate I_WorkCenterCapacityShift_2 IntervalEndDate
KEY WeekDay I_WorkCenterCapacityShift_2 WeekDay Weekdays
KEY AvailableCapacityShift
IntervalStartDate I_WorkCenterCapacityShift_2 IntervalStartDate
WorkDayRule I_WorkCenterCapacityShift_2 WorkDayRule Recurrence Weekdays
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

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 R_WorkCenterPooledCapShiftTP.
-- 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: RWRKCTRCAPSHFTTP

CREATE VIEW R_WorkCenterPooledCapShiftTP AS
SELECT
  _Shift.CapacityInternalID AS CapacityInternalID,
  _Shift.CapacityActiveVersion AS CapacityActiveVersion,
  _Shift.IntervalEndDate AS IntervalEndDate,
  _Shift.WeekDay AS WeekDay,
  cast(coalesce(_Shift.AvailableCapacityShift,'0')as schichtnr preserving type ) AS AvailableCapacityShift,
  _Shift.IntervalStartDate AS IntervalStartDate,
  _Shift.WorkDayRule AS WorkDayRule,
  _Shift.ShiftDefinition AS ShiftDefinition,
  _Shift.ShiftStartTime AS ShiftStartTime,
  _Shift.ShiftEndTime AS ShiftEndTime,
  _Shift.ShiftDefValidityStartDate AS ShiftDefValidityStartDate,
  _Shift.ShiftDefValidityEndDate AS ShiftDefValidityEndDate,
  _Shift.CapacityNumberOfCapacities AS CapacityNumberOfCapacities,
  _Shift.CapacityPlanUtilizationPercent AS CapacityPlanUtilizationPercent,
  _Shift.CapacityBreakDuration AS CapacityBreakDuration,
  _Shift.OperatingDurationInSeconds AS OperatingDurationInSeconds,
  _Shift.TotOperatingDurationInSeconds AS TotOperatingDurationInSeconds,
  _Shift.CapacityLastChangeDateTime AS CapacityLastChangeDateTime
FROM I_WorkCenterCapacityShift_2 AS _Shift
INNER JOIN I_WorkCenterPooledCapacity AS _PooledCapHeader ON /* join condition not captured in parsed metadata */
;