A_CnsldtnCostCenterHierDir
Combined Cost Center Hierarchy
A_CnsldtnCostCenterHierDir is a Basic CDS View that provides data about "Combined Cost Center Hierarchy" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnCostCenterHierarchy) and exposes 7 fields with key fields AdditionalMasterDataHierarchy, ValidityEndDate.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnCostCenterHierarchy | I_CnsldtnCostCenterHierarchy | from |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ACSCOSTCTRHDIR | 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 | #S | view | |
| ObjectModel.representativeKey | AdditionalMasterDataHierarchy | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| EndUserText.label | Combined Cost Center Hierarchy | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AdditionalMasterDataHierarchy | |||
| KEY | ValidityEndDate | ValidityEndDate | ||
| ValidityStartDate | ValidityStartDate | |||
| LastChangedByUser | LastChangedByUser | |||
| LastChangeDateTime | LastChangeDateTime | |||
| MDHierType | ||||
| HierarchyType |
@AbapCatalog:{
sqlViewName: 'ACSCOSTCTRHDIR',
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl.authorizationCheck: #MANDATORY
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
usageType: {
dataClass: #MASTER,
serviceQuality: #A,
sizeCategory: #S},
representativeKey: 'AdditionalMasterDataHierarchy'
}
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@EndUserText.label: 'Combined Cost Center Hierarchy'
define view A_CnsldtnCostCenterHierDir
as select from I_CnsldtnCostCenterHierarchy
{
key cast(left(CnsldtnCostCenterHierarchy, 40) as fincs_hryid_costcenter preserving type ) as AdditionalMasterDataHierarchy,
@Semantics.businessDate.to: true
key ValidityEndDate as ValidityEndDate,
ValidityStartDate,
LastChangedByUser,
LastChangeDateTime,
cast('CS03' as fincs_hierarchytype ) as MDHierType,
cast('CS03' as fincs_hierarchytype) as HierarchyType
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CNSLDTNCOSTCENTERHIERARCHY"
],
"ASSOCIATED":
[],
"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