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

ParameterTypeDescriptionRequired
EMPLOYEENUMBERBAPIP0009-PERNRPersonnel numberYes
VALIDITYBEGINBAPIP0009-BEGDAValid fromYes
VALIDITYENDBAPIP0009-ENDDAValid toYes
BANKTYPEBAPIP0009-BNKSABank details type—
PAYEEBAPIP0009-EMFTXPayee—
BANKCOUNTRYBAPIP0009-BANKSBank country—
BANKKEYBAPIP0009-BANKLBank key—
ACCOUNTNOBAPIP0009-BANKNBank account number—
IBANBAPIP0009-IBANIBAN—
PAYMENTMETHODBAPIP0009-ZLSCHPayment method—
CURRENCYBAPIP0009-WAERSCurrency—
PURPOSEBAPIP0009-ZWECKPurpose of transfer—
NOCOMMITBAPI_STAND-NO_COMMITNo commit (caller commits)—

Exporting parameters

ParameterTypeDescription
RETURNBAPIRETURN1Return message
EMPLOYEENUMBERBAPIP0009-PERNRPersonnel number
SUBTYPEBAPIP0009-SUBTYSubtype
OBJECTIDBAPIP0009-OBJPSObject identification
LOCKINDICATORBAPIP0009-SPRPSLock indicator
VALIDITYBEGINBAPIP0009-BEGDAValid from
VALIDITYENDBAPIP0009-ENDDAValid to
RECORDNUMBERBAPIP0009-SEQNRRecord 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.

Request a custom report