Approve absence using BAPI_ABSENCE_APPROVE
I was able to create an absence using BAPI_EMPLOYEE_ENQUEUE, BAPI_ABSENCE_CREATE/REQUEST in a sequence. But not able to approve the same using BAPI_ABSENCE_APPROVE.
Approve BAPI has the following input fields(input data that I am passing):
1. EMPLOYEENUMBER - Emp Number
2. SUBTYPE - 0200
3. OBJECTID - 01 "not sure if I am using correct data here"
4. LOCKINDICATOR - X
5. VALIDITYBEGIN - Start date
6. VALIDITYEND - End Date
7. RECORDNUMBER - 000
8. NOCOMMIT - blank
It returns the following error " No Data record was saved in the selection period".
Any clues? where am I going worng?
Edited by: Sandhya Vennu on Oct 13, 2008 12:54 PM