I_ExciseTaxCmmdtyText

DDL: I_EXCISETAXCMMDTYTEXT SQL: IEXSTXCMMDTYT Type: view COMPOSITE

Commodity Code Text for Excise Tax

I_ExciseTaxCmmdtyText is a Composite CDS View that provides data about "Commodity Code Text for Excise Tax" in SAP S/4HANA. It reads from 3 data sources (I_TrdClassfctnNmbrSchmCntntAct, I_TrdClassfctnNmbrText, I_TrdClassfctnNmbrSchmUsge) and exposes 7 fields with key fields Country, ValidityStartDate, CommodityCode, Language. It has 2 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_TrdClassfctnNmbrSchmCntntAct _Activation inner
I_TrdClassfctnNmbrText _Text from
I_TrdClassfctnNmbrSchmUsge _Usage inner

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ExciseTaxCmmdty _CommodityCode _Usage.Country = _CommodityCode.Country and _Text.ValidityStartDate = _CommodityCode.ValidityStartDate and _Text.TrdClassfctnNmbr = _CommodityCode.CommodityCode
[0..1] I_Language _Language _Text.Language = _Language.Language

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IEXSTXCMMDTYT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Commodity Code Text for Excise Tax view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.sizeCategory L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Country _CommodityCode Country Venue: Ctry/Reg
KEY ValidityStartDate _CommodityCode ValidityStartDate Validity Start Date
KEY CommodityCode _CommodityCode CommodityCode Commodity Code
KEY Language I_TrdClassfctnNmbrText Language Report Text Language
ValidityEndDate _CommodityCode ValidityEndDate ValidTo
CommodityCodeText TrdClassfctnNmbrText User Group
_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_ExciseTaxCmmdtyText.
-- 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: IEXSTXCMMDTYT

CREATE VIEW I_ExciseTaxCmmdtyText AS
SELECT
  _CommodityCode.Country AS Country,
  _CommodityCode.ValidityStartDate AS ValidityStartDate,
  _CommodityCode.CommodityCode AS CommodityCode,
  _Text.Language AS Language,
  _CommodityCode.ValidityEndDate AS ValidityEndDate,
  TrdClassfctnNmbrText AS CommodityCodeText
FROM I_TrdClassfctnNmbrText AS _Text
INNER JOIN I_TrdClassfctnNmbrSchmCntntAct AS _Activation ON /* join condition not captured in parsed metadata */
INNER JOIN I_TrdClassfctnNmbrSchmUsge AS _Usage ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ExciseTaxCmmdty AS _CommodityCode ON _Usage.Country = _CommodityCode.Country AND _Text.ValidityStartDate = _CommodityCode.ValidityStartDate AND _Text.TrdClassfctnNmbr = _CommodityCode.CommodityCode  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON _Text.Language = _Language.Language  -- association [0..1]
;