C_ChmlCntrySpcfcHzdsIngrdnt
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)
| Source | Alias | Join Type |
|---|---|---|
| I_ChemicalGroupedHzdsIngrdnt | ChemicalGroupedHzdsIngrdnt | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA