C_CnsldtnUnitTP

DDL: C_CNSLDTNUNITTP Type: view_entity CONSUMPTION

Consolidation Unit

C_CnsldtnUnitTP is a Consumption CDS View that provides data about "Consolidation Unit" in SAP S/4HANA. It reads from 1 data source (R_CnsldtnUnitTP) and exposes 9 fields with key field ConsolidationUnit.

Data Sources (1)

SourceAliasJoin Type
R_CnsldtnUnitTP R_CnsldtnUnitTP projection

Annotations (8)

NameValueLevelField
Metadata.allowExtensions false view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Consolidation Unit view
Metadata.ignorePropagatedAnnotations true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationUnit _CnsldtnUnit ConsolidationUnit
Country _CnsldtnUnit Country
ConsolidationUnitLink _CnsldtnUnit ConsolidationUnitLink
ConsolidationUnitLinkLabel _CnsldtnUnit ConsolidationUnitLinkLabel
Company
CompanyName
ETag _CnsldtnUnit ETag
CountryNamelocalized
ConsolidationUnitTextlocalized
@Metadata.allowExtensions: false
@VDM: {
  viewType: #CONSUMPTION,
  usage.type: [#TRANSACTIONAL_PROCESSING_SERVICE]
}
@ObjectModel.usageType: {
  dataClass: #MASTER,
  serviceQuality: #C,
  sizeCategory: #M
}
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Consolidation Unit'
@Metadata.ignorePropagatedAnnotations: true
define root view entity C_CnsldtnUnitTP
  provider contract transactional_query
  as projection on R_CnsldtnUnitTP as _CnsldtnUnit

{
      @Consumption.valueHelpDefinition: [{
        entity:{
          name:'C_CnsldtnUnitValueHelp_3',
          element:'ConsolidationUnit'}
      }]
      @ObjectModel.text.element: [ 'ConsolidationUnitText' ]
  key _CnsldtnUnit.ConsolidationUnit,


      @Consumption.valueHelpDefinition: [{
        entity:{
          name:'I_CountryVH',
          element:'Country'}
      }]
      @EndUserText: {
        label: 'Country/Region',
        quickInfo: 'Country/Region'
      }
      @ObjectModel.text.element: [ 'CountryName' ]
      @UI.textArrangement: #TEXT_LAST
      _CnsldtnUnit.Country,

      _CnsldtnUnit.ConsolidationUnitLink,

      _CnsldtnUnit.ConsolidationUnitLinkLabel,

      @EndUserText: {
        label: 'Company',
        quickInfo: 'Company'
      }
      @ObjectModel.text.element: [ 'CompanyName' ]
      @UI.textArrangement: #TEXT_LAST
      _CnsldtnUnit._Company.Company, //STS - TODO: remove field


      @EndUserText: {
        label: 'Company Description',
        quickInfo: 'Company Description'
      }
      @Semantics.text:true
      _CnsldtnUnit._Company.CompanyName, //STS - TODO: remove field



      @UI.hidden: true
      _CnsldtnUnit.ETag,


      @EndUserText: {
        label: 'Country/Region Description',
        quickInfo: 'Country/Region Description'
      }
      @Semantics.text:true
      _CnsldtnUnit._Country._Text.CountryName    : localized,

      @Semantics.text:true
      _CnsldtnUnit._Text.ConsolidationUnitText : localized,


      // composition definition

      _Text                     as _Text                     : redirected to composition child C_CnsldtnUnitTextTP,
      _CnsldtnUnitByTime        as _CnsldtnUnitByTime        : redirected to composition child C_CnsldtnUnitByTimeTP,
      _CnsldtnUnitByTimeVersion as _CnsldtnUnitByTimeVersion : redirected to composition child C_CnsldtnUnitByTimeVersionTP

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COUNTRY",
"I_COUNTRYTEXT",
"I_GLOBALCOMPANY",
"R_CNSLDTNUNITTEXTTP",
"R_CNSLDTNUNITTP"
],
"ASSOCIATED":
[
"C_CNSLDTNUNITBYTIMETP",
"C_CNSLDTNUNITBYTIMEVERSIONTP",
"C_CNSLDTNUNITTEXTTP"
],
"BASE":
[
"R_CNSLDTNUNITTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/