P_RSHCalWorkDaysTimeFrame

DDL: P_RSHCALWORKDAYSTIMEFRAME SQL: PRSHCALWDTF Type: view CONSUMPTION

P_RSHCalWorkDaysTimeFrame is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_RSHCALWORKDAYS) and exposes 4 fields with key fields Client, WorkDays, CalendarDate, CapacityInternalID.

Data Sources (1)

SourceAliasJoin Type
P_RSHCALWORKDAYS P_RSHCALWORKDAYS from

Parameters (2)

NameTypeDefault
P_StartDate datum
P_EndDate datum

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PRSHCALWDTF view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Client isWorkDay client Workflow definition: Client
KEY WorkDays isWorkDay WorkDays
KEY CalendarDate isWorkDay CalendarDate Calendar Date
KEY CapacityInternalID isWorkDay CapacityInternalID Capacity ID

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_RSHCalWorkDaysTimeFrame.
-- 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: PRSHCALWDTF
-- Parameters: P_StartDate : datum, P_EndDate : datum

CREATE VIEW P_RSHCalWorkDaysTimeFrame AS
SELECT
  isWorkDay.client AS Client,
  isWorkDay.WorkDays AS WorkDays,
  isWorkDay.CalendarDate AS CalendarDate,
  isWorkDay.CapacityInternalID AS CapacityInternalID
FROM P_RSHCALWORKDAYS
;