I_BudgetAccountHierarchyNode
Budget Account Hierarchy Node
I_BudgetAccountHierarchyNode is a Basic CDS View that provides data about "Budget Account Hierarchy Node" in SAP S/4HANA. It reads from 2 data sources (hrrp_node, I_BudgetAccountHierarchy) and exposes 15 fields with key fields BudgetAccountHierarchy, HierarchyNode, ValidityEndDate. It has 4 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| hrrp_node | hrrp_node | from |
| I_BudgetAccountHierarchy | I_BudgetAccountHierarchy | inner |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_BudgetAccountHierarchyNodeT | _Text | $projection.BudgetAccountHierarchy = _Text.BudgetAccountHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.PubSecBudgetAccount = '' |
| [0..1] | I_BudgetAccountInChtAccts | _BudgetAccountInChtAccts | $projection.ChartOfAccounts = _BudgetAccountInChtAccts.ChartOfAccounts and $projection.PubSecBudgetAccount = _BudgetAccountInChtAccts.PubSecBudgetAccount |
| [1..1] | I_BudgetAccountHierarchy | _Hierarchy | $projection.BudgetAccountHierarchy = _Hierarchy.BudgetAccountHierarchy and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate |
| [0..1] | I_ChartOfAccounts | _ChartOfAccounts | $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPSMS4CBDACHN | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Budget Account Hierarchy Node | view | |
| VDM.viewType | #BASIC | view | |
| Hierarchy.parentChild.recurse.parent | ParentNode | view | |
| Hierarchy.parentChild.recurse.child | HierarchyNode | view | |
| Hierarchy.parentChild.siblingsOrder.by | SequenceNumber | view | |
| Hierarchy.parentChild.siblingsOrder.direction | ASC | view | |
| Hierarchy.parentChild.directory | _Hierarchy | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ObjectModel.dataCategory | #HIERARCHY | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BudgetAccountHierarchy | |||
| KEY | HierarchyNode | hrrp_node | hrynode | Node |
| KEY | ValidityEndDate | |||
| ParentNode | hrrp_node | parnode | Par. Node | |
| HierarchyVersion | hrrp_node | hryver | Version: Structures | |
| ValidityStartDate | ||||
| ChartOfAccounts | ||||
| SequenceNumber | ||||
| HierarchyNodeSequence | hrrp_node | hryseqnbr | Sequence Number | |
| HierarchyNodeLevel | hrrp_node | hrylevel | Hierarchy Level | |
| NodeType | hrrp_node | nodetype | Object Type | |
| _Text | _Text | |||
| _BudgetAccountInChtAccts | _BudgetAccountInChtAccts | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _Hierarchy | _Hierarchy |
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_BudgetAccountHierarchyNode.
-- 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.
-- SQL view name: IPSMS4CBDACHN
CREATE VIEW I_BudgetAccountHierarchyNode AS
SELECT
cast( hrrp_node.hryid as psm_hryid_budgetaccount preserving type) AS BudgetAccountHierarchy,
hrrp_node.hrynode AS HierarchyNode,
cast( hrrp_node.hryvalto as fis_datbi preserving type ) AS ValidityEndDate,
hrrp_node.parnode AS ParentNode,
hrrp_node.hryver AS HierarchyVersion,
cast( hrrp_node.hryvalfrom as fis_datab preserving type) AS ValidityStartDate,
cast( hrrp_node.nodecls as fis_ktopl ) AS ChartOfAccounts,
concat( hrrp_node.hryseqnbr, hrrp_node.hrynode ) AS SequenceNumber,
hrrp_node.hryseqnbr AS HierarchyNodeSequence,
hrrp_node.hrylevel AS HierarchyNodeLevel,
hrrp_node.nodetype AS NodeType
FROM hrrp_node
INNER JOIN I_BudgetAccountHierarchy ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_BudgetAccountHierarchyNodeT AS _Text ON BudgetAccountHierarchy = _Text.BudgetAccountHierarchy AND HierarchyNode = _Text.HierarchyNode AND PubSecBudgetAccount = '' -- association [0..*]
LEFT OUTER JOIN I_BudgetAccountInChtAccts AS _BudgetAccountInChtAccts ON ChartOfAccounts = _BudgetAccountInChtAccts.ChartOfAccounts AND PubSecBudgetAccount = _BudgetAccountInChtAccts.PubSecBudgetAccount -- association [0..1]
LEFT OUTER JOIN I_BudgetAccountHierarchy AS _Hierarchy ON BudgetAccountHierarchy = _Hierarchy.BudgetAccountHierarchy AND ValidityEndDate = _Hierarchy.ValidityEndDate -- association [1..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts -- 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