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

ParameterTypeDescriptionRequired
BANK_CTRYBAPI1011_LIST-BANK_CTRYBank countryYes
MAX_ROWSBAPI1011_KEY-MAX_ROWSMaximum number of rowsYes

Exporting parameters

ParameterTypeDescription
RETURNBAPIRET2Return message

Tables parameters

ParameterTypeDescriptionRequired
BANK_LISTBAPI1011_LISTBank listYes

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.

Request a custom report