P_CurrentDateRange

DDL: P_CURRENTDATERANGE Type: view CONSUMPTION

P_CurrentDateRange is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_CalendarDateCalculation) and exposes 5 fields with key field CalendarDate.

Data Sources (1)

SourceAliasJoin Type
P_CalendarDateCalculation P_CalendarDateCalculation from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PCURDATERANGE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.sizeCategory #L view
VDM.private true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CalendarDate CalendarDate Calendar Date
CalendarMonth CalendarMonth Calendar Month
_CalendarMonth _CalendarMonth
YearMonth YearMonth Year Month
CalendarYear CalendarYear Year

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_CurrentDateRange.
-- 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_CurrentDateRange AS
SELECT
  CalendarDate,
  CalendarMonth,
  YearMonth,
  CalendarYear
FROM P_CalendarDateCalculation
;