P_BalExpsrKeyFigHierNode
P_BalExpsrKeyFigHierNode is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (dd07t, dd07t, fxm_kf_def, fxm_kf_grp_def) and exposes 12 fields with key field HierarchyNode.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | union_all |
| dd07t | dd07t | union_all |
| fxm_kf_def | fxm_kf_def | from |
| fxm_kf_grp_def | fxm_kf_grp_def | union_all |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PBALHIERN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | HierarchyNode | |||
| ParentNode | ||||
| HierarchyNodeText | kf_text | |||
| ParentNode | exposure_or_hedge | |||
| HierarchyNodeText | kf_group_text | |||
| HierarchyNode | ||||
| ParentNode | ||||
| HierarchyNodeText | ddtext | |||
| HierarchyNode | ||||
| ParentNode | ||||
| HierarchyNodeText | ddtext | |||
| BalSheetExpsrKeyFigure |
@AbapCatalog.sqlViewName: 'PBALHIERN'
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #BASIC
@VDM.private:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view P_BalExpsrKeyFigHierNode as select from fxm_kf_def
{
key concat( 'KF', kf ) as HierarchyNode,
concat( 'GR', kf_group ) as ParentNode,
@Semantics.text: true
kf_text as HierarchyNodeText,
kf as BalSheetExpsrKeyFigure
}
union all select from fxm_kf_grp_def
{
concat( 'GR', kf_group ) as HierarchyNode,
exposure_or_hedge as ParentNode,
@Semantics.text: true
kf_group_text as HierarchyNodeText,
'' as BalSheetExpsrKeyFigure
} union all
// Select Exposure Node from Domain Fixed Value
select from dd07t {
$session.client as mandt,
'E' as HierarchyNode,
'' as ParentNode,
ddtext as HierarchyNodeText,
'' as BalSheetExpsrKeyFigure
} where ddlanguage = $session.system_language and valpos = '0001' and as4local = 'A' and domname = 'FXM_EXPOSURE_HEDGE_INDICATOR'
union all
// select Hedge Node from Domain fixed value
select from dd07t {
$session.client as mandt,
'H' as HierarchyNode,
'' as ParentNode,
ddtext as HierarchyNodeText,
'' as BalSheetExpsrKeyFigure
} where ddlanguage = $session.system_language and valpos = '0002' and as4local = 'A' and domname = 'FXM_EXPOSURE_HEDGE_INDICATOR'
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