I_ChemicalAttributesC
Chemcial Attributes Cube
I_ChemicalAttributesC is a Composite CDS View (Cube) that provides data about "Chemcial Attributes Cube" in SAP S/4HANA. It reads from 1 data source (I_ChemicalRevision) and exposes 15 fields with key fields ChemicalUUID, Material, ListedSubstanceUUID, ECDangerCategory, GHSHazardClassCategory. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChemicalRevision | I_ChemicalRevision | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydatum |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Chemical | _Chemical | $projection.ChemicalUUID = _Chemical.ChemicalUUID and $projection.ChemicalRevisionUUID = _Chemical.ChemicalRevisionUUID |
| [0..*] | I_CurrentChemicalNameText | _CurrentChemicalNameText | $projection.ChemicalUUID = _CurrentChemicalNameText.ChemicalUUID |
| [0..*] | I_LstdSubstPrimNameTxt | _LstdSubstPrimNameTxt | $projection.listedsubstanceuuid = _LstdSubstPrimNameTxt.ListedSubstanceUUID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Chemcial Attributes Cube | view | |
| Analytics.dataCategory | #CUBE | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.allowExtensions | true | view | |
| AbapCatalog.sqlViewName | ICHMATTRIBC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChemicalUUID | ChemicalUUID | NodeID | |
| _Chemical | _Chemical | |||
| _CurrentChemicalNameText | _CurrentChemicalNameText | |||
| KEY | Material | _ChemicalMaterial | Material | Vehicle Model |
| _Material | _ChemicalMaterial | _Material | ||
| KEY | ListedSubstanceUUID | _ChemicalHzdsIngredients | ListedSubstanceUUID | Listed Substance |
| _LstdSubstPrimNameTxt | _LstdSubstPrimNameTxt | |||
| KEY | ECDangerCategory | _ChemicalHazardClassEC | ECDangerCategory | |
| _ECDangerCategory | _ChemicalHazardClassEC | _ECDangerCategory | ||
| KEY | GHSHazardClassCategory | _ChemicalGHSHazardClass | GHSHazardClassCategory | |
| _GHSHazardClassCategory | _ChemicalGHSHazardClass | _GHSHazardClassCategory | ||
| KEY | ChemicalRevisionUUID | ChemicalRevisionUUID | UUID | |
| ChemicalType | _ChemicalRoot | ChemicalType | ||
| _ChemicalType | _ChemicalRoot | _ChemicalType | ||
| NumberOfChemicals |
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_ChemicalAttributesC.
-- 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: ICHMATTRIBC
-- Parameters: P_KeyDate : sydatum
CREATE VIEW I_ChemicalAttributesC AS
SELECT
ChemicalUUID,
_ChemicalMaterial.Material AS Material,
_ChemicalMaterial._Material AS _Material,
_ChemicalHzdsIngredients.ListedSubstanceUUID AS ListedSubstanceUUID,
_ChemicalHazardClassEC.ECDangerCategory AS ECDangerCategory,
_ChemicalHazardClassEC._ECDangerCategory AS _ECDangerCategory,
_ChemicalGHSHazardClass.GHSHazardClassCategory AS GHSHazardClassCategory,
_ChemicalGHSHazardClass._GHSHazardClassCategory AS _GHSHazardClassCategory,
ChemicalRevisionUUID,
_ChemicalRoot.ChemicalType AS ChemicalType,
_ChemicalRoot._ChemicalType AS _ChemicalType,
cast (1 as ehhss_number_of_risks) AS NumberOfChemicals
FROM I_ChemicalRevision
LEFT OUTER JOIN I_Chemical AS _Chemical ON ChemicalUUID = _Chemical.ChemicalUUID AND ChemicalRevisionUUID = _Chemical.ChemicalRevisionUUID -- association [1..1]
LEFT OUTER JOIN I_CurrentChemicalNameText AS _CurrentChemicalNameText ON ChemicalUUID = _CurrentChemicalNameText.ChemicalUUID -- association [0..*]
LEFT OUTER JOIN I_LstdSubstPrimNameTxt AS _LstdSubstPrimNameTxt ON listedsubstanceuuid = _LstdSubstPrimNameTxt.ListedSubstanceUUID -- association [0..*]
;
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