Fclm_BankAccountGroupNode
Nodes of Selected Bank Account Group
Fclm_BankAccountGroupNode is a CDS View that provides data about "Nodes of Selected Bank Account Group" in SAP S/4HANA. It reads from 2 data sources (I_BankAccount, I_BankAccountHierarchyNode) and exposes 5 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BankAccount | bam | union_all |
| I_BankAccountHierarchyNode | nodes | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Nodes of Selected Bank Account Group | view | |
| AbapCatalog.sqlViewName | BNKACCTGRPNODE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| BankAccountInternalID | I_BankAccountHierarchyNode | BankAccountInternalID | ||
| BankAccountHierarchy | I_BankAccountHierarchyNode | BankAccountHierarchy | ||
| BankAccountInternalID | ||||
| BankAccountHierarchy | ||||
| standsforallnodes_Text |
@EndUserText.label: 'Nodes of Selected Bank Account Group'
@AbapCatalog.sqlViewName: 'BNKACCTGRPNODE'
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #MASTER
define view Fclm_BankAccountGroupNode
// leaf nodes are selected with bank account IDs and hierarchy names
as select from I_BankAccountHierarchyNode as nodes
association[0..*] to I_BankAccountHierarchyText as _Text on $projection.BankAccountHierarchy = _Text.BankAccountHierarchy
{
nodes.BankAccountInternalID,
nodes.BankAccountHierarchy,
_Text
} where nodes.BankAccountInternalID <> '0000000000' --select all the leaf nodes
union all
// all the accounts are selected with hierarchy name *. The bank account IDs are duplicated, so that all the nodes can be selected without hierarchy name but with *.
select from I_BankAccount as bam
association[0..*] to I_BankAccountHierarchyText as _Text on $projection.BankAccountHierarchy = _Text.BankAccountHierarchy
{
bam.BankAccountInternalID,
cast('*' as abap.char( 12 )) as BankAccountHierarchy, -- * stands for all nodes
_Text
}
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