I_FinancialStatementHier
Financial Statement Hierarchy
I_FinancialStatementHier is a Basic CDS View (Dimension) that provides data about "Financial Statement Hierarchy" in SAP S/4HANA. It reads from 1 data source (hrrp_dir_n) and exposes 17 fields with key fields FinancialStatementHierarchy, ValidityEndDate. It has 1 association to related views.
SAP Help Documentation
| Category | CDS Views for Master Data |
|---|---|
| Data Category | Dimension |
| Status | Released |
Purpose
This CDS view retrieves header information of financial statement hierarchy and the special nodes it contains. Note The hierarchy type is FSVN (financial statement version). This CDS view provides the data to answer the following business questions: What's the ID, validity timeframe, and chart of accounts of the financial statement version? What are the included special nodes (also known as "special FS items"), such as Assets , Liabilities and Equity , Net Result: Loss , Net Result: Profit , P&L Result , and Financial Statement Notes ? When was the hierarchy last changed and by whom? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization object assigned: F_UNI_HIER ( Universal Hierarchy Access )
Structure
Important fields Important fields in this view include the following: Field Name Description ChartOfAccounts Chart of Accounts FinancialStatementHierarchy Hierarchy ID ValidityEndDate Validity End Date
SAP Business Warehouse (SAP BW) Extraction
Data extraction type Full (physical deletions are possible in source tables) Corresponding DataSource (Extractor) IFIGLACCHER
This CDS view retrieves header information of financial statement hierarchy and the special nodes it contains. Note The hierarchy type is FSVN (financial statement version). This CDS view provides the data to answer the following business questions: What's the ID, validity timeframe, and chart of accounts of the financial statement version? What are the included special nodes (also known as "special FS items"), such as Assets , Liabilities and Equity , Net Result: Loss , Net Result: Profit , P&L Result , and Financial Statement Notes ? When was the hierarchy last changed and by whom? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization object assigned: F_UNI_HIER ( Universal Hierarchy Access )
Structure
Important fields Important fields in this view include the following: Field Name Description ChartOfAccounts Chart of Accounts FinancialStatementHierarchy Hierarchy ID ValidityEndDate Validity End Date
SAP Business Warehouse (SAP BW) Extraction
Data extraction type Full (physical deletions are possible in source tables) Corresponding DataSource (Extractor) IFIGLACCHER
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| hrrp_dir_n | hrrp_dir_n | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_FinancialStatementHierT | _Text | $projection.FinancialStatementHierarchy = _Text.FinancialStatementHierarchy and $projection.ValidityEndDate = _Text.ValidityEndDate |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFIGLACCHER | view | |
| ObjectModel.representativeKey | FinancialStatementHierarchy | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Financial Statement Hierarchy | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FinancialStatementHierarchy | hrrp_dir_n | hryid_42 | Hierarchy ID |
| KEY | ValidityEndDate | |||
| HierarchyType | hrrp_dir_n | hrytyp | Hierarchy Type | |
| LastChangedByUser | hrrp_dir_n | upduser | Changed By | |
| LastChangeTime | hrrp_dir_n | updtime | Updated At | |
| LastChangeDateTime | hrrp_dir_n | updtime | Updated At | |
| _Text | _Text | |||
| ChartOfAccounts | ||||
| FinancialStatementAssetsItem | ||||
| FinStatementLiabilitiesItem | ||||
| FinancialStatementNetLossItem | ||||
| FinStatementNetProfitItem | ||||
| FinStatementProfitAndLossItem | ||||
| FinancialStatementOrphansItem | ||||
| FinancialStatementNotesItem | ||||
| GroupChartOfAccountIsUsed | ||||
| FunctionalAreaIsUsed |
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_FinancialStatementHier.
-- 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: IFIGLACCHER
CREATE VIEW I_FinancialStatementHier AS
SELECT
hrrp_dir_n.hryid_42 AS FinancialStatementHierarchy,
cast(hrrp_dir_n.hryvalto as fis_datbi preserving type ) AS ValidityEndDate,
hrrp_dir_n.hrytyp AS HierarchyType,
hrrp_dir_n.upduser AS LastChangedByUser,
hrrp_dir_n.updtime AS LastChangeTime,
hrrp_dir_n.updtime AS LastChangeDateTime,
cast( hrrp_dir_n.ktopl as char80 ) AS ChartOfAccounts,
cast( hrrp_dir_n.aktva as char80 ) AS FinancialStatementAssetsItem,
cast( hrrp_dir_n.pssva as char80 ) AS FinStatementLiabilitiesItem,
cast( hrrp_dir_n.ergak as char80 ) AS FinancialStatementNetLossItem,
cast( hrrp_dir_n.ergpa as char80 ) AS FinStatementNetProfitItem,
cast( hrrp_dir_n.erggv as char80 ) AS FinStatementProfitAndLossItem,
cast( hrrp_dir_n.zuord as char80 ) AS FinancialStatementOrphansItem,
cast( hrrp_dir_n.anhng as char80 ) AS FinancialStatementNotesItem,
cast( hrrp_dir_n.xergs as char80 ) AS GroupChartOfAccountIsUsed,
cast( hrrp_dir_n.funareaassigned as char80 ) AS FunctionalAreaIsUsed
FROM hrrp_dir_n
LEFT OUTER JOIN I_FinancialStatementHierT AS _Text ON FinancialStatementHierarchy = _Text.FinancialStatementHierarchy AND ValidityEndDate = _Text.ValidityEndDate -- association [0..*]
;
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