C_AllocCoCodeCtrlgAreaVH

DDL: C_ALLOCCOCODECTRLGAREAVH SQL: CCOMPVH Type: view CONSUMPTION Package: ODATA_MANAGE_ALLOCATION

Company Code for Controlling Area

C_AllocCoCodeCtrlgAreaVH is a Consumption CDS View that provides data about "Company Code for Controlling Area" in SAP S/4HANA. It reads from 1 data source (C_CostCenterCompanyCodeVH) and exposes 7 fields with key field CompanyCode. It is exposed through 1 OData service (UI_FCO_MANAGE_ALLOCATION). Part of development package ODATA_MANAGE_ALLOCATION.

Data Sources (1)

SourceAliasJoin Type
C_CostCenterCompanyCodeVH C_CostCenterCompanyCodeVH from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CCOMPVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Company Code for Controlling Area view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.dataCategory #VALUE_HELP view
Search.searchable true view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
UI_FCO_MANAGE_ALLOCATION UI_FCOUA_MANAGE_ALLOCATION V2 C1 NOT_RELEASED

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode
ControllingArea ControllingArea
ControllingAreaName ControllingAreaName
CompanyCodeName CompanyCodeName
CityName CityName
Country Country
Currency Currency
@AbapCatalog.sqlViewName: 'CCOMPVH'

@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking:#NOT_REQUIRED

@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Company Code for Controlling Area'

@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.dataCategory: #VALUE_HELP

@Search.searchable: true

@VDM.viewType: #CONSUMPTION
define view C_AllocCoCodeCtrlgAreaVH as 
select from C_CostCenterCompanyCodeVH 
{
      @Search: {
        defaultSearchElement: true,
        ranking: #HIGH,
        fuzzinessThreshold: 0.7
      }
      @UI: {
        lineItem.position: 10,
        selectionField.position: 10,
        textArrangement: #TEXT_LAST      
      }
      @ObjectModel.text.element: ['CompanyCodeName']
  key CompanyCode,
      @Consumption.valueHelpDefinition: [ 
        { entity:  { name:    'I_ControllingArea',
                     element: 'ControllingArea' }
        }]
      @ObjectModel.text.element: ['ControllingAreaName']
      @UI.textArrangement: #TEXT_FIRST
      @UI.lineItem.position: 60
      @UI.selectionField.position: 60
      ControllingArea,
      @UI.hidden: true      
      ControllingAreaName,
      @Search: {
        defaultSearchElement: true,
        ranking: #HIGH,
        fuzzinessThreshold: 0.7
      }
      @UI.lineItem.position: 20
      @UI.selectionField.position: 20
      CompanyCodeName,
      @UI.lineItem.position: 30
      @UI.selectionField.position: 30
      CityName,
      @UI.lineItem.position: 40
      @UI.selectionField.position: 40
      Country,
      @UI.lineItem.position: 50
      @UI.selectionField.position: 50
      Currency //,

  /* Associations */
  //_ControllingAreaText,

  //_Currency  

}