Ansicht
Dokumentation

BAPI_EMPLOYEET_ENQUEUE - Lock employee

BAPI_EMPLOYEET_ENQUEUE - Lock employee

General Data in Customer Master   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to lock an employee so that the records stored for this person cannot be accessed.

When an employee is locked, only the user who has set the lock can access the records for this employee. Other users are denied access.

Only when an employee is locked for other users, can his/her records be maintained (created, changed, deleted, copied) by the person who has set the lock.

Example:

An employee's address must be changed.

  • The employee is locked using the ENQUEUE method.

  • The following methods of the Addresses infotype (0006) are then called in the order given:

  • GETLIST: overview of all existing infotype records

  • GETDETAIL: selection of the required infotype record

  • CHANGE: maintenance of the selected infotype record

  • Finally, the employee is unlocked using the DEQUEUE method.

Notes

Messages are transferred to the RETURN parameter. The relevant parameter documentation contains the return values and their meanings.

For more information on the DEQUEUE method, read the documentation on the function module BAPI_EMPLOYEE_DEQUEUE.





Parameters

NUMBER
RETURN
VALIDITYBEGIN

Exceptions

Function Group

1065

General Material Data   General Material Data  
This documentation is copyright by SAP AG.

Length: 1973 Date: 20240523 Time: 111046     sap01-206 ( 22 ms )