I_ConsumptionPosting

DDL: I_CONSUMPTIONPOSTING SQL: IMMPURCONSPOST Type: view BASIC

Consumption posting

I_ConsumptionPosting is a Basic CDS View (Dimension) that provides data about "Consumption posting" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field ConsumptionPosting. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ConsumptionPostingText _Text $projection.ConsumptionPosting = _Text.ConsumptionPosting

Annotations (12)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ObjectModel.representativeKey ConsumptionPosting view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Consumption posting view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IMMPURCONSPOST view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ConsumptionPosting
_Text _Text

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_ConsumptionPosting.
-- 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: IMMPURCONSPOST

CREATE VIEW I_ConsumptionPosting AS
SELECT
  cast ( substring( domvalue_l, 1, 1 ) as kzvbr ) AS ConsumptionPosting
FROM dd07l
LEFT OUTER JOIN I_ConsumptionPostingText AS _Text ON ConsumptionPosting = _Text.ConsumptionPosting  -- association [0..*]
;