HCM
BAPI
RFC
Used the same way in S/4HANA
BAPI_BANKDETAIL_CREATE Create Employee Bank Details (Infotype 0009)
Creates a bank details record (infotype 0009) with bank key, account or IBAN and payment method. It is used when salary payment details come from an onboarding or self-service system. Lock the employee first, use the bank details type in BANKTYPE, and check RETURN.
- Function group
- PBNK
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| EMPLOYEENUMBER | BAPIP0009-PERNR | Personnel number | Yes |
| VALIDITYBEGIN | BAPIP0009-BEGDA | Valid from | Yes |
| VALIDITYEND | BAPIP0009-ENDDA | Valid to | Yes |
| BANKTYPE | BAPIP0009-BNKSA | Bank details type | — |
| 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 | — |
| PURPOSE | BAPIP0009-ZWECK | Purpose of transfer | — |
| NOCOMMIT | BAPI_STAND-NO_COMMIT | No commit (caller commits) | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRETURN1 | Return message |
| EMPLOYEENUMBER | BAPIP0009-PERNR | Personnel number |
| SUBTYPE | BAPIP0009-SUBTY | Subtype |
| OBJECTID | BAPIP0009-OBJPS | Object identification |
| LOCKINDICATOR | BAPIP0009-SPRPS | Lock indicator |
| VALIDITYBEGIN | BAPIP0009-BEGDA | Valid from |
| VALIDITYEND | BAPIP0009-ENDDA | Valid to |
| RECORDNUMBER | BAPIP0009-SEQNR | Record number |
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_BANKDETAIL_CREATE'
EXPORTING
employeenumber = lv_employeenumber
validitybegin = lv_validitybegin
validityend = lv_validityend
IMPORTING
return = lv_return
employeenumber = lv_employeenumber
subtype = lv_subtype
objectid = lv_objectid
lockindicator = lv_lockindicator
validitybegin = lv_validitybegin
validityend = lv_validityend
recordnumber = lv_recordnumber.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.