Fonction SAP BAPI_EMPLOYEET_DEQUEUE - Unlock employee

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
NUMBER BAPIP0001-PERNR N 8 Personnel number
VALIDITYBEGIN BAPIPAKEY-VALIDBEGIN D 8 Key field for object EmployeeT

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.
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.

    Description
    This method can be called for two different objects, namely forEmployeeAbstract(BUS1065) and EmployeeT(Employee). The key fields ofthese two methods differ; EmployeeT has an additional key field for thestart date.
    For technical reasons, the date is an import parameter of this method.The function is not influenced by the parameter.