C_ChemicalRiskReportQ
Chemical Risk Report Query
C_ChemicalRiskReportQ is a Consumption CDS View that provides data about "Chemical Risk Report Query" in SAP S/4HANA. It reads from 1 data source (I_ChemicalRiskReportC) and exposes 24 fields with key fields EHSLocationUUID, ChemicalUUID, Material, ListedSubstanceUUID, GHSHazardClassCategory. It is used in 1 Fiori application: Chemical Risks - Detailed Analysis.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChemicalRiskReportC | I_ChemicalRiskReportC | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Chemical Risk Report Query | view | |
| Analytics.query | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| OData.publish | true | view | |
| AbapCatalog.sqlViewName | CCHMRISKREPORTQ | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F2161 | Chemical Risks - Detailed Analysis | Analytical | You use this app to get a detailed overview of the risks caused by using chemicals that occur in your area of responsibility. You can view locations or jobs with chemical risks and get detailed information about the assessed chemical risks and the chemicals that cause these risks.chemical risks and about the chemicals that cause the risks. |
Chemical Risks - Detailed Analysis
Business Role: Hazardous Materials Manager
With this app, you can get a detailed overview of the risks that can be caused by chemicals that you use in your area of responsibility. You can view locations or jobs with chemical risks. You can also view detailed information about the assessed chemical risks and the chemicals that cause these risks.You can add multiple analysis steps to build an analysis path to explore the data you need for information and reporting purposes.
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EHSLocationUUID | EHSLocationUUID | NodeID | |
| KEY | ChemicalUUID | ChemicalUUID | NodeID | |
| KEY | Material | Material | Vehicle Model | |
| KEY | ListedSubstanceUUID | Listed Substance | ||
| KEY | GHSHazardClassCategory | GHSHazardClassCategory | ||
| KEY | ECDangerCategory | ECDangerCategory | ||
| EHSLocationType | EHSLocationType | Loc. Type | ||
| Plant | Plant | Valuation Area | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| BusinessArea | BusinessArea | Business Area | ||
| CostCenter | CostCenter | Cost Center | ||
| OrganizationalUnit | OrganizationalUnit | Org. Unit ID | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| ChemicalType | ChemicalType | |||
| MethodOfUse | MethodOfUse | Method of Use | ||
| OperationalStatus | OperationalStatus | Operational Status | ||
| Hazard | Hazard | Hazard | ||
| HazardCategory | HazardCategory | Hazard Category | ||
| EHSRiskType | EHSRiskType | |||
| EHSRiskLevel | EHSRiskLevel | Risk Level | ||
| EHSRiskValue | EHSRiskValue | |||
| EHSJobUUID | EHSJobUUID | NodeID | ||
| NumberOfEHSRisks | ||||
| 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 C_ChemicalRiskReportQ.
-- 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: CCHMRISKREPORTQ
CREATE VIEW C_ChemicalRiskReportQ AS
SELECT
EHSLocationUUID,
ChemicalUUID,
Material,
cast( ListedSubstanceUUID as ehfnd_haz_ing_ref_key preserving type ) AS ListedSubstanceUUID,
GHSHazardClassCategory,
ECDangerCategory,
EHSLocationType,
Plant,
CompanyCode,
BusinessArea,
CostCenter,
OrganizationalUnit,
StorageLocation,
ChemicalType,
MethodOfUse,
OperationalStatus,
Hazard,
HazardCategory,
EHSRiskType,
EHSRiskLevel,
EHSRiskValue,
EHSJobUUID,
cast( 1 as ehhss_number_of_risks ) AS NumberOfEHSRisks,
cast( 1 as ehfnd_number_of_chemicals ) AS NumberOfChemicals
FROM I_ChemicalRiskReportC
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- 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