Ansicht
Dokumentation

BAPI_W4W5INFOUS_APPROVE - Employee W4/W5 Information: Unlock Record

BAPI_W4W5INFOUS_APPROVE - Employee W4/W5 Information: Unlock Record

General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to unlock a W4/W5 record (infotype 0210).

It enables you to implement the "double verification principle" in conjunction with the REQUEST method. According to this principle, at least two users must take part in writing an active record to the database. One user creates a locked record using the REQUEST method. The other user unlocks or 'activates' this record using the APPROVE method.

Notes

Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.

The key fields used by the method are described in the parameter documentation.

You can use this method only if you have called the ENQUEUE method of the business object EMPLOYEE beforehand.

Further information

For more information on the ENQUEUE method, read the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.

For more information on the REQUEST method, read the documentation on the function module BAPI_FAMILY_REQUEST.





Parameters

EMPLOYEENUMBER
LOCKINDICATOR
NOCOMMIT
OBJECTID
RECORDNUMBER
RETURN
SUBTYPE
VALIDITYBEGIN
VALIDITYEND

Exceptions

Function Group

PAW4_US

Fill RESBD Structure from EBP Component Structure   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2185 Date: 20240523 Time: 181047     sap01-206 ( 34 ms )