SAP BANK_MAP_PP_LOCKS_RELEASE Function Module for









BANK_MAP_PP_LOCKS_RELEASE is a standard bank map pp locks release SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 bank map pp locks release FM, simply by entering the name BANK_MAP_PP_LOCKS_RELEASE into the relevant SAP transaction such as SE37 or SE38.

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



Function BANK_MAP_PP_LOCKS_RELEASE 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 'BANK_MAP_PP_LOCKS_RELEASE'"
EXPORTING
* I_PROGN = "Name of the Program/Report on an Application Process
* I_PROGDATE = "Date of Program Run
* I_PROGNO = "Sequential Number of the Program Run
* I_APPLCATG = "Application Type in Parallel Processing
* I_TAB_TO_RELEASE = "Object Key
* I_TAB_LOCKS_TO_REL = "Object Locks
* I_FLG_FORCE_DB_COMMITS = "
* I_CNT_ROWS_DB_COMMITS = 20000 "
.



IMPORTING Parameters details for BANK_MAP_PP_LOCKS_RELEASE

I_PROGN - Name of the Program/Report on an Application Process

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

I_PROGDATE - Date of Program Run

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

I_PROGNO - Sequential Number of the Program Run

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

I_APPLCATG - Application Type in Parallel Processing

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

I_TAB_TO_RELEASE - Object Key

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

I_TAB_LOCKS_TO_REL - Object Locks

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

I_FLG_FORCE_DB_COMMITS -

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

I_CNT_ROWS_DB_COMMITS -

Data type: SY-DBCNT
Default: 20000
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for BANK_MAP_PP_LOCKS_RELEASE 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_i_progn  TYPE BANK_DTE_PP_PROGN, "   
lv_i_progdate  TYPE BANK_DTE_PP_PROGDATE, "   
lv_i_progno  TYPE BANK_DTE_PP_PROGNO, "   
lv_i_applcatg  TYPE BANK_DTE_PP_PAAPPLCATG, "   
lv_i_tab_to_release  TYPE BANK_TAB_OBJKEY, "   
lv_i_tab_locks_to_rel  TYPE BANK_TAB_PP_LOCK, "   
lv_i_flg_force_db_commits  TYPE XFELD, "   
lv_i_cnt_rows_db_commits  TYPE SY-DBCNT. "   20000

  CALL FUNCTION 'BANK_MAP_PP_LOCKS_RELEASE'  "
    EXPORTING
         I_PROGN = lv_i_progn
         I_PROGDATE = lv_i_progdate
         I_PROGNO = lv_i_progno
         I_APPLCATG = lv_i_applcatg
         I_TAB_TO_RELEASE = lv_i_tab_to_release
         I_TAB_LOCKS_TO_REL = lv_i_tab_locks_to_rel
         I_FLG_FORCE_DB_COMMITS = lv_i_flg_force_db_commits
         I_CNT_ROWS_DB_COMMITS = lv_i_cnt_rows_db_commits
. " BANK_MAP_PP_LOCKS_RELEASE




ABAP code using 7.40 inline data declarations to call FM BANK_MAP_PP_LOCKS_RELEASE

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 DBCNT FROM SY INTO @DATA(ld_i_cnt_rows_db_commits).
DATA(ld_i_cnt_rows_db_commits) = 20000.
 


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!