Approve
Caution! This API method only writes the Absences infotype (2001). Itshould no longer be used as it can lead to inconsistent time data. Instead, please use the corresponding API method for business object BUS7007. This method can be used to unlock an Absences infotype record (2001).
Together with the REQUEST method, it allows you to implement the"double verification principle" whereby at least two users are involvedin writing an active data record to the database. One of the userscreates a locked infotype record using the REQUEST method. Another user
unlocks the record - that is, activates it using the APPROVE method. NotesMessages are returned in the RETURN parameter. The parameter documentation contains the return codes and their meanings. The key fields used by the method are described under the parameters.
The method can only be used if the ENQUEUE method for the business object EMPLOYEE has already been called. For more information on the ENQUEUE method, please see the documentation on the function moduleBAPI_EMPLOYEE_ENQUEUE. For more information on the REQUEST method, please see the documentation on function module BAPI_ABSENCE_REQUEST.
|