SAP Function Modules

ISP_POPUP_REPLACE_GP SAP Function module - IS-M/SD: Dialog Box for BP/SC Replacement







ISP_POPUP_REPLACE_GP 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 ISP_POPUP_REPLACE_GP into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM ISP_POPUP_REPLACE_GP - ISP POPUP REPLACE GP





CALL FUNCTION 'ISP_POPUP_REPLACE_GP' "IS-M/SD: Dialog Box for BP/SC Replacement
  EXPORTING
    loc_rjlv1001 =              " rjlv1001      Table
*   x_global = SPACE            "
*   x_input_off = SPACE         "
*   x_loesche_ersetzung = SPACE  "
    x_ro_all =                  " rjv04-x_ro_all  IS-M: Find all roles for business partner
    x_ro_ik =                   " rjv04-x_ro_ik  IS-M: Role - Field Collector
    x_ro_zu =                   " rjv04-x_ro_zu  IS-M: Role - Carrier
  IMPORTING
    loc_rjlv1001 =              " rjlv1001      Table
  TABLES
    check_tab =                 " rjv0401       Check Table
  EXCEPTIONS
    FUNKTION_ABBRECHEN = 1      "               Cancel
    .  "  ISP_POPUP_REPLACE_GP

ABAP code example for Function Module ISP_POPUP_REPLACE_GP





The ABAP code below is a full code listing to execute function module ISP_POPUP_REPLACE_GP 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_loc_rjlv1001  TYPE RJLV1001 ,
it_check_tab  TYPE STANDARD TABLE OF RJV0401,"TABLES PARAM
wa_check_tab  LIKE LINE OF it_check_tab .

DATA(ld_loc_rjlv1001) = 'Check type of data required'.
DATA(ld_x_global) = 'some text here'.
DATA(ld_x_input_off) = 'some text here'.
DATA(ld_x_loesche_ersetzung) = 'some text here'.

DATA(ld_x_ro_all) = some text here

DATA(ld_x_ro_ik) = some text here

DATA(ld_x_ro_zu) = some text here

"populate fields of struture and append to itab
append wa_check_tab to it_check_tab. . CALL FUNCTION 'ISP_POPUP_REPLACE_GP' EXPORTING loc_rjlv1001 = ld_loc_rjlv1001 * x_global = ld_x_global * x_input_off = ld_x_input_off * x_loesche_ersetzung = ld_x_loesche_ersetzung x_ro_all = ld_x_ro_all x_ro_ik = ld_x_ro_ik x_ro_zu = ld_x_ro_zu IMPORTING loc_rjlv1001 = ld_loc_rjlv1001 TABLES check_tab = it_check_tab EXCEPTIONS FUNKTION_ABBRECHEN = 1 . " ISP_POPUP_REPLACE_GP
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_loc_rjlv1001  TYPE RJLV1001 ,
ld_loc_rjlv1001  TYPE RJLV1001 ,
it_check_tab  TYPE STANDARD TABLE OF RJV0401 ,
wa_check_tab  LIKE LINE OF it_check_tab,
ld_x_global  TYPE STRING ,
ld_x_input_off  TYPE STRING ,
ld_x_loesche_ersetzung  TYPE STRING ,
ld_x_ro_all  TYPE RJV04-X_RO_ALL ,
ld_x_ro_ik  TYPE RJV04-X_RO_IK ,
ld_x_ro_zu  TYPE RJV04-X_RO_ZU .

ld_loc_rjlv1001 = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_check_tab to it_check_tab.
ld_x_global = 'some text here'.
ld_x_input_off = 'some text here'.
ld_x_loesche_ersetzung = 'some text here'.

ld_x_ro_all = some text here

ld_x_ro_ik = some text here

ld_x_ro_zu = some text here

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 ISP_POPUP_REPLACE_GP or its description.