SAP ISB_RM_VAR Function Module for IS-B: RM Value at Risk









ISB_RM_VAR is a standard isb rm var 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 Value at Risk 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 var FM, simply by entering the name ISB_RM_VAR into the relevant SAP transaction such as SE37 or SE38.

Function Group: JBRW
Program Name: SAPLJBRW
Main Program: SAPLJBRW
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISB_RM_VAR 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_VAR'"IS-B: RM Value at Risk
CHANGING
HSSPAR = "Parameter für Auswertungen (Include)

TABLES
* I_BSTD = "
* I_CHAR_SEL = "
* E_RPHSVAR = "
* E_RPHSGUV = "
* E_JBRPHBAUM = "
* E_HTEXT_TAB = "

EXCEPTIONS
PARAMETERS_ERROR = 1 SELECTION_ERROR = 2 EVAL_ERROR = 3
.



CHANGING Parameters details for ISB_RM_VAR

HSSPAR - Parameter für Auswertungen (Include)

Data type: JBRHSSPARI
Optional: No
Call by Reference: Yes

TABLES Parameters details for ISB_RM_VAR

I_BSTD -

Data type: JBRBSTDRAN
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CHAR_SEL -

Data type: CEDST
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_RPHSVAR -

Data type: JBRRPHSVAR
Optional: Yes
Call by Reference: Yes

E_RPHSGUV -

Data type: JBRRPHSGUV
Optional: Yes
Call by Reference: Yes

E_JBRPHBAUM -

Data type: JBRPHBAUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_HTEXT_TAB -

Data type: JBRNAMEDAT
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

PARAMETERS_ERROR -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

SELECTION_ERROR -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

EVAL_ERROR -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISB_RM_VAR 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_hsspar  TYPE JBRHSSPARI, "   
lt_i_bstd  TYPE STANDARD TABLE OF JBRBSTDRAN, "   
lv_parameters_error  TYPE JBRBSTDRAN, "   
lt_i_char_sel  TYPE STANDARD TABLE OF CEDST, "   
lv_selection_error  TYPE CEDST, "   
lt_e_rphsvar  TYPE STANDARD TABLE OF JBRRPHSVAR, "   
lv_eval_error  TYPE JBRRPHSVAR, "   
lt_e_rphsguv  TYPE STANDARD TABLE OF JBRRPHSGUV, "   
lt_e_jbrphbaum  TYPE STANDARD TABLE OF JBRPHBAUM, "   
lt_e_htext_tab  TYPE STANDARD TABLE OF JBRNAMEDAT. "   

  CALL FUNCTION 'ISB_RM_VAR'  "IS-B: RM Value at Risk
    CHANGING
         HSSPAR = lv_hsspar
    TABLES
         I_BSTD = lt_i_bstd
         I_CHAR_SEL = lt_i_char_sel
         E_RPHSVAR = lt_e_rphsvar
         E_RPHSGUV = lt_e_rphsguv
         E_JBRPHBAUM = lt_e_jbrphbaum
         E_HTEXT_TAB = lt_e_htext_tab
    EXCEPTIONS
        PARAMETERS_ERROR = 1
        SELECTION_ERROR = 2
        EVAL_ERROR = 3
. " ISB_RM_VAR




ABAP code using 7.40 inline data declarations to call FM ISB_RM_VAR

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.

 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!