I_ConsumptionText

DDL: I_CONSUMPTIONTEXT SQL: ICONSUMPTIONTEXT Type: view BASIC

Demand Driven Consumption Description

I_ConsumptionText is a Basic CDS View that provides data about "Demand Driven Consumption Description" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields ConsumptionCode, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ConsumptionCode _ConsumptionCode $projection.ConsumptionCode = _ConsumptionCode.ConsumptionCode
[0..1] I_Language _Language dd07t.ddlanguage = _Language.Language

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ICONSUMPTIONTEXT view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Demand Driven Consumption Description view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey ConsumptionCode view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ConsumptionCode
KEY Language dd07t ddlanguage
ConsumptionDescription dd07t ddtext
_Language _Language
_ConsumptionCode _ConsumptionCode
@AbapCatalog.sqlViewName: 'ICONSUMPTIONTEXT'
@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'Demand Driven Consumption Description'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'ConsumptionCode'
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #S
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED

define view I_ConsumptionText as select from dd07t
association [0..1] to I_ConsumptionCode as _ConsumptionCode on $projection.ConsumptionCode = _ConsumptionCode.ConsumptionCode
association [0..1] to I_Language as _Language on dd07t.ddlanguage = _Language.Language
{
  key cast ( substring( dd07t.domvalue_l, 1, 1 ) as pph_abc_ind ) as ConsumptionCode,

      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key dd07t.ddlanguage                                       as Language,

      @Semantics.text: true
      dd07t.ddtext                                           as ConsumptionDescription,

    _Language,
    _ConsumptionCode
}
where
      dd07t.domname  = 'PPH_ABC_IND'
  and dd07t.as4local = 'A'

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_CONSUMPTIONCODE",
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/