Ehhss_Exposures_Of_Risks

DDL: EHHSS_EXPOSURES_OF_RISKS SQL: EHHSSV_EXP_RSKS Type: view

Risks and assosiated exposures

Ehhss_Exposures_Of_Risks is a CDS View that provides data about "Risks and assosiated exposures" in SAP S/4HANA. It reads from 6 data sources and exposes 16 fields with key field rsk_root_key.

Data Sources (6)

SourceAliasJoin Type
Ehfnd_Chm_Wpcp_Lisu_with_Sub Ehfnd_Chm_Wpcp_Lisu_with_Sub left_outer
Ehfnd_Loc_Current_Revision Ehfnd_Loc_Current_Revision inner
Ehhss_Exposure_Assessment Ehhss_Exposure_Assessment inner
Ehhss_Risk_Current_Revision Ehhss_Risk_Current_Revision inner
ehhssd_abagt_com ehhssd_abagt_com left_outer
ehhssd_rsk_root ehhssd_rsk_root from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName EHHSSV_EXP_RSKS view
EndUserText.label Risks and assosiated exposures view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (16)

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

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_Exposures_Of_Risks.
-- 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_RSKS

CREATE VIEW Ehhss_Exposures_Of_Risks AS
SELECT
  ehhssd_rsk_root.db_key AS rsk_root_key,
  Ehhss_Risk_Current_Revision.risk_rev_key AS rsk_rev_key,
  ehhssd_rsk_root.cma_key_ref AS cma_key_ref,
  ehhssd_rsk_root.is_simulated AS is_simulated,
  ehhssd_rsk_root.ras_type AS ras_type,
  Ehhss_Exposure_Assessment.job AS job,
  Ehhss_Exposure_Assessment.rating_code AS rating_code,
  Ehhss_Exposure_Assessment.confid_level AS confid_level,
  Ehhss_Exposure_Assessment.reglist_key AS reglist_key,
  Ehhss_Exposure_Assessment.stadj_value AS stadj_value,
  Ehhss_Exposure_Assessment.oel_value AS oel_value,
  Ehfnd_Loc_Current_Revision.name AS loc_name,
  Ehfnd_Loc_Current_Revision.plant_id AS plant_id,
  Ehfnd_Loc_Current_Revision.cost_center AS cost_center,
  Ehfnd_Loc_Current_Revision.company_code AS company_code,
  Ehfnd_Loc_Current_Revision.buss_area AS buss_area
FROM ehhssd_rsk_root
INNER JOIN Ehhss_Risk_Current_Revision ON /* join condition not captured in parsed metadata */
INNER JOIN Ehfnd_Loc_Current_Revision ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN Ehfnd_Chm_Wpcp_Lisu_with_Sub ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ehhssd_abagt_com ON /* join condition not captured in parsed metadata */
INNER JOIN Ehhss_Exposure_Assessment ON /* join condition not captured in parsed metadata */
;