C_Storevh

DDL: C_STOREVH SQL: CSTOREVH Type: view CONSUMPTION

Consumption-Store Value Help

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

Data Sources (1)

SourceAliasJoin Type
I_Plant Store from

Associations (1)

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

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CSTOREVH view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
Search.searchable true view
ObjectModel.representativeKey Store view
EndUserText.label Consumption-Store Value Help 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 Store
PlantName
PlantCategory I_Plant PlantCategory
_PlantCategoryText _PlantCategoryText
@AbapCatalog.sqlViewName: 'CSTOREVH'
@VDM.viewType: #CONSUMPTION
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@Search.searchable: true
@ObjectModel.representativeKey: 'Store'
@EndUserText.label: 'Consumption-Store Value Help'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory : #S
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.dataCategory: #VALUE_HELP
@Consumption.ranked: true 
define view C_Storevh
  as select from I_Plant as Store
  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(Store.Plant as store preserving type ) as Store,
      
      cast(Store.PlantName as storename preserving type ) as PlantName,
      @ObjectModel.text.association: '_PlantCategoryText'
      Store.PlantCategory,
   
      _PlantCategoryText

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