C_ChemicalRiskReportQ

DDL: C_CHEMICALRISKREPORTQ SQL: CCHMRISKREPORTQ Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_ChemicalRiskReportC I_ChemicalRiskReportC from

Annotations (11)

NameValueLevelField
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 IDApp NameTypeDescription
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)

KeyFieldSource TableSource FieldDescription
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
;