SAP ISP_GP_BANK_SELECT Function Module for IS-M/SD: Bank Selection Using Dialog Box
ISP_GP_BANK_SELECT is a standard isp gp bank select SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-M/SD: Bank Selection Using Dialog Box processing and below is the pattern details for this FM, 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 isp gp bank select FM, simply by entering the name ISP_GP_BANK_SELECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: JG12
Program Name: SAPLJG12
Main Program: SAPLJG12
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISP_GP_BANK_SELECT 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 'ISP_GP_BANK_SELECT'"IS-M/SD: Bank Selection Using Dialog Box.
EXPORTING
* IN_ZUGRIFFSART = '1' "
* IN_BELEGEINH = ' ' "Booking Unit
* FLG_POPUP = ' ' "
* IN_TRTYP = 'V' "Transaction Type
* IN_SUPPRESS_DIALOG = ' ' "
* IN_BANKART = 'A' "
IN_GPNR = "Business Partner Number
* IN_KUNNR = "Customer Number
* IN_VKORG = ' ' "Sales Organization
* IN_VTWEG = ' ' "Distribution Channel
* IN_SPART = ' ' "Division
* IN_EKORG = ' ' "Purchasing Organization
* IN_INSERENT = ' ' "
CHANGING
* OUT_RFCTYPE = "
TABLES
* OUT_BANK = "
* OUT_XKNBK = "
* OUT_XBKEZ = "
* DIALOG_BANK = "
EXCEPTIONS
NO_GPNR = 1 NO_EKORG = 2 NO_VKORG = 3 NO_VTWEG = 4 NO_SPART = 5 NO_VERWEND = 6
IMPORTING Parameters details for ISP_GP_BANK_SELECT
IN_ZUGRIFFSART -
Data type: JG000_ZUGRIFFSARTDefault: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IN_BELEGEINH - Booking Unit
Data type: JGTBKVW-BELEGEINHDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_POPUP -
Data type: RJGXFELD-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IN_TRTYP - Transaction Type
Data type: TJ180-TRTYPDefault: 'V'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IN_SUPPRESS_DIALOG -
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IN_BANKART -
Data type: JG000_BANKARTDefault: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IN_GPNR - Business Partner Number
Data type: RJKRG-GPNROptional: No
Call by Reference: No ( called with pass by value option)
IN_KUNNR - Customer Number
Data type: RJKRG-KUNNROptional: Yes
Call by Reference: No ( called with pass by value option)
IN_VKORG - Sales Organization
Data type: JGTBKVW-VKORGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IN_VTWEG - Distribution Channel
Data type: JGTBKVW-VTWEGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IN_SPART - Division
Data type: JGTBKVW-SPARTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IN_EKORG - Purchasing Organization
Data type: JGTBKVW-EKORGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IN_INSERENT -
Data type: JGTBKVW-INSERENTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISP_GP_BANK_SELECT
OUT_RFCTYPE -
Data type: RFCDES-RFCTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISP_GP_BANK_SELECT
OUT_BANK -
Data type: RJGMBKOptional: Yes
Call by Reference: No ( called with pass by value option)
OUT_XKNBK -
Data type: RJGKNBKOptional: Yes
Call by Reference: No ( called with pass by value option)
OUT_XBKEZ -
Data type: RJGBKEZOptional: Yes
Call by Reference: No ( called with pass by value option)
DIALOG_BANK -
Data type: JG000_DIALOG_BANK_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_GPNR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_EKORG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_VKORG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_VTWEG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_SPART -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_VERWEND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISP_GP_BANK_SELECT 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_no_gpnr | TYPE STRING, " | |||
| lt_out_bank | TYPE STANDARD TABLE OF RJGMBK, " | |||
| lv_out_rfctype | TYPE RFCDES-RFCTYPE, " | |||
| lv_in_zugriffsart | TYPE JG000_ZUGRIFFSART, " '1' | |||
| lv_in_belegeinh | TYPE JGTBKVW-BELEGEINH, " SPACE | |||
| lv_flg_popup | TYPE RJGXFELD-XFELD, " SPACE | |||
| lv_in_trtyp | TYPE TJ180-TRTYP, " 'V' | |||
| lv_in_suppress_dialog | TYPE TJ180, " ' ' | |||
| lv_no_ekorg | TYPE TJ180, " | |||
| lt_out_xknbk | TYPE STANDARD TABLE OF RJGKNBK, " | |||
| lv_in_bankart | TYPE JG000_BANKART, " 'A' | |||
| lv_in_gpnr | TYPE RJKRG-GPNR, " | |||
| lv_no_vkorg | TYPE RJKRG, " | |||
| lt_out_xbkez | TYPE STANDARD TABLE OF RJGBKEZ, " | |||
| lv_in_kunnr | TYPE RJKRG-KUNNR, " | |||
| lv_no_vtweg | TYPE RJKRG, " | |||
| lt_dialog_bank | TYPE STANDARD TABLE OF JG000_DIALOG_BANK_TAB, " | |||
| lv_in_vkorg | TYPE JGTBKVW-VKORG, " SPACE | |||
| lv_no_spart | TYPE JGTBKVW, " | |||
| lv_in_vtweg | TYPE JGTBKVW-VTWEG, " SPACE | |||
| lv_no_verwend | TYPE JGTBKVW, " | |||
| lv_in_spart | TYPE JGTBKVW-SPART, " SPACE | |||
| lv_in_ekorg | TYPE JGTBKVW-EKORG, " SPACE | |||
| lv_in_inserent | TYPE JGTBKVW-INSERENT. " SPACE |
|   CALL FUNCTION 'ISP_GP_BANK_SELECT' "IS-M/SD: Bank Selection Using Dialog Box |
| EXPORTING | ||
| IN_ZUGRIFFSART | = lv_in_zugriffsart | |
| IN_BELEGEINH | = lv_in_belegeinh | |
| FLG_POPUP | = lv_flg_popup | |
| IN_TRTYP | = lv_in_trtyp | |
| IN_SUPPRESS_DIALOG | = lv_in_suppress_dialog | |
| IN_BANKART | = lv_in_bankart | |
| IN_GPNR | = lv_in_gpnr | |
| IN_KUNNR | = lv_in_kunnr | |
| IN_VKORG | = lv_in_vkorg | |
| IN_VTWEG | = lv_in_vtweg | |
| IN_SPART | = lv_in_spart | |
| IN_EKORG | = lv_in_ekorg | |
| IN_INSERENT | = lv_in_inserent | |
| CHANGING | ||
| OUT_RFCTYPE | = lv_out_rfctype | |
| TABLES | ||
| OUT_BANK | = lt_out_bank | |
| OUT_XKNBK | = lt_out_xknbk | |
| OUT_XBKEZ | = lt_out_xbkez | |
| DIALOG_BANK | = lt_dialog_bank | |
| EXCEPTIONS | ||
| NO_GPNR = 1 | ||
| NO_EKORG = 2 | ||
| NO_VKORG = 3 | ||
| NO_VTWEG = 4 | ||
| NO_SPART = 5 | ||
| NO_VERWEND = 6 | ||
| . " ISP_GP_BANK_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM ISP_GP_BANK_SELECT
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 RFCTYPE FROM RFCDES INTO @DATA(ld_out_rfctype). | ||||
| DATA(ld_in_zugriffsart) | = '1'. | |||
| "SELECT single BELEGEINH FROM JGTBKVW INTO @DATA(ld_in_belegeinh). | ||||
| DATA(ld_in_belegeinh) | = ' '. | |||
| "SELECT single XFELD FROM RJGXFELD INTO @DATA(ld_flg_popup). | ||||
| DATA(ld_flg_popup) | = ' '. | |||
| "SELECT single TRTYP FROM TJ180 INTO @DATA(ld_in_trtyp). | ||||
| DATA(ld_in_trtyp) | = 'V'. | |||
| DATA(ld_in_suppress_dialog) | = ' '. | |||
| DATA(ld_in_bankart) | = 'A'. | |||
| "SELECT single GPNR FROM RJKRG INTO @DATA(ld_in_gpnr). | ||||
| "SELECT single KUNNR FROM RJKRG INTO @DATA(ld_in_kunnr). | ||||
| "SELECT single VKORG FROM JGTBKVW INTO @DATA(ld_in_vkorg). | ||||
| DATA(ld_in_vkorg) | = ' '. | |||
| "SELECT single VTWEG FROM JGTBKVW INTO @DATA(ld_in_vtweg). | ||||
| DATA(ld_in_vtweg) | = ' '. | |||
| "SELECT single SPART FROM JGTBKVW INTO @DATA(ld_in_spart). | ||||
| DATA(ld_in_spart) | = ' '. | |||
| "SELECT single EKORG FROM JGTBKVW INTO @DATA(ld_in_ekorg). | ||||
| DATA(ld_in_ekorg) | = ' '. | |||
| "SELECT single INSERENT FROM JGTBKVW INTO @DATA(ld_in_inserent). | ||||
| DATA(ld_in_inserent) | = ' '. | |||
Search for further information about these or an SAP related objects