Ehhss_Expas_Of_Risks_By_Loc
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)
| Source | Alias | Join 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)
| Name | Type | Default |
|---|---|---|
| p_def_langu | lang | |
| p_sy_datlo | syst_datlo | |
| p_sy_langu | lang |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
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