FI
BAPI
RFC
Used the same way in S/4HANA
BAPI_BANK_GETLIST List of Banks
Returns the bank master records of a country (bank key, name, city, SWIFT) as a list. It is used as a search help in web or mobile interfaces where a bank is selected and in programs that compare the bank directory. MAX_ROWS is mandatory; pass 0 to get all records, otherwise the list is limited to that number.
- Function group
- 1011
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| BANK_CTRY | BAPI1011_LIST-BANK_CTRY | Bank country | Yes |
| MAX_ROWS | BAPI1011_KEY-MAX_ROWS | Maximum number of rows | Yes |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRET2 | Return message |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| BANK_LIST | BAPI1011_LIST | Bank list | Yes |
Call template (ABAP)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
CALL FUNCTION 'BAPI_BANK_GETLIST'
EXPORTING
bank_ctry = lv_bank_ctry
max_rows = lv_max_rows
IMPORTING
return = lv_return
TABLES
bank_list = lt_bank_list.Related tables
Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.