C_AllocationCostCenterVH

DDL: C_ALLOCATIONCOSTCENTERVH SQL: CALLOCCVH Type: view CONSUMPTION

Cost Center Value Help

C_AllocationCostCenterVH is a Consumption CDS View that provides data about "Cost Center Value Help" in SAP S/4HANA. It reads from 1 data source (I_CostCenterVH) and exposes 11 fields with key fields ControllingArea, CostCenter, ValidityEndDate.

Data Sources (1)

SourceAliasJoin Type
I_CostCenterVH CostCenter from

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CALLOCCVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey CostCenter view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #NOT_REQUIRED view
Search.searchable true view
ObjectModel.dataCategory #VALUE_HELP view
VDM.viewType #CONSUMPTION view
EndUserText.label Cost Center Value Help view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea I_CostCenterVH ControllingArea
KEY CostCenter I_CostCenterVH CostCenter
KEY ValidityEndDate I_CostCenterVH ValidityEndDate
ValidityStartDate I_CostCenterVH ValidityStartDate
CostCenterName I_CostCenterVH CostCenterName
CompanyCode I_CostCenterVH CompanyCode
CostCenterCategory I_CostCenterVH CostCenterCategory
ProfitCenter I_CostCenterVH ProfitCenter
CostCtrResponsiblePersonName I_CostCenterVH CostCtrResponsiblePersonName
CostCtrResponsibleUser I_CostCenterVH CostCtrResponsibleUser
_ControllingArea I_CostCenterVH _ControllingArea
@AbapCatalog.sqlViewName: 'CALLOCCVH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK

@ObjectModel.representativeKey: 'CostCenter'
@ObjectModel.semanticKey: [ 'ControllingArea', 'CostCenter', 'ValidityEndDate' ]
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M

@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Search.searchable: true

@ObjectModel.dataCategory: #VALUE_HELP
@VDM.viewType: #CONSUMPTION
@EndUserText.label: 'Cost Center Value Help'
define view C_AllocationCostCenterVH
  as select from I_CostCenterVH as CostCenter
{
      @UI.hidden: false
      @UI.selectionField: [{position: 100 }]
      @UI.lineItem: [{position: 100 }]
  key CostCenter.ControllingArea,

      @Search: { defaultSearchElement:  true, ranking: #HIGH }
      @UI.selectionField: [{position: 10 }]
      @UI.lineItem: [{position: 10 }]
  key CostCenter.CostCenter,

      @Semantics.businessDate.to: true
      @Consumption.filter.multipleSelections: false
      @Consumption.filter.selectionType: #SINGLE
      @UI.lineItem: [{position: 15 }]
      @UI.selectionField: [{position: 15 }]
  key CostCenter.ValidityEndDate,

      @Semantics.businessDate.from: true
      @UI.lineItem: [{position: 12 }]
      @UI.selectionField: [{position: 12 }]
      CostCenter.ValidityStartDate,
      
      @UI.selectionField: [{position: 20 }]
      @UI.lineItem: [{position: 20 }]
      @UI.hidden: false
      CostCenter.CostCenterName,

      @Consumption.valueHelpDefinition: [{
        entity: {
          name: 'C_CostCenterCompanyCodeVH',
          element: 'CompanyCode'
        },
        distinctValues: true
      }]
      @UI.selectionField: [{position: 90 }]
      @UI.lineItem: [{position: 90 }]
      CostCenter.CompanyCode,
      
      @UI.lineItem: [{position: 30 }]
      @UI.selectionField: [{position: 30 }]
      CostCenter.CostCenterCategory,
      
      @UI.lineItem: [{position: 40 }]
      @UI.selectionField: [{position: 40 }]
      CostCenter.ProfitCenter,

      @Search: { defaultSearchElement: true, ranking: #LOW }
      @UI.lineItem: [{position: 50 }]
      @UI.selectionField: [{position: 50 }]
      CostCenter.CostCtrResponsiblePersonName,

      @Search: { defaultSearchElement: true, ranking: #LOW }
      @UI.lineItem: [{position: 50 }]
      @UI.selectionField: [{position: 50 }]
      CostCenter.CostCtrResponsibleUser,

      CostCenter._ControllingArea
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COSTCENTERVH"
],
"ASSOCIATED":
[
"I_CONTROLLINGAREA"
],
"BASE":
[
"I_COSTCENTERVH"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/