C_BackendCoCodeForPurg

DDL: C_BACKENDCOCODEFORPURG SQL: CBACKENDCOCODE Type: view CONSUMPTION

Consumption view for Backend Companycode

C_BackendCoCodeForPurg is a Consumption CDS View that provides data about "Consumption view for Backend Companycode" in SAP S/4HANA. It reads from 1 data source (I_BackendCoCodeForPurg) and exposes 4 fields with key fields ProcurementHubSourceSystem, CompanyCode.

Data Sources (1)

SourceAliasJoin Type
I_BackendCoCodeForPurg _BckPlant from

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
AbapCatalog.sqlViewName CBACKENDCOCODE view
AccessControl.personalData.blocking #NOT_REQUIRED view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Consumption view for Backend Companycode view
VDM.viewType #CONSUMPTION view
Search.searchable true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ProcurementHubSourceSystem ProcurementHubSourceSystem
KEY CompanyCode CompanyCode Company Code
CompanyCodeName CompanyCodeName
LogicalSystem LogicalSystem Source System
@ClientHandling.algorithm: #SESSION_VARIABLE 
@ObjectModel.usageType.dataClass: #ORGANIZATIONAL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@AbapCatalog.sqlViewName: 'CBACKENDCOCODE'
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Consumption view for Backend Companycode'
@VDM.viewType: #CONSUMPTION
@Search.searchable: true

define view C_BackendCoCodeForPurg as select from I_BackendCoCodeForPurg as _BckPlant
    association to I_UserDefaultSettingItem as _UserDefItem on _UserDefItem.SourceSystem = $projection.ProcurementHubSourceSystem
   
{

  key ProcurementHubSourceSystem ,
 
  @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
  @EndUserText.label: 'Company Code'
  key CompanyCode,  
  
  CompanyCodeName,
  //@EndUserText.label: 'Plant'

 // key Plant,

  
  @Consumption: {hidden: true }
  @EndUserText.label: 'Source System' 
  LogicalSystem
  
}
where _UserDefItem.Employee = $session.user

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BACKENDCOCODEFORPURG",
"I_USERDEFAULTSETTINGITEM"
],
"ASSOCIATED":
[
"I_USERDEFAULTSETTINGITEM"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/