C_Distributioncentervh

DDL: C_DISTRIBUTIONCENTERVH SQL: CDCVH Type: view CONSUMPTION

Consumption-Dist Center Value Help

C_Distributioncentervh is a Consumption CDS View that provides data about "Consumption-Dist Center Value Help" in SAP S/4HANA. It reads from 1 data source (I_Plant) and exposes 4 fields with key field DistributionCenter. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_Plant DistributionCenter from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_PlantCategoryT _PlantCategoryText $projection.PlantCategory = _PlantCategoryText.PlantCategory

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CDCVH view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Consumption-Dist Center Value Help view
Search.searchable true view
ObjectModel.representativeKey DistributionCenter view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view
Consumption.ranked true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY DistributionCenter
PlantName
PlantCategory I_Plant PlantCategory
_PlantCategoryText _PlantCategoryText
@AbapCatalog.sqlViewName: 'CDCVH'
@VDM.viewType: #CONSUMPTION
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Consumption-Dist Center Value Help'
@Search.searchable: true
@ObjectModel.representativeKey: 'DistributionCenter'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory : #S
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.dataCategory: #VALUE_HELP
@Consumption.ranked: true

define view C_Distributioncentervh
  as select from I_Plant as DistributionCenter
  association [0..*] to I_PlantCategoryT as _PlantCategoryText on $projection.PlantCategory = _PlantCategoryText.PlantCategory
{
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
      @ObjectModel.text.element:  [ 'PlantName' ]
  key cast(DistributionCenter.Plant as distributioncenter preserving type )         as DistributionCenter,

      cast(DistributionCenter.PlantName as distributioncentername preserving type ) as PlantName,
      @UI.hidden: true
      @ObjectModel.text.association: '_PlantCategoryText'
      DistributionCenter.PlantCategory,

      _PlantCategoryText

}
where
  DistributionCenter.PlantCategory = 'B'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PLANT"
],
"ASSOCIATED":
[
"I_PLANTCATEGORYT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/