I_ChmlCompositionCategoryT

DDL: I_CHMLCOMPOSITIONCATEGORYT Type: view BASIC

Language-Dependent Description of Composition Category

I_ChmlCompositionCategoryT is a Basic CDS View that provides data about "Language-Dependent Description of Composition Category" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t CompositionCategoryText from

Associations (1)

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

Annotations (11)

NameValueLevelField
EndUserText.label Language-Dependent Description of Composition Category view
AbapCatalog.sqlViewName ICCMPSCATEGORYT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey ChmlCompositionCategory view

Fields (4)

KeyFieldSource TableSource FieldDescription
domvalue_l11asChmlCompositionCategory
ddlanguageassprasasLanguage
ddtextasChmlCompositionCategoryName
_Language _Language
@EndUserText.label: 'Language-Dependent Description of Composition Category'

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

// authorization check not required as view only reads domain values

@AccessControl.authorizationCheck: #NOT_REQUIRED

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


@VDM.viewType: #BASIC

@ObjectModel:
{
  --Data category
  dataCategory: #TEXT,
  --Performance annotation
  usageType:
  {
    dataClass: #META,
    serviceQuality: #B,
    sizeCategory: #S
  },
  --Representative Key
   representativeKey: 'ChmlCompositionCategory'
}

define view I_ChmlCompositionCategoryT
  --Select data from domain value description table
  as select from dd07t as CompositionCategoryText

  --association to I_Language
  association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
      --Domain Value of Indicator Is Analytic
  key substring(CompositionCategoryText.domvalue_l,1,1)   as ChmlCompositionCategory,

      --Language
      @Semantics.language: true
      @ObjectModel.foreignKey.association: '_Language'
  key cast(CompositionCategoryText.ddlanguage as spras)   as Language,

      --language-dependent description of domain value
      @Semantics.text: true
      CompositionCategoryText.ddtext                      as ChmlCompositionCategoryName,

      /* Associations */
      _Language
}
where
      CompositionCategoryText.domname  = 'EHFND_CCI_CCMPS_CATEGORY'
  and CompositionCategoryText.as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/