SAP EHHSS_RFC_RISK_FIND_ALL Function Module for Find Risks for Risk Relevant Objects
EHHSS_RFC_RISK_FIND_ALL is a standard ehhss rfc risk find all SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Find Risks for Risk Relevant Objects processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for ehhss rfc risk find all FM, simply by entering the name EHHSS_RFC_RISK_FIND_ALL into the relevant SAP transaction such as SE37 or SE38.
Function Group: EHHSS_EXT_RAS
Program Name: SAPLEHHSS_EXT_RAS
Main Program: SAPLEHHSS_EXT_RAS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function EHHSS_RFC_RISK_FIND_ALL pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'EHHSS_RFC_RISK_FIND_ALL'"Find Risks for Risk Relevant Objects.
EXPORTING
* IV_READ_RISKS = ABAP_FALSE "Select Boolean
* IV_READ_RESPONSES = ABAP_FALSE "Select Boolean
* IV_READ_SAFETYMEAS = ABAP_FALSE "Select Boolean
* IV_READ_SYMBOLS = ABAP_FALSE "Select Boolean
IMPORTING
ET_RISKS = "Risk Management System Risk
ET_RESPONSES = "Risk Management System Responses
ET_SAFETYMEAS = "Risk Management Safety Measure
ET_SYMBOLS = "Risk Management Symbols
ET_RESP_SYMBOLS = "Risk Management Control Symbols
ET_MESSAGES = "Message
EXCEPTIONS
INTEGRATION_NOT_ACTIVATED = 1
IMPORTING Parameters details for EHHSS_RFC_RISK_FIND_ALL
IV_READ_RISKS - Select Boolean
Data type: EHFND_BOOLEANDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_READ_RESPONSES - Select Boolean
Data type: EHFND_BOOLEANDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_READ_SAFETYMEAS - Select Boolean
Data type: EHFND_BOOLEANDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_READ_SYMBOLS - Select Boolean
Data type: EHFND_BOOLEANDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EHHSS_RFC_RISK_FIND_ALL
ET_RISKS - Risk Management System Risk
Data type: EHHSST_RAS_RISKSOptional: No
Call by Reference: No ( called with pass by value option)
ET_RESPONSES - Risk Management System Responses
Data type: EHHSST_RAS_RESPONSESOptional: No
Call by Reference: No ( called with pass by value option)
ET_SAFETYMEAS - Risk Management Safety Measure
Data type: EHHSST_RAS_SMEASOptional: No
Call by Reference: No ( called with pass by value option)
ET_SYMBOLS - Risk Management Symbols
Data type: EHHSST_RAS_SYMBOLSOptional: No
Call by Reference: No ( called with pass by value option)
ET_RESP_SYMBOLS - Risk Management Control Symbols
Data type: EHHSST_RAS_CTRL_SYMBOLSOptional: No
Call by Reference: No ( called with pass by value option)
ET_MESSAGES - Message
Data type: EHHSST_RAS_MESSAGEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INTEGRATION_NOT_ACTIVATED - Integration is not activated in EHSM system
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EHHSS_RFC_RISK_FIND_ALL Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_et_risks | TYPE EHHSST_RAS_RISKS, " | |||
| lv_iv_read_risks | TYPE EHFND_BOOLEAN, " ABAP_FALSE | |||
| lv_integration_not_activated | TYPE EHFND_BOOLEAN, " | |||
| lv_et_responses | TYPE EHHSST_RAS_RESPONSES, " | |||
| lv_iv_read_responses | TYPE EHFND_BOOLEAN, " ABAP_FALSE | |||
| lv_et_safetymeas | TYPE EHHSST_RAS_SMEAS, " | |||
| lv_iv_read_safetymeas | TYPE EHFND_BOOLEAN, " ABAP_FALSE | |||
| lv_et_symbols | TYPE EHHSST_RAS_SYMBOLS, " | |||
| lv_iv_read_symbols | TYPE EHFND_BOOLEAN, " ABAP_FALSE | |||
| lv_et_resp_symbols | TYPE EHHSST_RAS_CTRL_SYMBOLS, " | |||
| lv_et_messages | TYPE EHHSST_RAS_MESSAGE. " |
|   CALL FUNCTION 'EHHSS_RFC_RISK_FIND_ALL' "Find Risks for Risk Relevant Objects |
| EXPORTING | ||
| IV_READ_RISKS | = lv_iv_read_risks | |
| IV_READ_RESPONSES | = lv_iv_read_responses | |
| IV_READ_SAFETYMEAS | = lv_iv_read_safetymeas | |
| IV_READ_SYMBOLS | = lv_iv_read_symbols | |
| IMPORTING | ||
| ET_RISKS | = lv_et_risks | |
| ET_RESPONSES | = lv_et_responses | |
| ET_SAFETYMEAS | = lv_et_safetymeas | |
| ET_SYMBOLS | = lv_et_symbols | |
| ET_RESP_SYMBOLS | = lv_et_resp_symbols | |
| ET_MESSAGES | = lv_et_messages | |
| EXCEPTIONS | ||
| INTEGRATION_NOT_ACTIVATED = 1 | ||
| . " EHHSS_RFC_RISK_FIND_ALL | ||
ABAP code using 7.40 inline data declarations to call FM EHHSS_RFC_RISK_FIND_ALL
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_iv_read_risks) | = ABAP_FALSE. | |||
| DATA(ld_iv_read_responses) | = ABAP_FALSE. | |||
| DATA(ld_iv_read_safetymeas) | = ABAP_FALSE. | |||
| DATA(ld_iv_read_symbols) | = ABAP_FALSE. | |||
Search for further information about these or an SAP related objects