I_FsclDateFuncRangeFiscalValue

DDL: I_FSCLDATEFUNCRANGEFISCALVALUE SQL: IFIFSCLDATEFUNCR Type: view COMPOSITE

Fiscal Time Ranges for Range of Fiscal Date Function

I_FsclDateFuncRangeFiscalValue is a Composite CDS View (Dimension) that provides data about "Fiscal Time Ranges for Range of Fiscal Date Function" in SAP S/4HANA. It reads from 5 data sources (I_FiscalCalendarDate, I_FiscalCalendarDate, I_Datefunction, I_FiscalDateFunctionValue, I_LedgerCompanyCodeCrcyRoles) and exposes 10 fields with key fields Ledger, CompanyCode, DateFunction. It has 2 associations to related views.

Data Sources (5)

SourceAliasJoin Type
I_FiscalCalendarDate Date1 inner
I_FiscalCalendarDate Date2 inner
I_Datefunction I_Datefunction inner
I_FiscalDateFunctionValue I_FiscalDateFunctionValue from
I_LedgerCompanyCodeCrcyRoles I_LedgerCompanyCodeCrcyRoles inner

Parameters (1)

NameTypeDefault
P_DateFunction datefunctionid

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode I_LedgerCompanyCodeCrcyRoles.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_Ledger _Ledger I_LedgerCompanyCodeCrcyRoles.Ledger = _Ledger.Ledger

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IFIFSCLDATEFUNCR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Fiscal Time Ranges for Range of Fiscal Date Function view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
VDM.viewType #COMPOSITE view
ObjectModel.representativeKey DateFunction view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Ledger I_LedgerCompanyCodeCrcyRoles Ledger Ledger
KEY CompanyCode I_LedgerCompanyCodeCrcyRoles CompanyCode Receiver Company Code
KEY DateFunction I_Datefunction DateFunction Relative Date Function
FiscalYearVariant I_LedgerCompanyCodeCrcyRoles FiscalYearVariant FY Variant
FromFiscalYear
ToFiscalYear
FiscalYearPeriodendasToFiscalYearPeriod
ToPostingDate
_CompanyCode _CompanyCode
_Ledger _Ledger

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_FsclDateFuncRangeFiscalValue.
-- 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: IFIFSCLDATEFUNCR
-- Parameters: P_DateFunction : datefunctionid

CREATE VIEW I_FsclDateFuncRangeFiscalValue AS
SELECT
  I_LedgerCompanyCodeCrcyRoles.Ledger AS Ledger,
  I_LedgerCompanyCodeCrcyRoles.CompanyCode AS CompanyCode,
  I_Datefunction.DateFunction AS DateFunction,
  I_LedgerCompanyCodeCrcyRoles.FiscalYearVariant AS FiscalYearVariant,
  cast( Date1.FiscalYear as fis_ryear_from_no_conv ) AS FromFiscalYear,
  cast( Date2.FiscalYear as fis_ryear_to_no_conv ) AS ToFiscalYear,
  case when P_MaxSpecialFiscalYearPeriod.FiscalYearPeriod is not null then P_MaxSpecialFiscalYearPeriod.FiscalYearPeriod else Date2.FiscalYearPeriod end as ToFiscalYearPeriod AS FiscalYearPeriodendasToFiscalYearPeriod,
  cast( I_FiscalDateFunctionValue.DateFunctionEndDate as fis_budat_to ) AS ToPostingDate
FROM I_FiscalDateFunctionValue
INNER JOIN I_Datefunction ON /* join condition not captured in parsed metadata */
INNER JOIN I_FiscalCalendarDate AS Date1 ON /* join condition not captured in parsed metadata */
INNER JOIN I_FiscalCalendarDate AS Date2 ON /* join condition not captured in parsed metadata */
INNER JOIN I_LedgerCompanyCodeCrcyRoles ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON I_LedgerCompanyCodeCrcyRoles.CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON I_LedgerCompanyCodeCrcyRoles.Ledger = _Ledger.Ledger  -- association [1..1]
;