SAP ISM_BP_SEARCH_WITH_BANK Function Module for IS-M: BP Search Using Bank Data
ISM_BP_SEARCH_WITH_BANK is a standard ism bp search with bank 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: BP Search Using Bank Data 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 ism bp search with bank FM, simply by entering the name ISM_BP_SEARCH_WITH_BANK into the relevant SAP transaction such as SE37 or SE38.
Function Group: JHA4
Program Name: SAPLJHA4
Main Program: SAPLJHA4
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_BP_SEARCH_WITH_BANK 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 'ISM_BP_SEARCH_WITH_BANK'"IS-M: BP Search Using Bank Data.
EXPORTING
PV_BANKN = "Bank Account Number
PV_BANKL = "Bank Number
PV_BANKS = "Bank Country Key
* PV_VKORG = "Sales Organization
* PV_VTWEG = "Distribution Channel
* PV_SPART = "Division
* PV_IBAN = "
IMPORTING
PT_PARTNER = "IS-M: Business Partner Key
EXCEPTIONS
NO_PARTNER_FOUND = 1
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLJHA4_001 IS-M/AM: TOP_OF_PAGE Enhancement in Central Access Item Overviews
EXIT_SAPLJHA4_002 IS-M/AM: Item Data in Central Access Enhancement
EXIT_SAPLJHA4_003 IS-M/AM: Field Catalog for Item List in Central Access
EXIT_SAPLJHA4_004 IS-M/AM: Function Code Exclusion for Central Access Item List
IMPORTING Parameters details for ISM_BP_SEARCH_WITH_BANK
PV_BANKN - Bank Account Number
Data type: JGTBKVW-BANKNOptional: No
Call by Reference: Yes
PV_BANKL - Bank Number
Data type: JGTBKVW-BANKLOptional: No
Call by Reference: Yes
PV_BANKS - Bank Country Key
Data type: JGTBKVW-BANKSOptional: No
Call by Reference: Yes
PV_VKORG - Sales Organization
Data type: JGTBKVW-VKORGOptional: Yes
Call by Reference: Yes
PV_VTWEG - Distribution Channel
Data type: JGTBKVW-VTWEGOptional: Yes
Call by Reference: Yes
PV_SPART - Division
Data type: JGTBKVW-SPARTOptional: Yes
Call by Reference: Yes
PV_IBAN -
Data type: IBANOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISM_BP_SEARCH_WITH_BANK
PT_PARTNER - IS-M: Business Partner Key
Data type: PARTNER_TABOptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_PARTNER_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISM_BP_SEARCH_WITH_BANK 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_pv_bankn | TYPE JGTBKVW-BANKN, " | |||
| lv_pt_partner | TYPE PARTNER_TAB, " | |||
| lv_no_partner_found | TYPE PARTNER_TAB, " | |||
| lv_pv_bankl | TYPE JGTBKVW-BANKL, " | |||
| lv_pv_banks | TYPE JGTBKVW-BANKS, " | |||
| lv_pv_vkorg | TYPE JGTBKVW-VKORG, " | |||
| lv_pv_vtweg | TYPE JGTBKVW-VTWEG, " | |||
| lv_pv_spart | TYPE JGTBKVW-SPART, " | |||
| lv_pv_iban | TYPE IBAN. " |
|   CALL FUNCTION 'ISM_BP_SEARCH_WITH_BANK' "IS-M: BP Search Using Bank Data |
| EXPORTING | ||
| PV_BANKN | = lv_pv_bankn | |
| PV_BANKL | = lv_pv_bankl | |
| PV_BANKS | = lv_pv_banks | |
| PV_VKORG | = lv_pv_vkorg | |
| PV_VTWEG | = lv_pv_vtweg | |
| PV_SPART | = lv_pv_spart | |
| PV_IBAN | = lv_pv_iban | |
| IMPORTING | ||
| PT_PARTNER | = lv_pt_partner | |
| EXCEPTIONS | ||
| NO_PARTNER_FOUND = 1 | ||
| . " ISM_BP_SEARCH_WITH_BANK | ||
ABAP code using 7.40 inline data declarations to call FM ISM_BP_SEARCH_WITH_BANK
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 BANKN FROM JGTBKVW INTO @DATA(ld_pv_bankn). | ||||
| "SELECT single BANKL FROM JGTBKVW INTO @DATA(ld_pv_bankl). | ||||
| "SELECT single BANKS FROM JGTBKVW INTO @DATA(ld_pv_banks). | ||||
| "SELECT single VKORG FROM JGTBKVW INTO @DATA(ld_pv_vkorg). | ||||
| "SELECT single VTWEG FROM JGTBKVW INTO @DATA(ld_pv_vtweg). | ||||
| "SELECT single SPART FROM JGTBKVW INTO @DATA(ld_pv_spart). | ||||
Search for further information about these or an SAP related objects