I_FinancialStatementHierNode
Financial Statement Hierarchy Node
I_FinancialStatementHierNode is a Basic CDS View that provides data about "Financial Statement Hierarchy Node" in SAP S/4HANA. It reads from 1 data source (P_FinancialStatementHierNode) and exposes 20 fields with key fields FinancialStatementHierarchy, HierarchyNode, ValidityEndDate. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_FinancialStatementHierNode | P_FinancialStatementHierNode | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_FinancialStatementHierNodeT | _Text | $projection.FinancialStatementHierarchy = _Text.FinancialStatementHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.FinancialStatementLeafItem = '' |
| [0..1] | I_FinancialStatementLeafItem | _FinancialStatementLeafItem | $projection.FinancialStatementLeafItem = _FinancialStatementLeafItem.FinancialStatementLeafItem |
| [0..1] | I_FinancialStatementHier | _Hierarchy | $projection.FinancialStatementHierarchy = _Hierarchy.FinancialStatementHierarchy and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate |
| [0..1] | I_FinancialStatementHierNode | _ParentNode | $projection.FinancialStatementHierarchy = _ParentNode.FinancialStatementHierarchy and $projection.ValidityEndDate = _ParentNode.ValidityEndDate and $projection.ParentNode = _ParentNode.HierarchyNode |
Annotations (21)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFISTMTHERNODE | view | |
| EndUserText.label | Financial Statement Hierarchy Node | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.dataCategory | #HIERARCHY | view | |
| ObjectModel.representativeKey | HierarchyNode | view | |
| Hierarchy.parentChild.recurse.parent | ParentNode | view | |
| Hierarchy.parentChild.recurse.child | HierarchyNode | view | |
| Hierarchy.parentChild.siblingsOrder.by | HierarchyNodeSequence | view | |
| Hierarchy.parentChild.siblingsOrder.direction | ASC | view | |
| Hierarchy.parentChild.directory | _Hierarchy | 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 | |
| ObjectModel.modelingPattern | #ANALYTICAL_PARENT_CHILD_HIERARCHY_NODE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| Analytics.dataExtraction.enabled | true | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FinancialStatementHierarchy | FinancialStatementHierarchy | ||
| KEY | HierarchyNode | HierarchyNode | ||
| KEY | ValidityEndDate | ValidityEndDate | ||
| ValidityStartDate | ValidityStartDate | |||
| ParentNode | ParentNode | |||
| HierarchyVersion | HierarchyVersion | |||
| FinancialStatementLeafItem | FinancialStatementLeafItem | |||
| SequenceNumber | SequenceNumber | |||
| SignIsInverted | SignIsInverted | |||
| ChartOfAccounts | ChartOfAccounts | |||
| FinancialStatementNodeType | FinancialStatementNodeType | |||
| FinStmntNodeFormattedID | FinStmntNodeFormattedID | |||
| HierarchyNodeVal | HierarchyNodeVal | |||
| HierarchyNodeSequence | HierarchyNodeSequence | |||
| HierarchyLevel | HierarchyLevel | |||
| DebitCreditCode | DebitCreditCode | |||
| _Text | _Text | |||
| _FinancialStatementLeafItem | _FinancialStatementLeafItem | |||
| _Hierarchy | _Hierarchy | |||
| _ParentNode | _ParentNode |
@AbapCatalog.sqlViewName: 'IFISTMTHERNODE'
@EndUserText.label: 'Financial Statement Hierarchy Node'
@VDM.viewType: #BASIC
@ObjectModel: { dataCategory: #HIERARCHY }
@ObjectModel.representativeKey: 'HierarchyNode'
@Hierarchy.parentChild:
{
recurse:
{
parent: 'ParentNode',
child: 'HierarchyNode'
},
siblingsOrder:
{
by: 'HierarchyNodeSequence',
direction: 'ASC'
},
directory: '_Hierarchy'
}
@AccessControl.authorizationCheck: #CHECK
@AbapCatalog.buffering.status: #NOT_ALLOWED
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #ANALYTICAL_PARENT_CHILD_HIERARCHY_NODE
@ObjectModel.supportedCapabilities: [#CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET,#ANALYTICAL_PARENT_CHILD_HIERARCHY_NODE, #EXTRACTION_DATA_SOURCE]
@AbapCatalog.compiler.compareFilter:true
@AbapCatalog.preserveKey:true
@Analytics.dataExtraction.enabled: true
define view I_FinancialStatementHierNode
as select from P_FinancialStatementHierNode
association [0..*] to I_FinancialStatementHierNodeT as _Text on $projection.FinancialStatementHierarchy = _Text.FinancialStatementHierarchy
and $projection.HierarchyNode = _Text.HierarchyNode
and $projection.FinancialStatementLeafItem = '' // just to show that this association is only to be followed if GLAcount is blank
association [0..1] to I_FinancialStatementLeafItem as _FinancialStatementLeafItem on $projection.FinancialStatementLeafItem = _FinancialStatementLeafItem.FinancialStatementLeafItem
association [0..1] to I_FinancialStatementHier as _Hierarchy on $projection.FinancialStatementHierarchy = _Hierarchy.FinancialStatementHierarchy
and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate // Hierarchy directory and hierarchy nodes have the same time slice
association [0..1] to I_FinancialStatementHierNode as _ParentNode on $projection.FinancialStatementHierarchy = _ParentNode.FinancialStatementHierarchy
and $projection.ValidityEndDate = _ParentNode.ValidityEndDate
and $projection.ParentNode = _ParentNode.HierarchyNode
{
@Consumption.filter: {mandatory : true, selectionType : #SINGLE, multipleSelections : false }
@ObjectModel.foreignKey.association: '_Hierarchy'
key FinancialStatementHierarchy,
@ObjectModel.text.association: '_Text'
key HierarchyNode,
@Semantics.businessDate.to: true
@Consumption.filter: {mandatory : true, selectionType : #SINGLE, multipleSelections : false }
key ValidityEndDate,
@Semantics.businessDate.from: true
ValidityStartDate,
ParentNode,
HierarchyVersion,
@ObjectModel.foreignKey.association: '_FinancialStatementLeafItem'
FinancialStatementLeafItem,
SequenceNumber, // used for sorting
@Semantics.signReversalIndicator: true
SignIsInverted,
ChartOfAccounts,
FinancialStatementNodeType,
FinStmntNodeFormattedID,
HierarchyNodeVal,
HierarchyNodeSequence, //sequence in num6
HierarchyLevel,
DebitCreditCode,
_Text,
_FinancialStatementLeafItem,
_Hierarchy,
_ParentNode
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_FINANCIALSTATEMENTHIERNODE"
],
"ASSOCIATED":
[
"I_FINANCIALSTATEMENTHIER",
"I_FINANCIALSTATEMENTHIERNODET",
"I_FINANCIALSTATEMENTLEAFITEM"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- 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 Annotations — A Complete Guide
- 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