I_DDHistlBufProdDaysInWeekCt

DDL: I_DDHISTLBUFPRODDAYSINWEEKCT Type: view_entity COMPOSITE

DD Historical Buffer Days in Week Count

I_DDHistlBufProdDaysInWeekCt is a Composite CDS View that provides data about "DD Historical Buffer Days in Week Count" in SAP S/4HANA. It reads from 1 data source (I_CalendarDate) and exposes 4 fields with key fields YearWeek, CalendarMonth.

Data Sources (1)

SourceAliasJoin Type
I_CalendarDate I_CalendarDate from

Parameters (2)

NameTypeDefault
P_StartDate begda
P_EndDate endda

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label DD Historical Buffer Days in Week Count view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY YearWeek YearWeek Year and Calendar Week
KEY CalendarMonth CalendarMonth Calendar Month
FirstDayOfWeekDate FirstDayOfWeekDate First day of week date
NumberOfDays

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 I_DDHistlBufProdDaysInWeekCt.
-- 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.
-- Parameters: P_StartDate : begda, P_EndDate : endda

CREATE VIEW I_DDHistlBufProdDaysInWeekCt AS
SELECT
  YearWeek,
  CalendarMonth,
  FirstDayOfWeekDate,
  count(*) AS NumberOfDays
FROM I_CalendarDate
;