I_FinancialStatementHier
Financial Statement Hierarchy
I_FinancialStatementHier (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Public Edition with built-in and side-by-side extension capabilities.
Financial Statement Hierarchy · Accounting and Financial Close
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. It is exposed through 12 OData services (ASQL_F0859, ASQL_F2873, ASQL_F3940, ...). Part of development package FINS_FIS_FICO.
SAP Help Documentation
| Category | CDS Views for Master Data |
|---|---|
| Data Category | Dimension |
| Status | Released |
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 The following business catalog needs to be assigned to a user to be able to use this CDS view: SAP_FIN_BC_GL_REPORTING_PC (General Ledger - Reporting)
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
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Accounting and Financial Close |
| Application Component | FI-GL-GL-N |
| Capabilities | Data Source for Data Extraction,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities,Analytical Dimension |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Accounting and Financial Close for SAP S/4HANA Cloud Public Edition |
| Description | This CDS view retrieves header information of financial statement hierarchy and the special nodes it contains. This CDS view provides the data to answer the following business questions:<ul> <li> <p>What's the ID, validity timeframe, and chart of accounts of the financial statement version?</p> </li> <li> <p>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?</p> </li> <li> <p>When was the hierarchy last changed and by whom?</p> </li> </ul> <p>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.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
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 (17)
| 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 | |
| ObjectModel.sapObjectNodeType.name | FinancialStatementHierarchy | view |
OData Services (12)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F0859 | ASQL_F0859 | C2 | NOT_RELEASED | |
| ASQL_F2873 | ASQL_F2873 | C2 | NOT_RELEASED | |
| ASQL_F3940 | ASQL_F3940 | C2 | NOT_RELEASED | |
| ASQL_F4095 | ASQL_F4095 | C2 | NOT_RELEASED | |
| ASQL_F4173A | ASQL_F4173A | C2 | NOT_RELEASED | |
| ASQL_F4657 | ASQL_F4657 | C2 | NOT_RELEASED | |
| ASQL_F6852 | ASQL_F6852 | C2 | NOT_RELEASED | |
| ASQL_F6951 | ASQL_F6951 | C2 | NOT_RELEASED | |
| ASQL_F7308 | ASQL_F7308 | C2 | NOT_RELEASED | |
| ASQL_F7321 | ASQL_F7321 | C2 | NOT_RELEASED | |
| ASQL_F7334 | ASQL_F7334 | C2 | NOT_RELEASED | |
| ASQL_F7900 | ASQL_F7900 | C2 | NOT_RELEASED |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FinancialStatementHierarchy | hrrp_dir_n | hryid_42 | Hierarchy ID |
| KEY | ValidityEndDate | Validity End Date | ||
| HierarchyType | hrrp_dir_n | hrytyp | Hierarchy Type | |
| LastChangedByUser | hrrp_dir_n | upduser | Last Changed By | |
| LastChangeTime | hrrp_dir_n | updtime | Last Updated At (Timestamp) | |
| LastChangeDateTime | hrrp_dir_n | updtime | Last Updated At (Timestamp) | |
| _Text | _Text | |||
| ChartOfAccounts | Char 80 | |||
| FinancialStatementAssetsItem | Char 80 | |||
| FinStatementLiabilitiesItem | Char 80 | |||
| FinancialStatementNetLossItem | Char 80 | |||
| FinStatementNetProfitItem | Char 80 | |||
| FinStatementProfitAndLossItem | Char 80 | |||
| FinancialStatementOrphansItem | Char 80 | |||
| FinancialStatementNotesItem | Char 80 | |||
| GroupChartOfAccountIsUsed | Char 80 | |||
| FunctionalAreaIsUsed | Char 80 |
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
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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