I_BankHierarchyNode
Bank Hierarchy Node
I_BankHierarchyNode is a Basic CDS View that provides data about "Bank Hierarchy Node" in SAP S/4HANA. It reads from 1 data source (fclm_bam_hierrt) and exposes 12 fields with key fields BankAccountHierarchy, HierarchyNode, ValidityEndDate, ParentNode. It has 3 associations to related views. Part of development package FCLM_BAM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fclm_bam_hierrt | fclm_bam_hierrt | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BankHierarchy | _Hierarchy | $projection.BankAccountHierarchy = _Hierarchy.BankAccountHierarchy and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate |
| [0..1] | I_BankAccount | _Account | $projection.BankAccountInternalID = _Account.BankAccountInternalID |
| [1..*] | I_BankHierarchyNodeText | _Text | $projection.BankAccountHierarchy = _Text.BankAccountHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.ValidityEndDate = _Text.ValidityEndDate and $projection.BankAccountInternalID = '0000000000' |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IBANKHIERND | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Bank Hierarchy Node | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.dataCategory | #HIERARCHY | view | |
| ObjectModel.representativeKey | HierarchyNode | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| hierarchy.parentChild.recurse.parent | ParentNode | view | |
| hierarchy.parentChild.recurse.child | HierarchyNode | view | |
| hierarchy.parentChild.siblingsOrder.by | HierarchyNode | view | |
| hierarchy.parentChild.siblingsOrder.direction | ASC | view | |
| hierarchy.parentChild.directory | _Hierarchy | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BankAccountHierarchy | fclm_bam_hierrt | hierid | R/2 table |
| KEY | HierarchyNode | fclm_bam_hierrt | nodeid | Workflow Step |
| KEY | ValidityEndDate | fclm_bam_hierrt | valid_to | Validity End Time |
| KEY | ParentNode | fclm_bam_hierrt | par_hiernode | Node |
| ValidityStartDate | fclm_bam_hierrt | valid_from | Validity Start Time | |
| SequenceNumber | fclm_bam_hierrt | nodeid | Workflow Step | |
| HierarchyNodeLevel | fclm_bam_hierrt | nodelevel | Node Level | |
| acc_id0000000000thenNelseLendasNodeType | ||||
| IsPublicHierarchy | _Hierarchy | IsPublicHierarchy | ||
| _Account | _Account | |||
| _Text | _Text | |||
| _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_BankHierarchyNode.
-- 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: IBANKHIERND
CREATE VIEW I_BankHierarchyNode AS
SELECT
fclm_bam_hierrt.hierid AS BankAccountHierarchy,
fclm_bam_hierrt.nodeid AS HierarchyNode,
fclm_bam_hierrt.valid_to AS ValidityEndDate,
fclm_bam_hierrt.par_hiernode AS ParentNode,
fclm_bam_hierrt.valid_from AS ValidityStartDate,
fclm_bam_hierrt.nodeid AS SequenceNumber,
fclm_bam_hierrt.nodelevel AS HierarchyNodeLevel,
case when fclm_bam_hierrt.par_hiernode is null or fclm_bam_hierrt.par_hiernode = '' then 'R' when fclm_bam_hierrt.acc_id is null or fclm_bam_hierrt.acc_id = '' or fclm_bam_hierrt.acc_id = '0000000000' then 'N' else 'L' end as NodeType AS acc_id0000000000thenNelseLendasNodeType,
_Hierarchy.IsPublicHierarchy AS IsPublicHierarchy
FROM fclm_bam_hierrt
LEFT OUTER JOIN I_BankHierarchy AS _Hierarchy ON BankAccountHierarchy = _Hierarchy.BankAccountHierarchy AND ValidityEndDate = _Hierarchy.ValidityEndDate -- association [1..1]
LEFT OUTER JOIN I_BankAccount AS _Account ON BankAccountInternalID = _Account.BankAccountInternalID -- association [0..1]
LEFT OUTER JOIN I_BankHierarchyNodeText AS _Text ON BankAccountHierarchy = _Text.BankAccountHierarchy AND HierarchyNode = _Text.HierarchyNode AND ValidityEndDate = _Text.ValidityEndDate AND BankAccountInternalID = '0000000000' -- association [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