I_ConsumptionCode

DDL: I_CONSUMPTIONCODE Type: view_entity BASIC Package: PPH_DD_VDM_STLM

Demand Driven View for Consumption Code

I_ConsumptionCode is a Basic CDS View (Dimension) that provides data about "Demand Driven View for Consumption Code" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field ConsumptionCode. It has 1 association to related views. Part of development package PPH_DD_VDM_STLM.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ConsumptionText _ConsumptionText $projection.ConsumptionCode = _ConsumptionText.ConsumptionCode

Annotations (9)

NameValueLevelField
EndUserText.label Demand Driven View for Consumption Code view
ObjectModel.representativeKey ConsumptionCode view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
Analytics.dataCategory #DIMENSION view
Analytics.technicalName ICONSUMPTIONCODE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ConsumptionCode
_ConsumptionText _ConsumptionText
@EndUserText.label: 'Demand Driven View for Consumption Code'
@ObjectModel: {representativeKey: 'ConsumptionCode'}
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@Analytics.dataCategory: #DIMENSION
@Analytics.technicalName: 'ICONSUMPTIONCODE'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
define view entity I_ConsumptionCode as select from dd07l
  association [0..*] to I_ConsumptionText as _ConsumptionText on $projection.ConsumptionCode = _ConsumptionText.ConsumptionCode
{
      @ObjectModel.text.association: '_ConsumptionText'
  key cast ( substring( domvalue_l, 1, 1 ) as pph_abc_ind ) as ConsumptionCode,
      _ConsumptionText
}
where
      dd07l.domname  = 'PPH_ABC_IND'
  and dd07l.as4local = 'A'