I_CmmdtyPriceExposureCategoryT

DDL: I_CMMDTYPRICEEXPOSURECATEGORYT SQL: ICOEXCATT Type: view BASIC

Commodity Price Exposure Category Text

I_CmmdtyPriceExposureCategoryT is a Basic CDS View that provides data about "Commodity Price Exposure Category Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields CommodityPriceExposureCategory, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..1] I_CmmdtyPriceExposureCategory _CommodityPriceExpsrCategory $projection.CommodityPriceExposureCategory = _CommodityPriceExpsrCategory.CommodityPriceExposureCategory

Annotations (11)

NameValueLevelField
EndUserText.label Commodity Price Exposure Category Text view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ICOEXCATT view
ObjectModel.representativeKey CommodityPriceExposureCategory view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CommodityPriceExposureCategory
KEY Language ddlanguage Lang.
CmmdtyPriceExpsrCategoryName Short text
_CommodityPriceExpsrCategory _CommodityPriceExpsrCategory
_Language _Language

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_CmmdtyPriceExposureCategoryT.
-- 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: ICOEXCATT

CREATE VIEW I_CmmdtyPriceExposureCategoryT AS
SELECT
  cast ( substring( domvalue_l, 1, 2 ) as ftr_cty_exp_rep_grp ) AS CommodityPriceExposureCategory,
  ddlanguage AS Language,
  cast( ddtext as val_text ) AS CmmdtyPriceExpsrCategoryName
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_CmmdtyPriceExposureCategory AS _CommodityPriceExpsrCategory ON CommodityPriceExposureCategory = _CommodityPriceExpsrCategory.CommodityPriceExposureCategory  -- association [1..1]
;