I_FinStmntItmHierDir
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
| Category | CDS Views for Master Data |
|---|---|
| Data Category | Dimension |
| Status | Released |
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?
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?
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| hrrp_dir_n | _hrrp_dir_n | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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