C_ChmlCntrySpcfcHzdsIngrdnt

DDL: C_CHMLCNTRYSPCFCHZDSINGRDNT SQL: CCHMGHI Type: view CONSUMPTION

Country/Region Specific Haz. Ingredient

C_ChmlCntrySpcfcHzdsIngrdnt is a Consumption CDS View (Dimension) that provides data about "Country/Region Specific Haz. Ingredient" in SAP S/4HANA. It reads from 1 data source (I_ChemicalGroupedHzdsIngrdnt) and exposes 12 fields with key fields ChemicalUUID, ChemicalRevisionUUID, Country, ListedSubstanceUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChemicalGroupedHzdsIngrdnt ChemicalGroupedHzdsIngrdnt from

Associations (2)

CardinalityTargetAliasCondition
[1..*] I_ChmlHzdsIngrdntGrpCountry _ChmlHzdsIngrdntGrpCountry $projection.ChemicalUUID = _ChmlHzdsIngrdntGrpCountry.ChemicalUUID and ChemicalGroupedHzdsIngrdnt.ChemicalHzdsIngrdntGroupUUID = _ChmlHzdsIngrdntGrpCountry.ChemicalHzdsIngrdntGroupUUID
[0..1] I_ListedSubstanceDefaultName _ListedSubstanceDefaultName $projection.ListedSubstanceUUID = _ListedSubstanceDefaultName.ListedSubstanceUUID and _ListedSubstanceDefaultName.Language = $session.system_language

Annotations (14)

NameValueLevelField
EndUserText.label Country/Region Specific Haz. Ingredient view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey ChemicalUUID view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName CCHMGHI view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
Metadata.allowExtensions true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY ChemicalUUID I_ChemicalGroupedHzdsIngrdnt ChemicalUUID NodeID
KEY ChemicalRevisionUUID _ChmlHzdsIngrdntGrpCountry ChemicalRevisionUUID
KEY Country _ChmlHzdsIngrdntGrpCountry Country Venue: Ctry/Reg
KEY ListedSubstanceUUID ListedSubstanceUUID Listed Substance
CASNumber _ListedSubstance CASNumber CAS Number
ListedSubstanceName _ListedSubstanceDefaultName ListedSubstanceName Listed Subst. Name
_ListedSubstance _ListedSubstance
IngredientMaxProportionValue IngredientMaxProportionValue Maximal Proportion
IngredientProportionUnit IngredientProportionUnit
IngredientMaxProportionOptr IngredientMaxProportionOptr
IngredientMinProportionQty IngredientMinProportionQty Minimal Proportion
IngredientMinProportionOptr IngredientMinProportionOptr

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_ChmlCntrySpcfcHzdsIngrdnt.
-- 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: CCHMGHI

CREATE VIEW C_ChmlCntrySpcfcHzdsIngrdnt AS
SELECT
  ChemicalGroupedHzdsIngrdnt.ChemicalUUID AS ChemicalUUID,
  _ChmlHzdsIngrdntGrpCountry.ChemicalRevisionUUID AS ChemicalRevisionUUID,
  _ChmlHzdsIngrdntGrpCountry.Country AS Country,
  ListedSubstanceUUID,
  _ListedSubstance.CASNumber AS CASNumber,
  _ListedSubstanceDefaultName.ListedSubstanceName AS ListedSubstanceName,
  IngredientMaxProportionValue,
  IngredientProportionUnit,
  IngredientMaxProportionOptr,
  IngredientMinProportionQty,
  IngredientMinProportionOptr
FROM I_ChemicalGroupedHzdsIngrdnt AS ChemicalGroupedHzdsIngrdnt
LEFT OUTER JOIN I_ChmlHzdsIngrdntGrpCountry AS _ChmlHzdsIngrdntGrpCountry ON ChemicalUUID = _ChmlHzdsIngrdntGrpCountry.ChemicalUUID AND ChemicalGroupedHzdsIngrdnt.ChemicalHzdsIngrdntGroupUUID = _ChmlHzdsIngrdntGrpCountry.ChemicalHzdsIngrdntGroupUUID  -- association [1..*]
LEFT OUTER JOIN I_ListedSubstanceDefaultName AS _ListedSubstanceDefaultName ON ListedSubstanceUUID = _ListedSubstanceDefaultName.ListedSubstanceUUID AND _ListedSubstanceDefaultName.Language = $session.system_language  -- association [0..1]
;