I_StstclKeyFigureHierarchy
Statistical Key Figure Hierarchy
I_StstclKeyFigureHierarchy is a Basic CDS View (Dimension) that provides data about "Statistical Key Figure Hierarchy" in SAP S/4HANA. It reads from 1 data source (hrrp_dir_n) and exposes 10 fields with key fields ControllingArea, StatisticalKeyFigureHierarchy, ValidityEndDate. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| hrrp_dir_n | hrrp_dir_n | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ControllingArea | _ControllingAreaText | $projection.ControllingArea = _ControllingAreaText.ControllingArea |
| [1..*] | I_StstclKeyFigureHierarchyT | _Text | $projection.StatisticalKeyFigureHierarchy = _Text.StatisticalKeyFigureHierarchy and $projection.ControllingArea = _Text.ControllingArea and $projection.ValidityEndDate = _Text.ValidityEndDate |
| [0..1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFISTSTCLKEYFIGH | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Statistical Key Figure Hierarchy | view | |
| ObjectModel.representativeKey | StatisticalKeyFigureHierarchy | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Metadata.allowExtensions | true | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | |||
| KEY | StatisticalKeyFigureHierarchy | hrrp_dir_n | hryid_42 | |
| KEY | ValidityEndDate | |||
| ValidityStartDate | ||||
| LastChangedByUser | hrrp_dir_n | upduser | ||
| LastChangeDateTime | hrrp_dir_n | updtime | ||
| HierarchyShortID | hrrp_dir_n | hrysid | ||
| _Text | _Text | |||
| _ControllingArea | _ControllingArea | |||
| _ControllingAreaText | _ControllingAreaText |
@AbapCatalog.sqlViewName: 'IFISTSTCLKEYFIGH'
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Statistical Key Figure Hierarchy'
@ObjectModel.representativeKey: 'StatisticalKeyFigureHierarchy' //Inserted by VDM CDS Suite Plugin
@Analytics: { dataCategory: #DIMENSION }
@VDM.viewType: #BASIC
@Metadata.ignorePropagatedAnnotations: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {
dataClass: #MASTER,
serviceQuality: #A,
sizeCategory: #XL
}
@Analytics.dataExtraction.enabled: true
@Metadata.allowExtensions: true
@Analytics.internalName:#LOCAL
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [ #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #ANALYTICAL_DIMENSION, #EXTRACTION_DATA_SOURCE]
@AccessControl.privilegedAssociations: ['_ControllingAreaText']
//
define view I_StstclKeyFigureHierarchy
as select from hrrp_dir_n
//
association [0..1] to I_ControllingArea as _ControllingAreaText on $projection.ControllingArea = _ControllingAreaText.ControllingArea
//
association [1..*] to I_StstclKeyFigureHierarchyT as _Text on $projection.StatisticalKeyFigureHierarchy = _Text.StatisticalKeyFigureHierarchy
and $projection.ControllingArea = _Text.ControllingArea
and $projection.ValidityEndDate = _Text.ValidityEndDate
association [0..1] to I_ControllingArea as _ControllingArea on $projection.ControllingArea = _ControllingArea.ControllingArea
{
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_ControllingAreaStdVH',
element: 'ControllingArea' }
}]
@ObjectModel.text.association: '_ControllingAreaText'
@ObjectModel.foreignKey.association: '_ControllingArea'
key cast( hrrp_dir_n.kokrs as fis_kokrs preserving type ) as ControllingArea,
@ObjectModel.text.association: '_Text'
key hrrp_dir_n.hryid_42 as StatisticalKeyFigureHierarchy,
@Semantics.businessDate.to: true
key cast(hrrp_dir_n.hryvalto as fis_datbi preserving type ) as ValidityEndDate,
@Semantics.businessDate.from: true
cast(hrrp_dir_n.hryvalfrom as fis_datab preserving type ) as ValidityStartDate,
@Semantics.user.lastChangedBy: true
hrrp_dir_n.upduser as LastChangedByUser,
@Semantics.systemDateTime.lastChangedAt: true
hrrp_dir_n.updtime as LastChangeDateTime,
hrrp_dir_n.hrysid as HierarchyShortID,
@ObjectModel.association.boundFields.dataMatchesSourceAndTargetTypes: true
_Text,
_ControllingArea,
@Consumption.hidden: true
_ControllingAreaText
}
where
hrytyp = '0104';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"HRRP_DIR_N"
],
"ASSOCIATED":
[
"I_CONTROLLINGAREA",
"I_STSTCLKEYFIGUREHIERARCHYT"
],
"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