I_BalShtIncStatementHierNode

DDL: I_BALSHTINCSTATEMENTHIERNODE Type: view_entity BASIC Package: FIN_GL_FS_REVIEW_BOOKLET

Balance Sheet Hierarchy Node

I_BalShtIncStatementHierNode is a Basic CDS View that provides data about "Balance Sheet Hierarchy Node" in SAP S/4HANA. It reads from 1 data source (I_FinancialStatementHierNode) and exposes 21 fields with key fields FinancialStatementHierarchy, HierarchyNode, ValidityEndDate. It has 6 associations to related views. Part of development package FIN_GL_FS_REVIEW_BOOKLET.

Data Sources (1)

SourceAliasJoin Type
I_FinancialStatementHierNode I_FinancialStatementHierNode from

Associations (6)

CardinalityTargetAliasCondition
[0..*] I_BalShtIncStmntHierNodeText _Text $projection.FinancialStatementHierarchy = _Text.FinancialStatementHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.FinancialStatementLeafItem = ''
[0..1] I_FinancialStatementHier _Hierarchy $projection.FinancialStatementHierarchy = _Hierarchy.FinancialStatementHierarchy and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate
[0..1] I_BalShtIncStatementHierNode _ParentNode $projection.FinancialStatementHierarchy = _ParentNode.FinancialStatementHierarchy and $projection.ValidityEndDate = _ParentNode.ValidityEndDate and $projection.ParentNode = _ParentNode.HierarchyNode
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
[0..1] I_BalShtIncStmntItemSuffix _Suffix $projection.BalShtIncStatementItemSuffix = _Suffix.BalShtIncStatementItemSuffix
[0..1] I_BalShtIncomeStatementItem _FSItem $projection.BalSheetIncomeStatementItem = _FSItem.BalSheetIncomeStatementItem and $projection.ChartOfAccounts = _FSItem.ChartOfAccounts and $projection.BalShtIncStatementItemSuffix = _FSItem.BalShtIncStatementItemSuffix

Annotations (12)

NameValueLevelField
EndUserText.label Balance Sheet Hierarchy Node view
VDM.viewType #BASIC view
ObjectModel.dataCategory #HIERARCHY view
ObjectModel.representativeKey HierarchyNode view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_PARENT_CHILD_HIERARCHY_NODE view
Analytics.dataExtraction.enabled false view
ObjectModel.sapObjectNodeType.name FinancialStatementHierNode view
ObjectModel.usageType.serviceQuality #D view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY FinancialStatementHierarchy FinancialStatementHierarchy Hierarchy ID
KEY HierarchyNode HierarchyNode Node
KEY ValidityEndDate ValidityEndDate ValidTo
ValidityStartDate ValidityStartDate Validity Start Date
BalSheetIncomeStatementItem
ParentNode ParentNode Parent Node
FinancialStatementLeafItem FinancialStatementLeafItem Node
SignIsInverted
ChartOfAccounts Node Class
FinancialStatementNodeType FinancialStatementNodeType
FinStmntNodeFormattedID FinStmntNodeFormattedID
HierarchyNodeVal HierarchyNodeVal
HierarchyNodeSequence HierarchyNodeSequence
HierarchyLevel HierarchyLevel Hierarchy Level
DebitCreditCode DebitCreditCode Single-Character Flag
_Text _Text
_Hierarchy _Hierarchy
_ParentNode _ParentNode
_FSItem _FSItem
_ChartOfAccounts _ChartOfAccounts
_Suffix _Suffix

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_BalShtIncStatementHierNode.
-- 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_BalShtIncStatementHierNode AS
SELECT
  FinancialStatementHierarchy,
  HierarchyNode,
  ValidityEndDate,
  ValidityStartDate,
  cast( HierarchyNodeVal as bsis_item ) AS BalSheetIncomeStatementItem,
  ParentNode,
  FinancialStatementLeafItem,
  cast( SignIsInverted as rr_rsign) AS SignIsInverted,
  cast( ChartOfAccounts as ktopl) AS ChartOfAccounts,
  FinancialStatementNodeType,
  FinStmntNodeFormattedID,
  HierarchyNodeVal,
  HierarchyNodeSequence,
  HierarchyLevel,
  DebitCreditCode
FROM I_FinancialStatementHierNode
LEFT OUTER JOIN I_BalShtIncStmntHierNodeText AS _Text ON FinancialStatementHierarchy = _Text.FinancialStatementHierarchy AND HierarchyNode = _Text.HierarchyNode AND FinancialStatementLeafItem = ''  -- association [0..*]
LEFT OUTER JOIN I_FinancialStatementHier AS _Hierarchy ON FinancialStatementHierarchy = _Hierarchy.FinancialStatementHierarchy AND ValidityEndDate = _Hierarchy.ValidityEndDate  -- association [0..1]
LEFT OUTER JOIN I_BalShtIncStatementHierNode AS _ParentNode ON FinancialStatementHierarchy = _ParentNode.FinancialStatementHierarchy AND ValidityEndDate = _ParentNode.ValidityEndDate AND ParentNode = _ParentNode.HierarchyNode  -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN I_BalShtIncStmntItemSuffix AS _Suffix ON BalShtIncStatementItemSuffix = _Suffix.BalShtIncStatementItemSuffix  -- association [0..1]
LEFT OUTER JOIN I_BalShtIncomeStatementItem AS _FSItem ON BalSheetIncomeStatementItem = _FSItem.BalSheetIncomeStatementItem AND ChartOfAccounts = _FSItem.ChartOfAccounts AND BalShtIncStatementItemSuffix = _FSItem.BalShtIncStatementItemSuffix  -- association [0..1]
;