C_ProdCmplncLanguageVH

DDL: C_PRODCMPLNCLANGUAGEVH SQL: CPCLANGVH Type: view CONSUMPTION Package: EHFND_PRODUCT_MASTER_COMN

Language of Product Compliance

C_ProdCmplncLanguageVH is a Consumption CDS View that provides data about "Language of Product Compliance" in SAP S/4HANA. It reads from 1 data source (I_Language) and exposes 4 fields with key field Language. Part of development package EHFND_PRODUCT_MASTER_COMN.

Data Sources (1)

SourceAliasJoin Type
I_Language I_Language from

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CPCLANGVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Language of Product Compliance view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey Language view
Search.searchable true view
Consumption.ranked true view
VDM.viewType #CONSUMPTION view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Language Language
LanguageISOCode
LanguageName
_Text _Text
@AbapCatalog.sqlViewName: 'CPCLANGVH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Language of Product Compliance'
@Metadata.ignorePropagatedAnnotations: true
@Metadata.allowExtensions: true

@ObjectModel: {
  usageType: {
    serviceQuality: #B,
    sizeCategory:  #S,
    dataClass: #MASTER },
  dataCategory: #VALUE_HELP,
  representativeKey: 'Language' }

@Search.searchable: true --- required, otherwise type ahead won't work
@Consumption.ranked: true
@VDM.viewType: #CONSUMPTION
define view C_ProdCmplncLanguageVH as select from I_Language {
      @ObjectModel.text.association: '_Text'
      @Search.defaultSearchElement: true
      @Search.ranking: #HIGH
      @Search.fuzzinessThreshold:  0.75
      @UI.hidden: true
  key Language,

      @Search.defaultSearchElement
      @Search.ranking: #MEDIUM
      @Search.fuzzinessThreshold: 0.8
      cast(LanguageISOCode as languageisocode preserving type ) as LanguageISOCode,
      
      @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8, ranking: #LOW }
      @UI.hidden: true
      _Text[ 1: Language = $session.system_language ].LanguageName,

      _Text
}