I_FsclDateFuncRangeFiscalValue
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)
| Source | Alias | Join 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)
| Name | Type | Default |
|---|---|---|
| P_DateFunction | datefunctionid |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CompanyCode | _CompanyCode | I_LedgerCompanyCodeCrcyRoles.CompanyCode = _CompanyCode.CompanyCode |
| [1..1] | I_Ledger | _Ledger | I_LedgerCompanyCodeCrcyRoles.Ledger = _Ledger.Ledger |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA