I_FinStmntItmHierDir

DDL: I_FINSTMNTITMHIERDIR Type: view BASIC

FSItem Hierarchy Directory

I_FinStmntItmHierDir is a Basic CDS View (Dimension) that provides data about "FSItem Hierarchy Directory" in SAP S/4HANA. It reads from 1 data source (hrrp_dir_n) and exposes 10 fields with key fields ConsolidationChartOfAccounts, FinancialStatementItemHier. It has 3 associations to related views.

SAP Help Documentation

CategoryCDS Views for Master Data
Data CategoryDimension
StatusReleased
Purpose
This CDS view provides access to the master data of the hierarchy of the financial statement item. This CDS view provides the prerequisites for answering the following business questions: What hierarchies on financial statement item do exist and in which consolidation chart of accounts are they defined? When was the hierarchy changed and by which user?

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
hrrp_dir_n _hrrp_dir_n from

Associations (3)

CardinalityTargetAliasCondition
[1..*] I_FinStmntItmHierDirT _Text $projection.FinancialStatementItemHier = _Text.FinancialStatementItemHier and $projection.ConsolidationChartOfAccounts = _Text.ConsolidationChartOfAccounts
[1..*] I_FinStmntItmHierDirT _Text_2 $projection.FinancialStatementItemHier = _Text_2.FinancialStatementItemHier and $projection.ConsolidationChartOfAccounts = _Text_2.ConsolidationChartOfAccounts and $projection.AdditionalMasterDataHierarchy = _Text_2.AdditionalMasterDataHierarchy
[0..1] I_CnsldtnChartOfAccounts _ChartOfAccounts $projection.ConsolidationChartOfAccounts = _ChartOfAccounts.ConsolidationChartOfAccounts

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName ICCFSITMHIERDIR view
Analytics.dataCategory #DIMENSION view
AccessControl.authorizationCheck #MANDATORY view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey FinancialStatementItemHier view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label FSItem Hierarchy Directory view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationChartOfAccounts
KEY FinancialStatementItemHier
AdditionalMasterDataHierarchy
LastChangedByUser hrrp_dir_n upduser Changed By
LastChangeTime hrrp_dir_n updtime Updated At
LastChangeDateTime hrrp_dir_n updtime Updated At
HierarchyType hrrp_dir_n hrytyp Hierarchy Type
_Text _Text
_Text_2 _Text_2
_ChartOfAccounts _ChartOfAccounts

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

CREATE VIEW I_FinStmntItmHierDir AS
SELECT
  cast( _hrrp_dir_n.itclg as fc_itclg preserving type ) AS ConsolidationChartOfAccounts,
  cast( substring( _hrrp_dir_n.hryid, 9, 10 ) as fc_ithry preserving type ) AS FinancialStatementItemHier,
  cast(_hrrp_dir_n.hryid as fincs_hryid preserving type ) AS AdditionalMasterDataHierarchy,
  _hrrp_dir_n.upduser AS LastChangedByUser,
  _hrrp_dir_n.updtime AS LastChangeTime,
  _hrrp_dir_n.updtime AS LastChangeDateTime,
  _hrrp_dir_n.hrytyp AS HierarchyType
FROM hrrp_dir_n AS _hrrp_dir_n
LEFT OUTER JOIN I_FinStmntItmHierDirT AS _Text ON FinancialStatementItemHier = _Text.FinancialStatementItemHier AND ConsolidationChartOfAccounts = _Text.ConsolidationChartOfAccounts  -- association [1..*]
LEFT OUTER JOIN I_FinStmntItmHierDirT AS _Text_2 ON FinancialStatementItemHier = _Text_2.FinancialStatementItemHier AND ConsolidationChartOfAccounts = _Text_2.ConsolidationChartOfAccounts AND AdditionalMasterDataHierarchy = _Text_2.AdditionalMasterDataHierarchy  -- association [1..*]
LEFT OUTER JOIN I_CnsldtnChartOfAccounts AS _ChartOfAccounts ON ConsolidationChartOfAccounts = _ChartOfAccounts.ConsolidationChartOfAccounts  -- association [0..1]
;