P_FiscalYearWeekGroup

DDL: P_FISCALYEARWEEKGROUP Type: view_entity COMPOSITE Package: FINS_PERIOD_VDM

P_FiscalYearWeekGroup

P_FiscalYearWeekGroup is a Composite CDS View that provides data about "P_FiscalYearWeekGroup" in SAP S/4HANA. It reads from 1 data source (I_FiscalCalendarDate) and exposes 9 fields with key fields FiscalYearVariant, FiscalYearWeek. Part of development package FINS_PERIOD_VDM.

Data Sources (1)

SourceAliasJoin Type
I_FiscalCalendarDate I_FiscalCalendarDate from

Annotations (4)

NameValueLevelField
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY FiscalYearVariant I_FiscalCalendarDate FiscalYearVariant FY Variant
KEY FiscalYearWeek I_FiscalCalendarDate FiscalYearWeek Fiscal YWeek
FiscalWeek I_FiscalCalendarDate FiscalWeek Fiscal Week
FiscalWeekStartDate I_FiscalCalendarDate FiscalWeekStartDate Strt Fscl Week
FiscalWeekEndDate I_FiscalCalendarDate FiscalWeekEndDate End Fscl Week
FiscalWeekConsecutiveNumber I_FiscalCalendarDate FiscalWeekConsecutiveNumber Fiscal Week Number
NextFsclWeekConsecutiveNmbr
PrevFsclWeekConsecutiveNmbr
_FiscalYearVariant I_FiscalCalendarDate _FiscalYearVariant

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_FiscalYearWeekGroup.
-- 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_FiscalYearWeekGroup AS
SELECT
  I_FiscalCalendarDate.FiscalYearVariant AS FiscalYearVariant,
  I_FiscalCalendarDate.FiscalYearWeek AS FiscalYearWeek,
  I_FiscalCalendarDate.FiscalWeek AS FiscalWeek,
  I_FiscalCalendarDate.FiscalWeekStartDate AS FiscalWeekStartDate,
  I_FiscalCalendarDate.FiscalWeekEndDate AS FiscalWeekEndDate,
  I_FiscalCalendarDate.FiscalWeekConsecutiveNumber AS FiscalWeekConsecutiveNumber,
  I_FiscalCalendarDate.FiscalWeekConsecutiveNumber + 1 AS NextFsclWeekConsecutiveNmbr,
  I_FiscalCalendarDate.FiscalWeekConsecutiveNumber - 1 AS PrevFsclWeekConsecutiveNmbr,
  I_FiscalCalendarDate._FiscalYearVariant AS _FiscalYearVariant
FROM I_FiscalCalendarDate
;