A_CnsldtnProfitCenterHier
Combined Profit Center - Hierarchy Node
A_CnsldtnProfitCenterHier is a Basic CDS View that provides data about "Combined Profit Center - Hierarchy Node" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnProfitCenterHierNode) and exposes 20 fields with key fields ControllingArea, AdditionalMasterDataHierarchy, HierarchyNode, ValidityEndDate. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnProfitCenterHierNode | I_CnsldtnProfitCenterHierNode | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | A_CnsldtnProfitCenterHierT | _CnsldtnProfitCenterHierT | $projection.ControllingArea = _CnsldtnProfitCenterHierT.ControllingArea and $projection.AdditionalMasterDataHierarchy = _CnsldtnProfitCenterHierT.AdditionalMasterDataHierarchy and $projection.HierarchyNode = _CnsldtnProfitCenterHierT.HierarchyNode and $projection.ProfitCenter = '' |
| [0..*] | A_CnsldtnProfitCenterHierT | _CnsldtnProfitCenterHierT_2 | $projection.ControllingArea = _CnsldtnProfitCenterHierT_2.ControllingArea and $projection.AdditionalMasterDataHierarchy = _CnsldtnProfitCenterHierT_2.AdditionalMasterDataHierarchy and $projection.HierarchyNode = _CnsldtnProfitCenterHierT_2.HierarchyNode and $projection.ValidityEndDate = _CnsldtnProfitCenterHierT_2.ValidityEndDate and $projection.ProfitCenter = '' |
| [0..1] | A_CnsldtnProfitCenter | _CnsldtnProfitCenter | $projection.ControllingArea = _CnsldtnProfitCenter.ControllingArea and $projection.ProfitCenter = _CnsldtnProfitCenter.ProfitCenter |
| [1..1] | A_CnsldtnControllingArea | _CnsldtnControllingArea | $projection.ControllingArea = _CnsldtnControllingArea.ControllingArea |
| [0..*] | A_CnsldtnProfitCenterT | _CnsldtnProfitCenterT | $projection.ProfitCenter = _CnsldtnProfitCenterT.ProfitCenter and $projection.ControllingArea = _CnsldtnProfitCenterT.ControllingArea |
| [1..1] | A_CnsldtnProfitCenterHierDir | _CnsldtnProfitCenterHierDir | $projection.AdditionalMasterDataHierarchy = _CnsldtnProfitCenterHierDir.AdditionalMasterDataHierarchy and $projection.ValidityEndDate = _CnsldtnProfitCenterHierDir.ValidityEndDate |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ACSPRFTCNTRHIER | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.representativeKey | HierarchyNode | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| EndUserText.label | Combined Profit Center - Hierarchy Node | view | |
| OData.entitySet.name | ProfitCenterHier | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | ControllingArea | ||
| KEY | AdditionalMasterDataHierarchy | |||
| KEY | HierarchyNode | HierarchyNode | ||
| KEY | ValidityEndDate | ValidityEndDate | ||
| ParentNode | ParentNode | |||
| HierarchyVersion | HierarchyVersion | |||
| ValidityStartDate | ValidityStartDate | |||
| ProfitCenter | ProfitCenter | Profit Center | ||
| SequenceNumber | ||||
| HierarchyNodeSequence | HierarchyNodeSequence | |||
| HierarchyNodeLevel | HierarchyNodeLevel | |||
| NodeType | NodeType | |||
| MDHierType | ||||
| HierarchyType | ||||
| _CnsldtnProfitCenterHierDir | _CnsldtnProfitCenterHierDir | |||
| _CnsldtnControllingArea | _CnsldtnControllingArea | |||
| _CnsldtnProfitCenter | _CnsldtnProfitCenter | |||
| _CnsldtnProfitCenterT | _CnsldtnProfitCenterT | |||
| _CnsldtnProfitCenterHierT | _CnsldtnProfitCenterHierT | |||
| _CnsldtnProfitCenterHierT_2 | _CnsldtnProfitCenterHierT_2 |
@AbapCatalog:{
sqlViewName: 'ACSPRFTCNTRHIER',
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl.authorizationCheck: #MANDATORY
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
usageType: {
dataClass: #MASTER,
serviceQuality: #A,
sizeCategory: #L},
representativeKey: 'HierarchyNode'
}
@VDM:{
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@EndUserText.label: 'Combined Profit Center - Hierarchy Node'
@OData.entitySet.name: 'ProfitCenterHier'
define view A_CnsldtnProfitCenterHier
as select from I_CnsldtnProfitCenterHierNode
association [0..*] to A_CnsldtnProfitCenterHierT as _CnsldtnProfitCenterHierT on $projection.ControllingArea = _CnsldtnProfitCenterHierT.ControllingArea
and $projection.AdditionalMasterDataHierarchy = _CnsldtnProfitCenterHierT.AdditionalMasterDataHierarchy
and $projection.HierarchyNode = _CnsldtnProfitCenterHierT.HierarchyNode
and $projection.ProfitCenter = ''
association [0..*] to A_CnsldtnProfitCenterHierT as _CnsldtnProfitCenterHierT_2 on $projection.ControllingArea = _CnsldtnProfitCenterHierT_2.ControllingArea
and $projection.AdditionalMasterDataHierarchy = _CnsldtnProfitCenterHierT_2.AdditionalMasterDataHierarchy
and $projection.HierarchyNode = _CnsldtnProfitCenterHierT_2.HierarchyNode
and $projection.ValidityEndDate = _CnsldtnProfitCenterHierT_2.ValidityEndDate
and $projection.ProfitCenter = ''
association [0..1] to A_CnsldtnProfitCenter as _CnsldtnProfitCenter on $projection.ControllingArea = _CnsldtnProfitCenter.ControllingArea
and $projection.ProfitCenter = _CnsldtnProfitCenter.ProfitCenter
association [1..1] to A_CnsldtnControllingArea as _CnsldtnControllingArea on $projection.ControllingArea = _CnsldtnControllingArea.ControllingArea
association [0..*] to A_CnsldtnProfitCenterT as _CnsldtnProfitCenterT on $projection.ProfitCenter = _CnsldtnProfitCenterT.ProfitCenter
and $projection.ControllingArea = _CnsldtnProfitCenterT.ControllingArea
association [1..1] to A_CnsldtnProfitCenterHierDir as _CnsldtnProfitCenterHierDir on $projection.AdditionalMasterDataHierarchy = _CnsldtnProfitCenterHierDir.AdditionalMasterDataHierarchy
and $projection.ValidityEndDate = _CnsldtnProfitCenterHierDir.ValidityEndDate
{
@ObjectModel.foreignKey.association: '_CnsldtnControllingArea'
key ControllingArea as ControllingArea,
@ObjectModel.foreignKey.association: '_CnsldtnProfitCenterHierDir'
key cast(left(ConsolidationPrftCtrHierarchy, 40) as fincs_hryid_profitcenter preserving type ) as AdditionalMasterDataHierarchy,
@ObjectModel.text.association: '_CnsldtnProfitCenterHierT_2'
key HierarchyNode as HierarchyNode,
@Semantics.businessDate.to: true
key ValidityEndDate as ValidityEndDate,
ParentNode,
HierarchyVersion,
@Semantics.businessDate.from: true
ValidityStartDate,
@EndUserText.label: 'Profit Center'
@ObjectModel.text.association: '_CnsldtnProfitCenterT'
ProfitCenter,
// STS - compatible ATC cleanup change - to be removed
cast(HierarchyNodeSequence as abap.char( 56 ) ) as SequenceNumber,
HierarchyNodeSequence,
HierarchyNodeLevel,
NodeType,
@Consumption.hidden: true
cast( 'CS04' as hrytype preserving type ) as MDHierType,
@Consumption.hidden: true
cast( 'CS04' as hrytype preserving type ) as HierarchyType,
@Consumption.hidden: true
_CnsldtnProfitCenterHierDir,
_CnsldtnControllingArea,
_CnsldtnProfitCenter,
_CnsldtnProfitCenterT,
_CnsldtnProfitCenterHierT,
_CnsldtnProfitCenterHierT_2
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CNSLDTNPROFITCENTERHIERNODE"
],
"ASSOCIATED":
[
"A_CNSLDTNCONTROLLINGAREA",
"A_CNSLDTNPROFITCENTER",
"A_CNSLDTNPROFITCENTERHIERDIR",
"A_CNSLDTNPROFITCENTERHIERT",
"A_CNSLDTNPROFITCENTERT"
],
"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