I_RtlPromnDiscountLevel

DDL: I_RTLPROMNDISCOUNTLEVEL Type: view_entity BASIC

Retail Promotion Discount Level

I_RtlPromnDiscountLevel is a Basic CDS View that provides data about "Retail Promotion Discount Level" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field RetailPromnDiscountLevel. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_RtlPromnDiscountLevelT _Text $projection.RetailPromnDiscountLevel = _Text.RetailPromnDiscountLevel

Annotations (9)

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

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY RetailPromnDiscountLevel
_Text _Text
@Analytics.technicalName: 'IRTLPROMNDISCLV'
@EndUserText.label: 'Retail Promotion Discount Level'

@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@ObjectModel: {
    compositionRoot: true,
    representativeKey: 'RetailPromnDiscountLevel',
    usageType.serviceQuality: #A,
    usageType.sizeCategory: #S,
    usageType.dataClass: #META
}
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ]  } */
define view entity I_RtlPromnDiscountLevel
  as select from dd07l
  
  association [0..*] to I_RtlPromnDiscountLevelT as _Text on $projection.RetailPromnDiscountLevel = _Text.RetailPromnDiscountLevel
{

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

      @ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
      _Text
      
}
where
      domname  = 'REB_MAT'
  and as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_RTLPROMNDISCOUNTLEVELT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/