SAP ISB_RM_RH_GET Function Module for IS-B: RM Liefert die Risikohierarchie
ISB_RM_RH_GET is a standard isb rm rh get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-B: RM Liefert die Risikohierarchie 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 isb rm rh get FM, simply by entering the name ISB_RM_RH_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: JBR1
Program Name: SAPLJBR1
Main Program: SAPLJBR1
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISB_RM_RH_GET 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 'ISB_RM_RH_GET'"IS-B: RM Liefert die Risikohierarchie.
EXPORTING
P_RHID = "
* ERR_HANDLING = '0' "Flag: gewünschte Fehlerbehandlung
* READ_FROM_DB = '0' "Flag: wenn gesetzt (<> '0'), Lesen auf der DB
* RH_DATUM = "Datum
IMPORTING
W_JBRRH = "
W_JBRRHT = "
D_VALID_FROM = "Datum
D_VALID_TO = "Datum
TABLES
* IT_JBRRHBAUM_F = "
* IT_JBRRHBAUMT_F = "
* IT_JBRRHBLATT_F = "
* IT_RHT_ALL_L = "RH-Texte in ALLEN vorhandenen Sprachen
* IT_RHBAUMT_ALL_L = "RH-Baum-Texte in ALLEN vorhandenen Sprachen
EXCEPTIONS
NO_HIERARCHY_FOUND = 1
IMPORTING Parameters details for ISB_RM_RH_GET
P_RHID -
Data type: JBRRH-RHIDOptional: No
Call by Reference: No ( called with pass by value option)
ERR_HANDLING - Flag: gewünschte Fehlerbehandlung
Data type: CDefault: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
READ_FROM_DB - Flag: wenn gesetzt (<> '0'), Lesen auf der DB
Data type: CDefault: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
RH_DATUM - Datum
Data type: DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISB_RM_RH_GET
W_JBRRH -
Data type: JBRRHOptional: No
Call by Reference: No ( called with pass by value option)
W_JBRRHT -
Data type: JBRRHTOptional: No
Call by Reference: No ( called with pass by value option)
D_VALID_FROM - Datum
Data type: DATUMOptional: No
Call by Reference: No ( called with pass by value option)
D_VALID_TO - Datum
Data type: DATUMOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISB_RM_RH_GET
IT_JBRRHBAUM_F -
Data type: JBRRHBAUMOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_JBRRHBAUMT_F -
Data type: JBRRHBAUMTOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_JBRRHBLATT_F -
Data type: JBRRHBLATTOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RHT_ALL_L - RH-Texte in ALLEN vorhandenen Sprachen
Data type: JBRRHTOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RHBAUMT_ALL_L - RH-Baum-Texte in ALLEN vorhandenen Sprachen
Data type: JBRRHBAUMTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_HIERARCHY_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISB_RM_RH_GET 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_p_rhid | TYPE JBRRH-RHID, " | |||
| lv_w_jbrrh | TYPE JBRRH, " | |||
| lt_it_jbrrhbaum_f | TYPE STANDARD TABLE OF JBRRHBAUM, " | |||
| lv_no_hierarchy_found | TYPE JBRRHBAUM, " | |||
| lv_w_jbrrht | TYPE JBRRHT, " | |||
| lv_err_handling | TYPE C, " '0' | |||
| lt_it_jbrrhbaumt_f | TYPE STANDARD TABLE OF JBRRHBAUMT, " | |||
| lv_d_valid_from | TYPE DATUM, " | |||
| lv_read_from_db | TYPE C, " '0' | |||
| lt_it_jbrrhblatt_f | TYPE STANDARD TABLE OF JBRRHBLATT, " | |||
| lv_rh_datum | TYPE DATUM, " | |||
| lv_d_valid_to | TYPE DATUM, " | |||
| lt_it_rht_all_l | TYPE STANDARD TABLE OF JBRRHT, " | |||
| lt_it_rhbaumt_all_l | TYPE STANDARD TABLE OF JBRRHBAUMT. " |
|   CALL FUNCTION 'ISB_RM_RH_GET' "IS-B: RM Liefert die Risikohierarchie |
| EXPORTING | ||
| P_RHID | = lv_p_rhid | |
| ERR_HANDLING | = lv_err_handling | |
| READ_FROM_DB | = lv_read_from_db | |
| RH_DATUM | = lv_rh_datum | |
| IMPORTING | ||
| W_JBRRH | = lv_w_jbrrh | |
| W_JBRRHT | = lv_w_jbrrht | |
| D_VALID_FROM | = lv_d_valid_from | |
| D_VALID_TO | = lv_d_valid_to | |
| TABLES | ||
| IT_JBRRHBAUM_F | = lt_it_jbrrhbaum_f | |
| IT_JBRRHBAUMT_F | = lt_it_jbrrhbaumt_f | |
| IT_JBRRHBLATT_F | = lt_it_jbrrhblatt_f | |
| IT_RHT_ALL_L | = lt_it_rht_all_l | |
| IT_RHBAUMT_ALL_L | = lt_it_rhbaumt_all_l | |
| EXCEPTIONS | ||
| NO_HIERARCHY_FOUND = 1 | ||
| . " ISB_RM_RH_GET | ||
ABAP code using 7.40 inline data declarations to call FM ISB_RM_RH_GET
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.| "SELECT single RHID FROM JBRRH INTO @DATA(ld_p_rhid). | ||||
| DATA(ld_err_handling) | = '0'. | |||
| DATA(ld_read_from_db) | = '0'. | |||
Search for further information about these or an SAP related objects