I_CNSLDTNSEGMENTHIERARCHY

CDS View

Consolidation Segment Hierarchy

I_CNSLDTNSEGMENTHIERARCHY is a CDS View in S/4HANA. Consolidation Segment Hierarchy. 3 CDS views read from this table.

CDS Views using this table (3)

ViewTypeJoinVDMDescription
A_CnsldtnPartSegmentHierDir view from BASIC Combined Partner Segment Hierarchy Dir
A_CnsldtnSegmentHierDir view from BASIC Combined Segment Hierarchy Directory
P_CnsldtnSegmentHierDirVH view from COMPOSITE
@AbapCatalog:{
  sqlViewName: 'ICCSEGHIERARCHY',
  compiler.compareFilter: true
  }
@Analytics: {
  dataCategory: #DIMENSION,
  internalName: #LOCAL,
  dataExtraction.enabled: true
  }
@AccessControl:{
  authorizationCheck: #MANDATORY
  }
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata:{
  allowExtensions:true,
  ignorePropagatedAnnotations: true
  }
@ObjectModel:{
  usageType: {
    dataClass: #MASTER,
    serviceQuality: #A,
    sizeCategory: #S},
  representativeKey: 'ConsolidationSegmentHierarchy',
  modelingPattern: #ANALYTICAL_DIMENSION,
  supportedCapabilities: [#CDS_MODELING_DATA_SOURCE,
                          #CDS_MODELING_ASSOCIATION_TARGET,
                          #SQL_DATA_SOURCE,
                          #EXTRACTION_DATA_SOURCE,
                          #ANALYTICAL_DIMENSION ]
}
@VDM:{
  viewType: #BASIC,
  lifecycle.contract.type: #PUBLIC_LOCAL_API
  }
@EndUserText.label: 'Consolidation Segment Hierarchy'

/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ]  } */
define view I_CnsldtnSegmentHierarchy
  as select from P_CnsldtnUnivHierarchy_2(P_HierarchyType : 'CS01', P_MasterDataType : 'SEGMENT' ) as _Hierarchy

  association [0..*] to I_CnsldtnSegmentHierarchyT as _Text on $projection.ConsolidationSegmentHierarchy = _Text.ConsolidationSegmentHierarchy
  //                                                          and $projection.ValidityEndDate               = _Text.ValidityEndDate  due to defect in Analytic engine

{
      @ObjectModel.text.association: '_Text'
  key cast(_Hierarchy.CnsldtnUniversalHierarchy as fincs_segmenthierarchy preserving type ) as ConsolidationSegmentHierarchy,

      @Semantics.businessDate.to: true
  key _Hierarchy.ValidityEndDate,

      @Semantics.businessDate.from: true
      _Hierarchy.ValidityStartDate,

      @Semantics.user.lastChangedBy: true
      _Hierarchy.LastChangedByUser,

      @Semantics.systemDateTime.lastChangedAt: true
      _Hierarchy.LastChangeDateTime,

      _Text
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_CNSLDTNUNIVHIERARCHY_2"
],
"ASSOCIATED":
[
"I_CNSLDTNSEGMENTHIERARCHYT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/