A_CnsldtnSegmentHierDir

DDL: A_CNSLDTNSEGMENTHIERDIR Type: view BASIC

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)

SourceAliasJoin Type
I_CnsldtnSegmentHierarchy I_CnsldtnSegmentHierarchy from

Annotations (13)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/