Ehhss_Expas_Of_Risks_By_Loc

DDL: EHHSS_EXPAS_OF_RISKS_BY_LOC SQL: EHHSSV_EXP_IRBL Type: view

Exposure Analysis in Risks by Location

Ehhss_Expas_Of_Risks_By_Loc is a CDS View that provides data about "Exposure Analysis in Risks by Location" in SAP S/4HANA. It reads from 3 data sources (Ehfnd_Lhr_Locations, Ehhss_Exposures_Of_Risks, Ehhss_Risk_Max_Analys_Type) and exposes 17 fields with key field rsk_root_key.

Data Sources (3)

SourceAliasJoin Type
Ehfnd_Lhr_Locations Ehfnd_Lhr_Locations from
Ehhss_Exposures_Of_Risks Ehhss_Exposures_Of_Risks inner
Ehhss_Risk_Max_Analys_Type Ehhss_Risk_Max_Analys_Type inner

Parameters (3)

NameTypeDefault
p_def_langu lang
p_sy_datlo syst_datlo
p_sy_langu lang

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName EHHSSV_EXP_IRBL view
EndUserText.label Exposure Analysis in Risks by Location view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY rsk_root_key Ehhss_Exposures_Of_Risks rsk_root_key UUID
rsk_rev_key Ehhss_Exposures_Of_Risks rsk_rev_key
cma_key_ref Ehhss_Exposures_Of_Risks cma_key_ref Chemical Agent
is_simulated Ehhss_Exposures_Of_Risks is_simulated Simulated
ras_type Ehhss_Exposures_Of_Risks ras_type Assess. Type
loc_name Ehhss_Exposures_Of_Risks loc_name Zone name
plant_id Ehhss_Exposures_Of_Risks plant_id Plant ID
cost_center Ehhss_Exposures_Of_Risks cost_center Posted Cost Center
company_code Ehhss_Exposures_Of_Risks company_code Company Code
buss_area Ehhss_Exposures_Of_Risks buss_area Business Area
job Ehhss_Exposures_Of_Risks job Undefined range (can be used for patch levels)
rating_code Ehhss_Exposures_Of_Risks rating_code Exposure Rating Code
confid_level Ehhss_Exposures_Of_Risks confid_level Confidence Rating
reglist_key Ehhss_Exposures_Of_Risks reglist_key NodeID
stadj_value Ehhss_Exposures_Of_Risks stadj_value Stat. Value
oel_value Ehhss_Exposures_Of_Risks oel_value
agent_name

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 Ehhss_Expas_Of_Risks_By_Loc.
-- 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: EHHSSV_EXP_IRBL
-- Parameters: p_def_langu : lang, p_sy_datlo : syst_datlo, p_sy_langu : lang

CREATE VIEW Ehhss_Expas_Of_Risks_By_Loc AS
SELECT
  Ehhss_Exposures_Of_Risks.rsk_root_key AS rsk_root_key,
  Ehhss_Exposures_Of_Risks.rsk_rev_key AS rsk_rev_key,
  Ehhss_Exposures_Of_Risks.cma_key_ref AS cma_key_ref,
  Ehhss_Exposures_Of_Risks.is_simulated AS is_simulated,
  Ehhss_Exposures_Of_Risks.ras_type AS ras_type,
  Ehhss_Exposures_Of_Risks.loc_name AS loc_name,
  Ehhss_Exposures_Of_Risks.plant_id AS plant_id,
  Ehhss_Exposures_Of_Risks.cost_center AS cost_center,
  Ehhss_Exposures_Of_Risks.company_code AS company_code,
  Ehhss_Exposures_Of_Risks.buss_area AS buss_area,
  Ehhss_Exposures_Of_Risks.job AS job,
  Ehhss_Exposures_Of_Risks.rating_code AS rating_code,
  Ehhss_Exposures_Of_Risks.confid_level AS confid_level,
  Ehhss_Exposures_Of_Risks.reglist_key AS reglist_key,
  Ehhss_Exposures_Of_Risks.stadj_value AS stadj_value,
  Ehhss_Exposures_Of_Risks.oel_value AS oel_value,
  COALESCE( Ehhss_Agt_Name.name, Ehfnd_Lisu_Name.Name ) AS agent_name
FROM Ehfnd_Lhr_Locations
INNER JOIN Ehhss_Exposures_Of_Risks ON /* join condition not captured in parsed metadata */
INNER JOIN Ehhss_Risk_Max_Analys_Type ON /* join condition not captured in parsed metadata */
;