I_CO_GLAccountHierarchyNode

DDL: I_CO_GLACCOUNTHIERARCHYNODE Type: view_entity COMPOSITE Package: GLO_FIN_IS_CO_GEN_FSV

Colombia G/L Account Hierarchy Node

I_CO_GLAccountHierarchyNode is a Composite CDS View that provides data about "Colombia G/L Account Hierarchy Node" in SAP S/4HANA. It reads from 1 data source (I_GLAccountHierarchyNode) and exposes 17 fields with key fields FinancialStatementHierarchy, HierarchyNode, ValidityEndDate. It has 3 associations to related views. Part of development package GLO_FIN_IS_CO_GEN_FSV.

Data Sources (1)

SourceAliasJoin Type
I_GLAccountHierarchyNode Node from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
[0..1] I_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount
[0..1] I_CO_GLAccountHierarchyNode _Parent _Parent.FinancialStatementHierarchy = Node.GLAccountHierarchy and _Parent.HierarchyNode = Node.ParentNode and _Parent.ValidityEndDate = Node.ValidityEndDate

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Colombia G/L Account Hierarchy Node view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #HIERARCHY view
ObjectModel.modelingPattern #ANALYTICAL_PARENT_CHILD_HIERARCHY_NODE view
ObjectModel.representativeKey HierarchyNode view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #COMPOSITE view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY FinancialStatementHierarchy I_GLAccountHierarchyNode GLAccountHierarchy
KEY HierarchyNode I_GLAccountHierarchyNode HierarchyNode Node
KEY ValidityEndDate I_GLAccountHierarchyNode ValidityEndDate ValidTo
HierarchyVersion I_GLAccountHierarchyNode HierarchyVersion Version
ParentNode I_GLAccountHierarchyNode ParentNode Parent Node
ValidityStartDate I_GLAccountHierarchyNode ValidityStartDate Validity Start Date
ChartOfAccounts I_GLAccountHierarchyNode ChartOfAccounts Node Class
GLAccount I_GLAccountHierarchyNode GLAccount General Ledger
HierarchyNodeSequence I_GLAccountHierarchyNode HierarchyNodeSequence Sequence Number
HierarchyNodeLevel I_GLAccountHierarchyNode HierarchyNodeLevel Hierarchy Node Level
NodeType I_GLAccountHierarchyNode NodeType Object Type
HierarchyNodeVal I_GLAccountHierarchyNode HierarchyNodeVal Value
_Hierarchy I_GLAccountHierarchyNode _Hierarchy
_Text I_GLAccountHierarchyNode _Text
_ChartOfAccounts _ChartOfAccounts
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_Parent _Parent

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_CO_GLAccountHierarchyNode.
-- 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_CO_GLAccountHierarchyNode AS
SELECT
  Node.GLAccountHierarchy AS FinancialStatementHierarchy,
  Node.HierarchyNode AS HierarchyNode,
  Node.ValidityEndDate AS ValidityEndDate,
  Node.HierarchyVersion AS HierarchyVersion,
  Node.ParentNode AS ParentNode,
  Node.ValidityStartDate AS ValidityStartDate,
  Node.ChartOfAccounts AS ChartOfAccounts,
  Node.GLAccount AS GLAccount,
  Node.HierarchyNodeSequence AS HierarchyNodeSequence,
  Node.HierarchyNodeLevel AS HierarchyNodeLevel,
  Node.NodeType AS NodeType,
  Node.HierarchyNodeVal AS HierarchyNodeVal,
  Node._Hierarchy AS _Hierarchy,
  Node._Text AS _Text
FROM I_GLAccountHierarchyNode AS Node
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND GLAccount = _GLAccountInChartOfAccounts.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_CO_GLAccountHierarchyNode AS _Parent ON _Parent.FinancialStatementHierarchy = Node.GLAccountHierarchy AND _Parent.HierarchyNode = Node.ParentNode AND _Parent.ValidityEndDate = Node.ValidityEndDate  -- association [0..1]
;