I_ConsumptionCode

DDL: I_CONSUMPTIONCODE SQL: ICONSUMPTIONCODE Type: view BASIC

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.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

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

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ICONSUMPTIONCODE view
AbapCatalog.compiler.compareFilter true view
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
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ConsumptionCode
_ConsumptionText _ConsumptionText
@AbapCatalog.sqlViewName: 'ICONSUMPTIONCODE'
@AbapCatalog.compiler.compareFilter: true
@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
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE

define view 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'