FI
BAPI
RFC
Used the same way in S/4HANA
BAPI_BANK_GETDETAIL Bank Details
Returns the address (name, city, SWIFT/BIC) and details of a bank master record by country and bank key. It is used in programs that create payment files or pass bank information to external systems. Pass the bank key in the format defined for the country and check RETURN for a not-found message.
- Function group
- 1011
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| BANKCOUNTRY | BAPI1011_KEY-BANK_CTRY | Bank country | Yes |
| BANKKEY | BAPI1011_KEY-BANK_KEY | Bank key | Yes |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| BANK_ADDRESS | BAPI1011_ADDRESS | Bank address |
| BANK_DETAIL | BAPI1011_DETAIL | Bank details |
| RETURN | BAPIRET2 | Return message |
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_GETDETAIL'
EXPORTING
bankcountry = lv_bankcountry
bankkey = lv_bankkey
IMPORTING
bank_address = lv_bank_address
bank_detail = lv_bank_detail
return = lv_return.Related tables
Solutions using this function
CA
Program
Custom
Enhancement
Business Partner Save Checks for IBAN, Tax Number and Mandatory Fields
A development that checks, when a customer or supplier business partner is saved, the consistency of IBAN and bank details, the country-specific …
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.