I_FinancialStatementHierNode
Financial Statement Hierarchy Node
I_FinancialStatementHierNode (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Public Edition with built-in and side-by-side extension capabilities.
FinancialStatementHierNode · Accounting and Financial Close
I_FinancialStatementHierNode is a Basic CDS View that provides data about "Financial Statement Hierarchy Node" in SAP S/4HANA. It reads from 1 data source (P_FinancialStatementHierNode) and exposes 20 fields with key fields FinancialStatementHierarchy, HierarchyNode, ValidityEndDate. It has 4 associations to related views. Part of development package FINS_FIS_FICO.
SAP Help Documentation
| Category | CDS Views for Master Data |
|---|
This CDS view retrieves hierarchy nodes and G/L accounts (and functional areas) included in financial statement versions (FSVs). This CDS view provides the data to answer the following business questions: What's the validity timeframe of the financial statement hierarchy? Which nodes are included in the hierarchy? What is the node type, inner node or leaf node? Which G/L accounts and functional areas are included under a node? When displaying in analytical reports, such as in Balance Sheet/Income Statement - Multidimensional , is the +/- sign for totals on node level reversed? 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
Fields used for filtering The main filters are as follows: FinancialStatementHierarchy ( Hierarchy ID ) used to select the relevant financial statement version. ValidityEndDate ( Validity End Date ) used to select the relevant hierarchy version represented by validity timeframe. Further important fields Important fields in this view include the following: Field Name Description ChartOfAccounts Chart of accounts FinancialStatementNodeType Type of node: I : Inner node or normal node G : G/L account as leaf node F : Functional area as leaf node HierarchyNodeVal Value of node: Node ID, if the node type is I G/L account number, if the node type is G Functional area ID, if the node type is F SignIsInverted +/- sign change DebitCreditCode Debit/credit balance indicator: S : The G/L account or node is set with Debit Balance , which means only when with a debit balance can they be displayed under the corresponding node in analytical reports. H : The G/L account or node is set with Credit Balance , which means only when with a credit balance can they be displayed under the corresponding node in analytical reports. Empty: The G/L account or node can always display under the corresponding node.
SAP Business Warehouse (SAP BW) Extraction
Data extraction type Full (physical deletions are possible in source tables) Corresponding DataSource (Extractor) IFISTMTHERNODE
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,Data Source for Hierarchies in Analytics |
| 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 | <p>This CDS view retrieves hierarchy nodes and G/L accounts (and functional areas) included in financial statement versions (FSVs).</p> This CDS view provides the data to answer the following business questions:<ul> <li> <p>What's the validity timeframe of the financial statement hierarchy?</p> </li> <li>Which nodes are included in the hierarchy?</li> <li> <p>What is the node type, inner node or leaf node?</p> </li> <li> <p>Which G/L accounts and functional areas are included under a node?</p> </li> <li>When displaying in analytical reports, such as in Balance Sheet/Income Statement - Multidimensional, is the +/- sign for totals on node level reversed?</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 |
|---|---|---|
| P_FinancialStatementHierNode | P_FinancialStatementHierNode | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_FinancialStatementHierNodeT | _Text | $projection.FinancialStatementHierarchy = _Text.FinancialStatementHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.FinancialStatementLeafItem = '' |
| [0..1] | I_FinancialStatementLeafItem | _FinancialStatementLeafItem | $projection.FinancialStatementLeafItem = _FinancialStatementLeafItem.FinancialStatementLeafItem |
| [0..1] | I_FinancialStatementHier | _Hierarchy | $projection.FinancialStatementHierarchy = _Hierarchy.FinancialStatementHierarchy and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate |
| [0..1] | I_FinancialStatementHierNode | _ParentNode | $projection.FinancialStatementHierarchy = _ParentNode.FinancialStatementHierarchy and $projection.ValidityEndDate = _ParentNode.ValidityEndDate and $projection.ParentNode = _ParentNode.HierarchyNode |
Annotations (22)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFISTMTHERNODE | view | |
| EndUserText.label | Financial Statement Hierarchy Node | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.dataCategory | #HIERARCHY | view | |
| ObjectModel.representativeKey | HierarchyNode | view | |
| Hierarchy.parentChild.recurse.parent | ParentNode | view | |
| Hierarchy.parentChild.recurse.child | HierarchyNode | view | |
| Hierarchy.parentChild.siblingsOrder.by | HierarchyNodeSequence | view | |
| Hierarchy.parentChild.siblingsOrder.direction | ASC | view | |
| Hierarchy.parentChild.directory | _Hierarchy | 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 | |
| ObjectModel.modelingPattern | #ANALYTICAL_PARENT_CHILD_HIERARCHY_NODE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ObjectModel.sapObjectNodeType.name | FinancialStatementHierNode | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FinancialStatementHierarchy | FinancialStatementHierarchy | Hierarchy ID | |
| KEY | HierarchyNode | HierarchyNode | Hierarchy node | |
| KEY | ValidityEndDate | ValidityEndDate | Valid To Date | |
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ParentNode | ParentNode | Hierarchy parent node | ||
| HierarchyVersion | HierarchyVersion | Hierarchy version | ||
| FinancialStatementLeafItem | FinancialStatementLeafItem | Hierarchy node | ||
| SequenceNumber | SequenceNumber | Sort sequence | ||
| SignIsInverted | SignIsInverted | Type of SIGN component in row type of a Ranges type | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| FinancialStatementNodeType | FinancialStatementNodeType | Financial Statement Node Type | ||
| FinStmntNodeFormattedID | FinStmntNodeFormattedID | Hierarchy Node for Extraction | ||
| HierarchyNodeVal | HierarchyNodeVal | Node value | ||
| HierarchyNodeSequence | HierarchyNodeSequence | Hierarchy Sequence Number | ||
| HierarchyLevel | HierarchyLevel | Hierarchy Level | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| _Text | _Text | |||
| _FinancialStatementLeafItem | _FinancialStatementLeafItem | |||
| _Hierarchy | _Hierarchy | |||
| _ParentNode | _ParentNode |
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_FinancialStatementHierNode.
-- 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: IFISTMTHERNODE
CREATE VIEW I_FinancialStatementHierNode AS
SELECT
FinancialStatementHierarchy,
HierarchyNode,
ValidityEndDate,
ValidityStartDate,
ParentNode,
HierarchyVersion,
FinancialStatementLeafItem,
SequenceNumber,
SignIsInverted,
ChartOfAccounts,
FinancialStatementNodeType,
FinStmntNodeFormattedID,
HierarchyNodeVal,
HierarchyNodeSequence,
HierarchyLevel,
DebitCreditCode
FROM P_FinancialStatementHierNode
LEFT OUTER JOIN I_FinancialStatementHierNodeT AS _Text ON FinancialStatementHierarchy = _Text.FinancialStatementHierarchy AND HierarchyNode = _Text.HierarchyNode AND FinancialStatementLeafItem = '' -- association [0..*]
LEFT OUTER JOIN I_FinancialStatementLeafItem AS _FinancialStatementLeafItem ON FinancialStatementLeafItem = _FinancialStatementLeafItem.FinancialStatementLeafItem -- association [0..1]
LEFT OUTER JOIN I_FinancialStatementHier AS _Hierarchy ON FinancialStatementHierarchy = _Hierarchy.FinancialStatementHierarchy AND ValidityEndDate = _Hierarchy.ValidityEndDate -- association [0..1]
LEFT OUTER JOIN I_FinancialStatementHierNode AS _ParentNode ON FinancialStatementHierarchy = _ParentNode.FinancialStatementHierarchy AND ValidityEndDate = _ParentNode.ValidityEndDate AND ParentNode = _ParentNode.HierarchyNode -- association [0..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