C_SupCosBrkTmplSrcSysCoCodeVH

DDL: C_SUPCOSBRKTMPLSRCSYSCOCODEVH Type: view_entity CONSUMPTION

Source system company codes

C_SupCosBrkTmplSrcSysCoCodeVH is a Consumption CDS View that provides data about "Source system company codes" in SAP S/4HANA. It reads from 1 data source (I_BackendCoCodeForPurg) and exposes 6 fields with key field SupCosBrkTmplSrceSystCoCode.

Data Sources (1)

SourceAliasJoin Type
I_BackendCoCodeForPurg I_BackendCoCodeForPurg from

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Source system company codes view
Search.searchable true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey SupCosBrkTmplSrceSystCoCode view
Consumption.ranked true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY SupCosBrkTmplSrceSystCoCode
ProcurementHubSourceSystem ProcurementHubSourceSystem
ProcmtHubCompanyCode CompanyCode
ProcmtHubCompanyCodeName CompanyCodeName
ProcurementHubSourceSystemName ProcurementHubSourceSystemName Connected System Name
_BackendSourceSystem _BackendSourceSystem
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Source system company codes'
@Search.searchable: true
@VDM.viewType: #CONSUMPTION
@ObjectModel.usageType.dataClass: #ORGANIZATIONAL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.semanticKey: [ 'SupCosBrkTmplSrceSystCoCode' ]
@ObjectModel.representativeKey: 'SupCosBrkTmplSrceSystCoCode' 
@Consumption.ranked: true
define view entity C_SupCosBrkTmplSrcSysCoCodeVH as select from I_BackendCoCodeForPurg {

//  @UI.hidden: true

  @ObjectModel.text.element:  [ 'ProcmtHubCompanyCodeName' ]
  key cast( concat(ProcurementHubSourceSystem, CompanyCode) as mmpur_scbdt_srcesystcocode preserving type ) as SupCosBrkTmplSrceSystCoCode,
   
  ProcurementHubSourceSystem,
  ///@ObjectModel.text.element:  [ 'ProcmtHubCompanyCodeName' ]

  @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
  @UI.lineItem:[ { position:01 } ]
  CompanyCode as ProcmtHubCompanyCode,
  @Semantics.text: true
  @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
  @UI.lineItem:[ { position:01 } ]
  CompanyCodeName as ProcmtHubCompanyCodeName,
  @Consumption.filter.hidden: true
  @EndUserText.label: 'Connected System Name'
  @Consumption.valueHelpDefinition: [
                   { entity:  { name:    'C_ProcmtHubBackendSrceSystemVH',
                                element: 'ProcurementHubSourceSystemName' }
                   }]
  ProcurementHubSourceSystemName,
  
  //cast( concat(ProcurementHubSourceSystem, CompanyCode) as mmpur_scbdt_srcesystcocode preserving type ) as SupCosBrkTmplSrceSystCoCode,

  @Consumption.filter.hidden: true
  _BackendSourceSystem
  
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BACKENDCOCODEFORPURG"
],
"ASSOCIATED":
[
"I_BACKENDSOURCESYSTEM"
],
"BASE":
[
"I_BACKENDCOCODEFORPURG"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/