I_CnsldtnPrftCtrHierNodeInElim
Cnsldtn Profit Ctr For Elim - HierNode
I_CnsldtnPrftCtrHierNodeInElim is a Basic CDS View that provides data about "Cnsldtn Profit Ctr For Elim - HierNode" in SAP S/4HANA. It reads from 1 data source (hrrp_node) and exposes 14 fields with key fields ControllingArea, AdditionalMasterDataHierarchy, HierarchyNode, ValidityEndDate. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| hrrp_node | hrrp_node | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_CnsldtnProfitCenterHierNodeT | _Text | $projection.ControllingArea = _Text.ControllingArea and $projection.AdditionalMasterDataHierarchy = _Text.ConsolidationPrftCtrHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.ProfitCenter = '' |
| [0..1] | I_CnsldtnProfitCenterForElim | _ProfitCenterForElim | $projection.ProfitCenter = _ProfitCenterForElim.ProfitCenter and $projection.ControllingArea = _ProfitCenterForElim.ControllingArea |
| [1..1] | I_CnsldtnProfitCenterHierarchy | _Hierarchy | $projection.AdditionalMasterDataHierarchy = _Hierarchy.ConsolidationPrftCtrHierarchy and $projection.ControllingArea = _Hierarchy.ControllingArea and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate |
| [0..1] | I_CnsldtnControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICCPCHNFORELIM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| Hierarchy.parentChild.recurse.parent | ParentNode | view | |
| Hierarchy.parentChild.recurse.child | HierarchyNode | view | |
| Hierarchy.parentChild.directory | _Hierarchy | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.dataCategory | #HIERARCHY | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Cnsldtn Profit Ctr For Elim - HierNode | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | |||
| KEY | AdditionalMasterDataHierarchy | |||
| KEY | HierarchyNode | hrrp_node | hrynode | |
| KEY | ValidityEndDate | |||
| ParentNode | hrrp_node | parnode | ||
| HierarchyVersion | hrrp_node | hryver | ||
| ValidityStartDate | ||||
| HierarchyNodeSequence | hrrp_node | hryseqnbr | ||
| HierarchyNodeLevel | hrrp_node | hrylevel | ||
| NodeType | hrrp_node | nodetype | ||
| _Text | _Text | |||
| _ProfitCenterForElim | _ProfitCenterForElim | |||
| _Hierarchy | _Hierarchy | |||
| _ControllingArea | _ControllingArea |
@AbapCatalog: {
sqlViewName: 'ICCPCHNFORELIM',
compiler.compareFilter:true
}
@Hierarchy.parentChild: {
recurse: { parent: 'ParentNode',
child: 'HierarchyNode' },
siblingsOrder: [{ by: 'HierarchyNodeSequence',
direction: #ASC }],
directory: '_Hierarchy'
}
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
usageType: {
dataClass: #MASTER,
serviceQuality: #A,
sizeCategory: #XL},
dataCategory: #HIERARCHY
}
@VDM.viewType: #BASIC
@EndUserText.label: 'Cnsldtn Profit Ctr For Elim - HierNode'
define view I_CnsldtnPrftCtrHierNodeInElim
as select from hrrp_node
association [0..*] to I_CnsldtnProfitCenterHierNodeT as _Text on $projection.ControllingArea = _Text.ControllingArea
and $projection.AdditionalMasterDataHierarchy = _Text.ConsolidationPrftCtrHierarchy
and $projection.HierarchyNode = _Text.HierarchyNode
and $projection.ProfitCenter = ''
association [0..1] to I_CnsldtnProfitCenterForElim as _ProfitCenterForElim on $projection.ProfitCenter = _ProfitCenterForElim.ProfitCenter
and $projection.ControllingArea = _ProfitCenterForElim.ControllingArea
association [1..1] to I_CnsldtnProfitCenterHierarchy as _Hierarchy on $projection.AdditionalMasterDataHierarchy = _Hierarchy.ConsolidationPrftCtrHierarchy
and $projection.ControllingArea = _Hierarchy.ControllingArea
and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate
association [0..1] to I_CnsldtnControllingArea as _ControllingArea on $projection.ControllingArea = _ControllingArea.ControllingArea
{
@Consumption.filter: {mandatory : true, selectionType : #SINGLE, multipleSelections : false }
@ObjectModel.foreignKey.association: '_ControllingArea' //Inserted by VDM CDS Suite Plugin
key cast( left(hrrp_node.nodecls, 4) as fis_kokrs preserving type ) as ControllingArea,
@Consumption.filter: {mandatory : true, selectionType : #SINGLE, multipleSelections : false }
@ObjectModel.foreignKey.association: '_Hierarchy'
key cast(hrrp_node.hryid as hryid preserving type) as AdditionalMasterDataHierarchy,
@ObjectModel.text.association: '_Text'
key hrrp_node.hrynode as HierarchyNode,
@Consumption.filter: {mandatory : true, selectionType : #SINGLE, multipleSelections : false }
key cast(hrrp_node.hryvalto as fis_datbi preserving type) as ValidityEndDate,
hrrp_node.parnode as ParentNode,
hrrp_node.hryver as HierarchyVersion,
@Semantics.businessDate.from: true
cast(hrrp_node.hryvalfrom as fis_datab preserving type) as ValidityStartDate,
@ObjectModel.foreignKey.association: '_ProfitCenterForElim'
cast ( case nodetype
when 'L' then substring( hrrp_node.nodevalue, 1, 10 )
when '$' then nodevalue
else ''
end as fincs_elimination_member ) as ProfitCenter,
hrrp_node.hryseqnbr as HierarchyNodeSequence,
hrrp_node.hrylevel as HierarchyNodeLevel,
hrrp_node.nodetype as NodeType,
_Text,
_ProfitCenterForElim,
_Hierarchy,
_ControllingArea
}
where
nodetype <> 'D'
and nodetype <> 'B'
and nodetype <> 'J'
and nodetype <> 'V';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"HRRP_NODE"
],
"ASSOCIATED":
[
"I_CNSLDTNCONTROLLINGAREA",
"I_CNSLDTNPROFITCENTERFORELIM",
"I_CNSLDTNPROFITCENTERHIERARCHY",
"I_CNSLDTNPROFITCENTERHIERNODET"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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