Fonction SAP BAPI_EMPLOYEE_DEQUEUE - Unlock employee

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
NUMBER BAPIP0001-PERNR N 8 Personnel number

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Structure for return code

Functionality
You can use the DEQUEUE method to unlock an employee so that therecords stored for this person can be accessed.
If an employee is locked using the ENQUEUE method, the user who set thelock can access this employee's records. Other users are denied accessto these records.
The DEQUEUE method removes the lock.

Notes
Messages are transferred to the RETURN parameter. The relevantparameter documentation contains the return values and their meanings.
The key fields used by the method are described in the parameterdocumentation.
For more information on the ENQUEUE method, read the documentation onthe function module BAPI_EMPLOYEE_ENQUEUE.

Description
Method return code

Value range
In case of an error, this structure contains the following information:

  • Message type (TYPE field)

  • Message code (CODE field)

  • Message text (MESSAGE field)

  • If the operation is successful, this structure contains the initialvalue.

    Description
    For information on the personnel number, read the relevant data elementdocumentation: Personnel number.