C_ProductTCCVH

DDL: C_PRODUCTTCCVH Type: view_entity CONSUMPTION

Commodity Code

C_ProductTCCVH is a Consumption CDS View that provides data about "Commodity Code" in SAP S/4HANA. It reads from 3 data sources (I_TransportationCommodityCode, I_TrdClassfctnNmbrSchm, I_TrdClassfctnNmbrSchmCntntAct) and exposes 5 fields with key fields TrdClassfctnNmbrSchm, CommodityCode, ValidityStartDate.

Data Sources (3)

SourceAliasJoin Type
I_TransportationCommodityCode CommodityCode from
I_TrdClassfctnNmbrSchm NumberScheme inner
I_TrdClassfctnNmbrSchmCntntAct NumberSchemeContentAct inner

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Consumption.ranked true view
Consumption.valueHelpDefault.fetchValues #AUTOMATICALLY_WHEN_DISPLAYED view
EndUserText.label Commodity Code view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey CommodityCode view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
Search.searchable true view
VDM.viewType #CONSUMPTION view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY TrdClassfctnNmbrSchm I_TrdClassfctnNmbrSchm TrdClassfctnNmbrSchm Numbering Scheme
KEY CommodityCode I_TransportationCommodityCode CommodityCode Commodity Code
KEY ValidityStartDate I_TransportationCommodityCode ValidityStartDate Validity Start Date
ValidityEndDate I_TransportationCommodityCode ValidityEndDate ValidTo
TrdClassfctnNmbrOfficialDesc _text TrdClassfctnNmbrOfficialDesc

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 C_ProductTCCVH.
-- 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.

CREATE VIEW C_ProductTCCVH AS
SELECT
  NumberScheme.TrdClassfctnNmbrSchm AS TrdClassfctnNmbrSchm,
  CommodityCode.CommodityCode AS CommodityCode,
  CommodityCode.ValidityStartDate AS ValidityStartDate,
  CommodityCode.ValidityEndDate AS ValidityEndDate,
  _text.TrdClassfctnNmbrOfficialDesc AS TrdClassfctnNmbrOfficialDesc
FROM I_TransportationCommodityCode AS CommodityCode
INNER JOIN I_TrdClassfctnNmbrSchmCntntAct AS NumberSchemeContentAct ON /* join condition not captured in parsed metadata */
INNER JOIN I_TrdClassfctnNmbrSchm AS NumberScheme ON /* join condition not captured in parsed metadata */
;