Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Compute Leaves between 2 dates

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

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question