# HR_EMPLOYEE_DEQUEUE — Unlock Employee (HR)

> Releases the lock on a personnel number set by HR_EMPLOYEE_ENQUEUE. Call it once the infotype changes are finished, also when they fail. Check RETURN.

- Modules: HCM
- Type: Function module
- Function group: 1065
- Remote-enabled (RFC): Yes
- S/4HANA status: Used the same way in S/4HANA
- URL: https://nekuhub.com/en/functions/hr-employee-dequeue/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| NUMBER | BAPIP0001-PERNR | Personnel number | Yes |

## Exporting parameters

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

## Call template (ABAP)

```abap
CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
  EXPORTING
    number = lv_number
  IMPORTING
    return = lv_return.
```


