# BAPI_BANKDETAIL_CHANGE — Change Employee Bank Details (Infotype 0009)

> Changes an existing bank details record (infotype 0009) identified by its full key. Interfaces use it to update the account, IBAN, payee or payment method. Make sure the key matches the current record, lock the employee before the call and check RETURN.

- Modules: HCM
- Type: BAPI
- Function group: PBNK
- Remote-enabled (RFC): Yes
- S/4HANA status: Used the same way in S/4HANA
- URL: https://nekuhub.com/en/functions/bapi-bankdetail-change/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| EMPLOYEENUMBER | BAPIP0009-PERNR | Personnel number | Yes |
| SUBTYPE | BAPIP0009-SUBTY | Subtype | Yes |
| OBJECTID | BAPIP0009-OBJPS | Object identification | Yes |
| LOCKINDICATOR | BAPIP0009-SPRPS | Lock indicator | Yes |
| VALIDITYBEGIN | BAPIP0009-BEGDA | Valid from | Yes |
| VALIDITYEND | BAPIP0009-ENDDA | Valid to | Yes |
| RECORDNUMBER | BAPIP0009-SEQNR | Record number | Yes |
| PAYEE | BAPIP0009-EMFTX | Payee | - |
| BANKCOUNTRY | BAPIP0009-BANKS | Bank country | - |
| BANKKEY | BAPIP0009-BANKL | Bank key | - |
| ACCOUNTNO | BAPIP0009-BANKN | Bank account number | - |
| IBAN | BAPIP0009-IBAN | IBAN | - |
| PAYMENTMETHOD | BAPIP0009-ZLSCH | Payment method | - |
| CURRENCY | BAPIP0009-WAERS | Currency | - |
| NOCOMMIT | BAPI_STAND-NO_COMMIT | No commit (caller commits) | - |

## Exporting parameters

| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRETURN1 | Return message |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_BANKDETAIL_CHANGE'
  EXPORTING
    employeenumber = lv_employeenumber
    subtype = lv_subtype
    objectid = lv_objectid
    lockindicator = lv_lockindicator
    validitybegin = lv_validitybegin
    validityend = lv_validityend
    recordnumber = lv_recordnumber
  IMPORTING
    return = lv_return.
```

## Related tables

PA0009

