05-02-2006 4:11 PM
Hi All.
I could not search for an answer to this question.
Question is simple, but I guess, answer not so much!
Given a PERNR, 2 dates. How many dates of leaves between those 2 dates?
Note that we cannot just use 2001 infotype as it is.
Example: I want to check between 27.12.2005 to 31.12.2005.
Leave record in 2001 is from 27.12.2005 to 04.01.2006.
Any clues? I know there is a FM HR_ABS_ATT_TIMES_AT_ENTRY. But it is quite slow, as it takes in and returns lots of redundant information. I am just interested in Leave days, and nothing else.
Awaiting your comments...
regds.
Samant
05-02-2006 4:18 PM
Try :HR_BE_TX_ENTRY_LEAVE_DATES
HR_GET_LEAVE_DATA
HR_LEAVE_DATE_CALC
Pl..award the points
Thanks
Saquib Khan
05-03-2006 3:45 AM
Hi Saquib.
2 of the FM you have mentioned are for Entry/Exit dates.
That's not what i want.
I want the no of absences between 2 dates for an employee.
None of the FM mentioned by you does that.
Any other suggestions please?
Thanks & Regards.
Samant
05-03-2006 1:10 PM
Hi Samant,
Can you please refine your query. Is it the number of working days between the two days ie, the actual number of days counted as absence?
anyway try using the BAPI: BAPI_ABSENCE_GETDETAIL
Plz reward points if this helps!
Regards,
Rajeev