I_FinancialStatementHier

DDL: I_FINANCIALSTATEMENTHIER SQL: IFIGLACCHER Type: view BASIC

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

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

View on SAP Help Portal →

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 (16)

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

Fields (17)

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