I_RtlPromnDiscountLevelT

DDL: I_RTLPROMNDISCOUNTLEVELT Type: view_entity BASIC

Retail Promotion Discount Level Text

I_RtlPromnDiscountLevelT is a Basic CDS View that provides data about "Retail Promotion Discount Level Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields RetailPromnDiscountLevel, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_RtlPromnDiscountLevel _RtlPromnDiscountLevel $projection.RetailPromnDiscountLevel = _RtlPromnDiscountLevel.RetailPromnDiscountLevel
[1..1] I_Language _Language $projection.Language = _Language.Language

Annotations (9)

NameValueLevelField
Analytics.technicalName IRTLPROMNDISCLVT view
EndUserText.label Retail Promotion Discount Level Text view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey RetailPromnDiscountLevel view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY RetailPromnDiscountLevel
KEY Language
RetailPromnDiscountLevelName ddtext
_RtlPromnDiscountLevel _RtlPromnDiscountLevel
_Language _Language
@Analytics.technicalName: 'IRTLPROMNDISCLVT'
@EndUserText.label: 'Retail Promotion Discount Level Text'

@AccessControl.authorizationCheck:  #NOT_REQUIRED
@VDM.viewType: #BASIC
@ObjectModel: {
    dataCategory: #TEXT,
    representativeKey: 'RetailPromnDiscountLevel',
    usageType.serviceQuality: #A,
    usageType.sizeCategory: #S,
    usageType.dataClass: #META
}

/*+[hideWarning] { "IDS" : [ "KEY_CHECK", "CALCULATED_FIELD_CHECK" ] }*/
define view entity I_RtlPromnDiscountLevelT
  as select from dd07t
  
  association [1..1] to I_RtlPromnDiscountLevel as _RtlPromnDiscountLevel on $projection.RetailPromnDiscountLevel = _RtlPromnDiscountLevel.RetailPromnDiscountLevel
  association [1..1] to I_Language              as _Language              on $projection.Language = _Language.Language
{

      @ObjectModel.foreignKey.association: '_RtlPromnDiscountLevel'
  key cast(substring(domvalue_l, 1, 2) as reb_level preserving type)
        as RetailPromnDiscountLevel,

      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key cast( ddlanguage as langu preserving type )
        as Language,

      @Semantics.text: true
      ddtext
        as RetailPromnDiscountLevelName,

      @ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
      _RtlPromnDiscountLevel,
      _Language
      
}
where
      domname  = 'REB_MAT'
  and as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_RTLPROMNDISCOUNTLEVEL"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/