I_RtlPromnDiscountStatusT

DDL: I_RTLPROMNDISCOUNTSTATUST Type: view_entity BASIC

Retail Promotion Discount Status Text

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

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_RtlPromnDiscountStatus _RtlPromnDiscountStatus $projection.RetailPromotionDiscountStatus = _RtlPromnDiscountStatus.RetailPromotionDiscountStatus
[1..1] I_Language _Language $projection.Language = _Language.Language

Annotations (9)

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

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY RetailPromotionDiscountStatus
KEY Language
RetailPromotionDiscStatusName ddtext
_RtlPromnDiscountStatus _RtlPromnDiscountStatus
_Language _Language
@Analytics.technicalName: 'IRTLPROMNDISCSTT'
@EndUserText.label: 'Retail Promotion Discount Status Text'

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

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

      @ObjectModel.foreignKey.association: '_RtlPromnDiscountStatus'
  key cast(substring(domvalue_l, 1, 1) as reb_status preserving type)    
        as  RetailPromotionDiscountStatus,

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

      @Semantics.text: true
      ddtext                                                
          as  RetailPromotionDiscStatusName,

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