I have used BAPI_EMPLOYEE_ENQUEUE to lock the employee record. And then i have used BAPI_ABSENCE_CREATE to create a lock absence record. Now i am trying to unlock the record by using BAPI_ABSENCE_APPROVE, but it is not working.
BAPI_ABSENCE_APPROVE requires some parameters which will be written by BAPI_ABSENCE_CREATE (i.e object id , record no. ). When i executed BAPI_ABSENCE_APPROVE, it has written me that no data exists for selected period.