SHIDCN_FinStmntHierarchyQT
Statement Items Text in Structure
SHIDCN_FinStmntHierarchyQT is a CDS View that provides data about "Statement Items Text in Structure" in SAP S/4HANA. It reads from 3 data sources (R_HierRuntimeRepresentation, R_HierRuntimeRprstnNode, R_HierRuntimeRprstnAttrib) and exposes 6 fields with key fields VERSN, SPRAS, HierarchyNodeValendasergslasERGSL, TXTYP, ZEILE. It has 1 association to related views. Part of development package ID-FI-CN.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| R_HierRuntimeRepresentation | dir | left_outer |
| R_HierRuntimeRprstnNode | R_HierRuntimeRprstnNode | from |
| R_HierRuntimeRprstnAttrib | source | left_outer |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | R_HierRuntimeRprstnNodeText | _Text | R_HierRuntimeRprstnNode.HierarchyID = _Text.HierarchyID and R_HierRuntimeRprstnNode.HierarchyVersion = _Text.HierarchyVersion and R_HierRuntimeRprstnNode.ValidityEndDate = _Text.ValidityEndDate and R_HierRuntimeRprstnNode.HierarchyNode = _Text.HierarchyNode and R_HierRuntimeRprstnNode.HierarchyNodeClass = _Text.HierarchyNodeClass and R_HierRuntimeRprstnNode.ParentNode = _Text.ParentNode |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IDCNHIERQT | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Statement Items Text in Structure | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | VERSN | |||
| KEY | SPRAS | _Text | Language | Report Text Language |
| KEY | HierarchyNodeValendasergslasERGSL | |||
| KEY | TXTYP | |||
| KEY | ZEILE | |||
| TXT45 |
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 SHIDCN_FinStmntHierarchyQT.
-- 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 SHIDCN_FinStmntHierarchyQT AS
SELECT
cast ( R_HierRuntimeRprstnNode.HierarchyID as versn_011 ) AS VERSN,
_Text.Language AS SPRAS,
cast ( case when R_HierRuntimeRprstnNode.HierarchyNodeVal = '0ASSETS' then dir.FinancialStatementAssetsItem when R_HierRuntimeRprstnNode.HierarchyNodeVal = '0LIABILITS' then dir.FinStatementLiabilitiesItem when R_HierRuntimeRprstnNode.HierarchyNodeVal = '0BSLOSS' then dir.FinancialStatementNetLossItem when R_HierRuntimeRprstnNode.HierarchyNodeVal = '0BSPROFIT' then dir.FinStatementNetProfitItem when R_HierRuntimeRprstnNode.HierarchyNodeVal = '0PLPROFIT' then dir.FinStatementProfitAndLossItem when R_HierRuntimeRprstnNode.HierarchyNodeVal = '0NOTASSGND' then dir.FinancialStatementOrphansItem when R_HierRuntimeRprstnNode.HierarchyNodeVal = '0BSNOTES' then dir.FinancialStatementNotesItem else R_HierRuntimeRprstnNode.HierarchyNodeVal end as ergsl ) as ERGSL AS HierarchyNodeValendasergslasERGSL,
cast ('K' as txtyp_011q ) AS TXTYP,
cast ('1' as dzeile_011 ) AS ZEILE,
cast ( _Text.HierarchyNodeText as txt45_011q ) AS TXT45
FROM R_HierRuntimeRprstnNode
LEFT OUTER JOIN R_HierRuntimeRprstnAttrib AS source ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_HierRuntimeRepresentation AS dir ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_HierRuntimeRprstnNodeText AS _Text ON R_HierRuntimeRprstnNode.HierarchyID = _Text.HierarchyID AND R_HierRuntimeRprstnNode.HierarchyVersion = _Text.HierarchyVersion AND R_HierRuntimeRprstnNode.ValidityEndDate = _Text.ValidityEndDate AND R_HierRuntimeRprstnNode.HierarchyNode = _Text.HierarchyNode AND R_HierRuntimeRprstnNode.HierarchyNodeClass = _Text.HierarchyNodeClass AND R_HierRuntimeRprstnNode.ParentNode = _Text.ParentNode -- association [0..*]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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