P_RSHWCCapDefWthNightShiftAdjd

DDL: P_RSHWCCAPDEFWTHNIGHTSHIFTADJD Type: view_entity CONSUMPTION Package: RSH_CDS_WC_CAPACITY

Work Center Capacity with night shifts adjusted

P_RSHWCCapDefWthNightShiftAdjd is a Consumption CDS View that provides data about "Work Center Capacity with night shifts adjusted" in SAP S/4HANA. It reads from 1 data source (P_RSHWCCapDefWithShiftTime) and exposes 27 fields with key fields CapacityInternalID, ValidityEndDate, WeekDay, AvailableCapacityShift, CapacityStartTime. Part of development package RSH_CDS_WC_CAPACITY.

Data Sources (1)

SourceAliasJoin Type
P_RSHWCCapDefWithShiftTime P_RSHWCCapDefWithShiftTime from

Annotations (4)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #CONSUMPTION view
EndUserText.label Work Center Capacity with night shifts adjusted view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY CapacityInternalID CapacityInternalID Capacity ID
KEY ValidityEndDate ValidityEndDate ValidTo
KEY WeekDay WeekDay Weekdays
KEY AvailableCapacityShift AvailableCapacityShift Capacity Shift
KEY CapacityStartTime CapacityStartTime
CapacityEndTime CapacityEndTime
ValidityBeginDate ValidityBeginDate
AvailableCapacityIntervalDurn AvailableCapacityIntervalDurn
WorkDayRule WorkDayRule Recurrence Weekdays
TotOperatingDurationInSeconds TotOperatingDurationInSeconds
OperatingDurationInSeconds OperatingDurationInSeconds
CapacityBreakDuration CapacityBreakDuration
CapacityNumberOfCapacities CapacityNumberOfCapacities
CapacityPlanUtilizationPercent CapacityPlanUtilizationPercent
WorkCenterInternalID WorkCenterInternalID Work Center
WorkCenter WorkCenter Work Center
WorkCenterCategoryCode WorkCenterCategoryCode
WorkCenterTypeCode WorkCenterTypeCode Object Type
Plant Plant Valuation Area
FactoryCalendar FactoryCalendar Factory Calendar
CapacityActiveVersion CapacityActiveVersion
IntervalValidityEndDate IntervalValidityEndDate
ShiftValidityEndDate ShiftValidityEndDate
ShiftDefinition ShiftDefinition
ShiftDefinitionName ShiftDefinitionName
ShiftStartTime ShiftStartTime
ShiftEndTime ShiftEndTime

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 P_RSHWCCapDefWthNightShiftAdjd.
-- 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 P_RSHWCCapDefWthNightShiftAdjd AS
SELECT
  CapacityInternalID,
  ValidityEndDate,
  WeekDay,
  AvailableCapacityShift,
  CapacityStartTime,
  CapacityEndTime,
  ValidityBeginDate,
  AvailableCapacityIntervalDurn,
  WorkDayRule,
  TotOperatingDurationInSeconds,
  OperatingDurationInSeconds,
  CapacityBreakDuration,
  CapacityNumberOfCapacities,
  CapacityPlanUtilizationPercent,
  WorkCenterInternalID,
  WorkCenter,
  WorkCenterCategoryCode,
  WorkCenterTypeCode,
  Plant,
  FactoryCalendar,
  CapacityActiveVersion,
  IntervalValidityEndDate,
  ShiftValidityEndDate,
  ShiftDefinition,
  ShiftDefinitionName,
  ShiftStartTime,
  ShiftEndTime
FROM P_RSHWCCapDefWithShiftTime
;