HCM BAPI RFC Used the same way in S/4HANA

BAPI_EMPLOYEE_DEQUEUE Unlock Employee

Releases the lock on a personnel number set by BAPI_EMPLOYEE_ENQUEUE. Call it after every infotype update, also in error branches, so locks do not stay open until the program ends. Check RETURN.

Function group
1065
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
NUMBERBAPIP0001-PERNRPersonnel numberYes

Exporting parameters

ParameterTypeDescription
RETURNBAPIRETURN1Return 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_EMPLOYEE_DEQUEUE'
  EXPORTING
    number = lv_number
  IMPORTING
    return = lv_return.

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