I_ChmlCompTypeText

DDL: I_CHMLCOMPTYPETEXT Type: view BASIC Package: EHFND_BO_CCI

Language-Depenedent Description of Type of Chem. Component

I_ChmlCompTypeText is a Basic CDS View that provides data about "Language-Depenedent Description of Type of Chem. Component" in SAP S/4HANA. It reads from 1 data source (ehfndc_comptypet) and exposes 3 fields. It has 1 association to related views. Part of development package EHFND_BO_CCI.

Data Sources (1)

SourceAliasJoin Type
ehfndc_comptypet ChemComponentTypeText from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (12)

NameValueLevelField
EndUserText.label Language-Depenedent Description of Type of Chem. Component view
AbapCatalog.sqlViewName ICCOMPTYPET view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey ChmlCompType view
Search.searchable true view

Fields (3)

KeyFieldSource TableSource FieldDescription
languasLanguage
type_descriptionasChmlCompTypeName
_Language _Language
@EndUserText.label: 'Language-Depenedent Description of Type of Chem. Component'

@AbapCatalog:
{
  sqlViewName: 'ICCOMPTYPET',
  compiler.compareFilter: true
}

// no authorization check required because view only reads customizing for which a check is not needed

@AccessControl.authorizationCheck: #NOT_REQUIRED

--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE

@VDM.viewType: #BASIC

@ObjectModel:
{
  --Performance Annotations
  usageType:
  {
    dataClass: #CUSTOMIZING,
    sizeCategory: #S,
    serviceQuality: #B
  },
  --Data category
  dataCategory: #TEXT,
  --Representative Key
  representativeKey: 'ChmlCompType'
}

--Search
@Search.searchable: true

define view I_ChmlCompTypeText
  --Select data from customizing table 'Language-dependent Description for Component Type'
  as select from ehfndc_comptypet as ChemComponentTypeText

  --Link to CDS view I_Language
  association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
      --Type of Chemical Component
  key cast(ChemComponentTypeText.type as ehfnd_cci_ccomp_type_nce preserving type ) as ChmlCompType,

      --Language
      @Semantics.language: true
      @ObjectModel.foreignKey.association: '_Language'
  key ChemComponentTypeText.langu                                                   as Language,

      --Description of Type
      @Semantics.text: true
      @Search:
      {
        defaultSearchElement: true,
        fuzzinessThreshold: 0.8,
        ranking: #HIGH
      }
      ChemComponentTypeText.type_description                                        as ChmlCompTypeName,

      /* Associations */
      _Language
}