SAP Function Modules

BANK_MAP_PP_LOCKS_GET_MLT SAP Function module







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

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


Pattern for FM BANK_MAP_PP_LOCKS_GET_MLT - BANK MAP PP LOCKS GET MLT





CALL FUNCTION 'BANK_MAP_PP_LOCKS_GET_MLT' "
* EXPORTING
*   i_objcatg =                 " bank_dte_pp_objcatg  Object Type in Parallel Processing (Key)
*   i_objno =                   " bank_dte_pp_objno  Number of an Object in Parallel Processing (Key)
*   i_tab_objects =             " bank_tab_objkey  Object Key
*   i_tab_rng_relev_appl =      " bank_tab_rng_applcatg
*   i_flg_excl_curr_run =       " xfeld
*   i_str_curr_run =            " bank_str_runkey
*   i_curr_applcatg =           " bank_dte_pp_paapplcatg  Application Type in Parallel Processing
*   i_flg_ignore_succeeding_locks = 'X'  " xfeld
*   i_maxcount =                " bank_dte_pp_maxcount  Maximum Number of Data Records to Be Read
*   i_flg_ignore_lockedby =     " xfeld
  IMPORTING
    e_tab_locked =              " bank_tab_pp_lock  Object Locks
    e_tab_locking_runs =        " bank_tab_pp_runkey_appl
    e_tab_own_locks =           " bank_tab_pp_lock  Object Locks
    e_rcd =                     " sy-subrc
  EXCEPTIONS
    CURR_RUN_NOT_QUALIFIED = 1  "
    .  "  BANK_MAP_PP_LOCKS_GET_MLT

ABAP code example for Function Module BANK_MAP_PP_LOCKS_GET_MLT





The ABAP code below is a full code listing to execute function module BANK_MAP_PP_LOCKS_GET_MLT 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_tab_locked  TYPE BANK_TAB_PP_LOCK ,
ld_e_tab_locking_runs  TYPE BANK_TAB_PP_RUNKEY_APPL ,
ld_e_tab_own_locks  TYPE BANK_TAB_PP_LOCK ,
ld_e_rcd  TYPE SY-SUBRC .

DATA(ld_i_objcatg) = 'Check type of data required'.
DATA(ld_i_objno) = 'Check type of data required'.
DATA(ld_i_tab_objects) = 'Check type of data required'.
DATA(ld_i_tab_rng_relev_appl) = 'Check type of data required'.
DATA(ld_i_flg_excl_curr_run) = 'Check type of data required'.
DATA(ld_i_str_curr_run) = 'Check type of data required'.
DATA(ld_i_curr_applcatg) = 'Check type of data required'.
DATA(ld_i_flg_ignore_succeeding_locks) = 'Check type of data required'.
DATA(ld_i_maxcount) = 'Check type of data required'.
DATA(ld_i_flg_ignore_lockedby) = 'Check type of data required'. . CALL FUNCTION 'BANK_MAP_PP_LOCKS_GET_MLT' * EXPORTING * i_objcatg = ld_i_objcatg * i_objno = ld_i_objno * i_tab_objects = ld_i_tab_objects * i_tab_rng_relev_appl = ld_i_tab_rng_relev_appl * i_flg_excl_curr_run = ld_i_flg_excl_curr_run * i_str_curr_run = ld_i_str_curr_run * i_curr_applcatg = ld_i_curr_applcatg * i_flg_ignore_succeeding_locks = ld_i_flg_ignore_succeeding_locks * i_maxcount = ld_i_maxcount * i_flg_ignore_lockedby = ld_i_flg_ignore_lockedby IMPORTING e_tab_locked = ld_e_tab_locked e_tab_locking_runs = ld_e_tab_locking_runs e_tab_own_locks = ld_e_tab_own_locks e_rcd = ld_e_rcd EXCEPTIONS CURR_RUN_NOT_QUALIFIED = 1 . " BANK_MAP_PP_LOCKS_GET_MLT
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_tab_locked  TYPE BANK_TAB_PP_LOCK ,
ld_i_objcatg  TYPE BANK_DTE_PP_OBJCATG ,
ld_e_tab_locking_runs  TYPE BANK_TAB_PP_RUNKEY_APPL ,
ld_i_objno  TYPE BANK_DTE_PP_OBJNO ,
ld_e_tab_own_locks  TYPE BANK_TAB_PP_LOCK ,
ld_i_tab_objects  TYPE BANK_TAB_OBJKEY ,
ld_e_rcd  TYPE SY-SUBRC ,
ld_i_tab_rng_relev_appl  TYPE BANK_TAB_RNG_APPLCATG ,
ld_i_flg_excl_curr_run  TYPE XFELD ,
ld_i_str_curr_run  TYPE BANK_STR_RUNKEY ,
ld_i_curr_applcatg  TYPE BANK_DTE_PP_PAAPPLCATG ,
ld_i_flg_ignore_succeeding_locks  TYPE XFELD ,
ld_i_maxcount  TYPE BANK_DTE_PP_MAXCOUNT ,
ld_i_flg_ignore_lockedby  TYPE XFELD .

ld_i_objcatg = 'Check type of data required'.
ld_i_objno = 'Check type of data required'.
ld_i_tab_objects = 'Check type of data required'.
ld_i_tab_rng_relev_appl = 'Check type of data required'.
ld_i_flg_excl_curr_run = 'Check type of data required'.
ld_i_str_curr_run = 'Check type of data required'.
ld_i_curr_applcatg = 'Check type of data required'.
ld_i_flg_ignore_succeeding_locks = 'Check type of data required'.
ld_i_maxcount = 'Check type of data required'.
ld_i_flg_ignore_lockedby = '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 BANK_MAP_PP_LOCKS_GET_MLT or its description.