I_ControlGroupingTextByLang

DDL: I_CONTROLGROUPINGTEXTBYLANG SQL: ICTRLGRPGTXTBYLA Type: view BASIC

Control Grouping Text By Language

I_ControlGroupingTextByLang is a Basic CDS View that provides data about "Control Grouping Text By Language" in SAP S/4HANA. It reads from 1 data source (/sapsll/ccgrt) and exposes 7 fields with key fields LegalRegulation, ControlGrouping, Language. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/sapsll/ccgrt /sapsll/ccgrt from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_TrdClassfctnLglRgln _LegalRegulation $projection.LegalRegulation = _LegalRegulation.LegalRegulation
[0..1] I_ControlGrouping _ControlGrouping $projection.LegalRegulation = _ControlGrouping.LegalRegulation and $projection.ControlGrouping = _ControlGrouping.ControlGrouping
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (12)

NameValueLevelField
EndUserText.label Control Grouping Text By Language view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName ICTRLGRPGTXTBYLA view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey ControlGrouping view
ObjectModel.usageType.sizeCategory L view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #MASTER view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY LegalRegulation lgreg
KEY ControlGrouping congr
KEY Language langu
ControlGroupingName
_LegalRegulation _LegalRegulation
_ControlGrouping _ControlGrouping
_Language _Language
@EndUserText.label: 'Control Grouping Text By Language'
@VDM.viewType: #BASIC
@ObjectModel.dataCategory: #TEXT
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.sqlViewName: 'ICTRLGRPGTXTBYLA'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'ControlGrouping'

@ObjectModel.usageType.sizeCategory: 'L'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #MASTER
// we have to disable the semantic language as true, because SADL automatically push session language

define view I_ControlGroupingTextByLang
  as select from /sapsll/ccgrt
  association [0..1] to I_TrdClassfctnLglRgln as _LegalRegulation on  $projection.LegalRegulation = _LegalRegulation.LegalRegulation
  association [0..1] to I_ControlGrouping as _ControlGrouping on  $projection.LegalRegulation = _ControlGrouping.LegalRegulation
                                                              and $projection.ControlGrouping = _ControlGrouping.ControlGrouping
  association [0..1] to I_Language        as _Language        on  $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_LegalRegulation'
  key lgreg  as LegalRegulation,
      @ObjectModel.foreignKey.association: '_ControlGrouping'
  key congr  as ControlGrouping,
      @ObjectModel.foreignKey.association: '_Language'
//      @Semantics.language: true

  key langu  as Language,
      @Semantics.text: true
      cast( text1 as /sapsll/cgrpt preserving type )  as ControlGroupingName,

      _LegalRegulation,
      _ControlGrouping,
      _Language
}