P_RSHWCCapacityPerWorkDay

DDL: P_RSHWCCAPACITYPERWORKDAY SQL: PRSHWCCAPPRWRKD Type: view CONSUMPTION

P_RSHWCCapacityPerWorkDay is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (P_RSHWCCapacityPerDay, P_RSHCALWORKDAYS) and exposes 20 fields with key fields CapacityInternalID, CalendarDate, CapacityStartTime, WeekDay, WorkCenterInternalID.

Data Sources (2)

SourceAliasJoin Type
P_RSHWCCapacityPerDay CapacityPerDay from
P_RSHCALWORKDAYS P_RSHCALWORKDAYS inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PRSHWCCAPPRWRKD view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY CapacityInternalID P_RSHWCCapacityPerDay CapacityInternalID Capacity ID
KEY CalendarDate P_RSHWCCapacityPerDay CalendarDate Calendar Date
KEY CapacityStartTime P_RSHWCCapacityPerDay CapacityStartTime
KEY WeekDay P_RSHWCCapacityPerDay WeekDay Weekdays
KEY WorkCenterInternalID
WorkCenter WorkCenter Work Center
WorkCenterCategoryCode WorkCenterCategoryCode
WorkCenterTypeCode WorkCenterTypeCode Object Type
Plant Plant Valuation Area
AvailableCapacityShift AvailableCapacityShift Capacity Shift
NightSplitDate NightSplitDate
AvailableCapacityIntervalDurn AvailableCapacityIntervalDurn
WorkDayRule WorkDayRule Recurrence Weekdays
CapacityBreakDuration CapacityBreakDuration
WorkDays WorkDays
CapacityEndTime CapacityEndTime
CapacityNumberOfCapacities CapacityNumberOfCapacities
CapacityPlanUtilizationPercent CapacityPlanUtilizationPercent
FactoryCalendar FactoryCalendar Factory Calendar
YearWeek YearWeek Year and Calendar Week

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_RSHWCCapacityPerWorkDay.
-- 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: PRSHWCCAPPRWRKD

CREATE VIEW P_RSHWCCapacityPerWorkDay AS
SELECT
  CapacityPerDay.CapacityInternalID AS CapacityInternalID,
  CapacityPerDay.CalendarDate AS CalendarDate,
  CapacityPerDay.CapacityStartTime AS CapacityStartTime,
  CapacityPerDay.WeekDay AS WeekDay,
  CapacityPerDay. WorkCenterInternalID AS WorkCenterInternalID,
  WorkCenter,
  WorkCenterCategoryCode,
  WorkCenterTypeCode,
  Plant,
  AvailableCapacityShift,
  NightSplitDate,
  AvailableCapacityIntervalDurn,
  WorkDayRule,
  CapacityBreakDuration,
  WorkDays,
  CapacityEndTime,
  CapacityNumberOfCapacities,
  CapacityPlanUtilizationPercent,
  FactoryCalendar,
  YearWeek
FROM P_RSHWCCapacityPerDay AS CapacityPerDay
INNER JOIN P_RSHCALWORKDAYS ON /* join condition not captured in parsed metadata */
;