I_FinancialStatementHier

DDL: I_FINANCIALSTATEMENTHIER SQL: IFIGLACCHER Type: view BASIC Package: FINS_FIS_FICO

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

CategoryCDS Views for Master Data
Data CategoryDimension
StatusReleased
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 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

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-GL-GL-N
CapabilitiesData 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
PackageAccounting 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&amp;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

Data Sources (1)

SourceAliasJoin Type
hrrp_dir_n hrrp_dir_n from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_FinancialStatementHierT _Text $projection.FinancialStatementHierarchy = _Text.FinancialStatementHierarchy and $projection.ValidityEndDate = _Text.ValidityEndDate

Annotations (17)

NameValueLevelField
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)

ServiceBindingVersionContractRelease
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)

KeyFieldSource TableSource FieldDescription
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..*]
;