SAP BANK_PROCESS_2 Function Module for









BANK_PROCESS_2 is a standard bank process 2 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 process 2 FM, simply by entering the name BANK_PROCESS_2 into the relevant SAP transaction such as SE37 or SE38.

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



Function BANK_PROCESS_2 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_PROCESS_2'"
EXPORTING
I_BANKS = "
* I_VERS = "
* I_NO_DELE = "
* I_KEYTYPE = '1' "
* I_XXX = 'X' "

IMPORTING
CNT_SNOMODI = "
CNT_BANKCODE = "

TABLES
ITAB_BNKA = "
* DBNKA = "
TAB_INSERT = "
TAB_DELETE = "
TAB_MODIFY = "
TAB_NOMODI = "
.



IMPORTING Parameters details for BANK_PROCESS_2

I_BANKS -

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

I_VERS -

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

I_NO_DELE -

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

I_KEYTYPE -

Data type: T005-BNKEY
Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XXX -

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for BANK_PROCESS_2

CNT_SNOMODI -

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

CNT_BANKCODE -

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

TABLES Parameters details for BANK_PROCESS_2

ITAB_BNKA -

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

DBNKA -

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

TAB_INSERT -

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

TAB_DELETE -

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

TAB_MODIFY -

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

TAB_NOMODI -

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

Copy and paste ABAP code example for BANK_PROCESS_2 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_banks  TYPE BNKA-BANKS, "   
lt_itab_bnka  TYPE STANDARD TABLE OF BNKA, "   
lv_cnt_snomodi  TYPE RF02B-COUNTER, "   
lt_dbnka  TYPE STANDARD TABLE OF BNKA, "   
lv_i_vers  TYPE BNKA-VERS, "   
lv_cnt_bankcode  TYPE RF02B-COUNTER, "   
lv_i_no_dele  TYPE RFPDO_BF-F160LOEV, "   
lt_tab_insert  TYPE STANDARD TABLE OF BNKA, "   
lv_i_keytype  TYPE T005-BNKEY, "   '1'
lt_tab_delete  TYPE STANDARD TABLE OF BNKA, "   
lv_i_xxx  TYPE XFELD, "   'X'
lt_tab_modify  TYPE STANDARD TABLE OF BNKA, "   
lt_tab_nomodi  TYPE STANDARD TABLE OF BNKA. "   

  CALL FUNCTION 'BANK_PROCESS_2'  "
    EXPORTING
         I_BANKS = lv_i_banks
         I_VERS = lv_i_vers
         I_NO_DELE = lv_i_no_dele
         I_KEYTYPE = lv_i_keytype
         I_XXX = lv_i_xxx
    IMPORTING
         CNT_SNOMODI = lv_cnt_snomodi
         CNT_BANKCODE = lv_cnt_bankcode
    TABLES
         ITAB_BNKA = lt_itab_bnka
         DBNKA = lt_dbnka
         TAB_INSERT = lt_tab_insert
         TAB_DELETE = lt_tab_delete
         TAB_MODIFY = lt_tab_modify
         TAB_NOMODI = lt_tab_nomodi
. " BANK_PROCESS_2




ABAP code using 7.40 inline data declarations to call FM BANK_PROCESS_2

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 BANKS FROM BNKA INTO @DATA(ld_i_banks).
 
 
"SELECT single COUNTER FROM RF02B INTO @DATA(ld_cnt_snomodi).
 
 
"SELECT single VERS FROM BNKA INTO @DATA(ld_i_vers).
 
"SELECT single COUNTER FROM RF02B INTO @DATA(ld_cnt_bankcode).
 
"SELECT single F160LOEV FROM RFPDO_BF INTO @DATA(ld_i_no_dele).
 
 
"SELECT single BNKEY FROM T005 INTO @DATA(ld_i_keytype).
DATA(ld_i_keytype) = '1'.
 
 
DATA(ld_i_xxx) = 'X'.
 
 
 


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!