I_CommodityConditionMapping

DDL: I_COMMODITYCONDITIONMAPPING SQL: ICOMMCONDMAP Type: view BASIC

Commodity Pricing Condition Types Mapping Result

I_CommodityConditionMapping is a Basic CDS View that provides data about "Commodity Pricing Condition Types Mapping Result" in SAP S/4HANA. It reads from 1 data source (cmm_cmdty_cnd) and exposes 5 fields with key fields ConditionApplication, ConditionType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
cmm_cmdty_cnd cmm_cmdty_cnd from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_PurgPrcgCndnType _ConditionType $projection.ConditionType = _ConditionType.ConditionType and $projection.ConditionApplication = _ConditionType.ConditionApplication
[0..1] I_Cmmdty _Commodity $projection.Commodity = _Commodity.Commodity

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ICOMMCONDMAP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey ConditionType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Commodity Pricing Condition Types Mapping Result view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ConditionApplication conditionapplication Application
KEY ConditionType conditiontype Condition type
Commodity commodity Commodity Code
_ConditionType _ConditionType
_Commodity _Commodity

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_CommodityConditionMapping.
-- 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: ICOMMCONDMAP

CREATE VIEW I_CommodityConditionMapping AS
SELECT
  ConditionApplication,
  ConditionType,
  Commodity
FROM cmm_cmdty_cnd
LEFT OUTER JOIN I_PurgPrcgCndnType AS _ConditionType ON ConditionType = _ConditionType.ConditionType AND ConditionApplication = _ConditionType.ConditionApplication  -- association [0..1]
LEFT OUTER JOIN I_Cmmdty AS _Commodity ON Commodity = _Commodity.Commodity  -- association [0..1]
;