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