Ehhss_Exposures_Of_Risks
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)
| Source | Alias | Join 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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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