SAP Function Modules

ISB_RM_RH_NODE_HELP SAP Function module - RM: F4-Hilfe für Risikohierarchieknoten in modalem Fenster







ISB_RM_RH_NODE_HELP is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name ISB_RM_RH_NODE_HELP into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: JBR1
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ISB_RM_RH_NODE_HELP - ISB RM RH NODE HELP





CALL FUNCTION 'ISB_RM_RH_NODE_HELP' "RM: F4-Hilfe für Risikohierarchieknoten in modalem Fenster
  EXPORTING
*   i_progname = SY-CPROG       " progname      ABAP-Programmname
*   i_dynpro_number =           " d020s-dnum    Nummer des Dynpros, auf dem RH liegt
    i_fieldname_rh =            " dynfnam       Feldname Risikohierarchie
*   i_fieldname_rknoten =       " dynfnam       Feldname RH-Knoten
*   i_fieldname_rh_datum =      " dynfnam       Feldname Gültigkeitsdatum der RH
  IMPORTING
    e_rknoten =                 " jbrrknoten    Ausgewählter Knoten
  EXCEPTIONS
    INTERNAL_ERROR = 1          "               Fehler in der Verarbeitung
    .  "  ISB_RM_RH_NODE_HELP

ABAP code example for Function Module ISB_RM_RH_NODE_HELP





The ABAP code below is a full code listing to execute function module ISB_RM_RH_NODE_HELP including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_e_rknoten  TYPE JBRRKNOTEN .

DATA(ld_i_progname) = 'Check type of data required'.

SELECT single DNUM
FROM D020S
INTO @DATA(ld_i_dynpro_number).

DATA(ld_i_fieldname_rh) = 'Check type of data required'.
DATA(ld_i_fieldname_rknoten) = 'Check type of data required'.
DATA(ld_i_fieldname_rh_datum) = 'Check type of data required'. . CALL FUNCTION 'ISB_RM_RH_NODE_HELP' EXPORTING * i_progname = ld_i_progname * i_dynpro_number = ld_i_dynpro_number i_fieldname_rh = ld_i_fieldname_rh * i_fieldname_rknoten = ld_i_fieldname_rknoten * i_fieldname_rh_datum = ld_i_fieldname_rh_datum IMPORTING e_rknoten = ld_e_rknoten EXCEPTIONS INTERNAL_ERROR = 1 . " ISB_RM_RH_NODE_HELP
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_e_rknoten  TYPE JBRRKNOTEN ,
ld_i_progname  TYPE PROGNAME ,
ld_i_dynpro_number  TYPE D020S-DNUM ,
ld_i_fieldname_rh  TYPE DYNFNAM ,
ld_i_fieldname_rknoten  TYPE DYNFNAM ,
ld_i_fieldname_rh_datum  TYPE DYNFNAM .

ld_i_progname = 'Check type of data required'.

SELECT single DNUM
FROM D020S
INTO ld_i_dynpro_number.

ld_i_fieldname_rh = 'Check type of data required'.
ld_i_fieldname_rknoten = 'Check type of data required'.
ld_i_fieldname_rh_datum = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISB_RM_RH_NODE_HELP or its description.