FI
BAPI
RFC
Used the same way in S/4HANA
BAPI_BANK_CHANGE Change Bank
Changes the address and detail data of a bank master record (BNKA); for each data structure the matching X structure specifies which fields to update. It is used in periodic upload programs that update from a central bank directory (e.g. a national bank list). Set 'X' in BANK_ADDRESSX/BANK_DETAILX for every field you change and call BAPI_TRANSACTION_COMMIT when RETURN has no errors.
- 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 |
| BANK_ADDRESS | BAPI1011_ADDRESS | Bank address | Yes |
| BANK_ADDRESSX | BAPI1011_ADDRESSX | Address change indicators | Yes |
| BANK_DETAIL | BAPI1011_DETAIL | Bank details | — |
| BANK_DETAILX | BAPI1011_DETAILX | Detail change indicators | — |
| BANK_ADDRESS1 | BAPIADDR1 | Central address data | — |
| BANK_ADDRESS1X | BAPIADDR1X | Central address change indicators | — |
| I_CHECK_BEFORE_SAVE | XFELD | Check before saving | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| 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_CHANGE'
EXPORTING
bankcountry = lv_bankcountry
bankkey = lv_bankkey
bank_address = lv_bank_address
bank_addressx = lv_bank_addressx
IMPORTING
return = lv_return.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.