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 Lang.
ConsumptionDescription dd07t ddtext Short text
_Language _Language
_ConsumptionCode _ConsumptionCode

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_ConsumptionText.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ICONSUMPTIONTEXT

CREATE VIEW I_ConsumptionText AS
SELECT
  cast ( substring( dd07t.domvalue_l, 1, 1 ) as pph_abc_ind ) AS ConsumptionCode,
  dd07t.ddlanguage AS Language,
  dd07t.ddtext AS ConsumptionDescription
FROM dd07t
LEFT OUTER JOIN I_ConsumptionCode AS _ConsumptionCode ON ConsumptionCode = _ConsumptionCode.ConsumptionCode  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON dd07t.ddlanguage = _Language.Language  -- association [0..1]
;