A_CnsldtnCostCenterHierDir

DDL: A_CNSLDTNCOSTCENTERHIERDIR Type: view BASIC

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)

SourceAliasJoin Type
I_CnsldtnCostCenterHierarchy I_CnsldtnCostCenterHierarchy from

Annotations (13)

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

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