Skip to Content

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

infotype 2001 dates to between enddate to begin date

Dear Freinds,

I would like to know how to get dates in 2001 .

I have scenario where i have two records in 2001 ( Absence dates ) infotype as below

one employee has details as below

04-01-2008 to 14-01-2008

16-01-2008 to 22-01-2008

and another employee has details as below

04-01-2008 to 12-01-2008

18-01-2008 to 23-01-2008

now i want to how can i can get the data from date of joining

of the employees ( i.e dates on which he was working)

i.e i want to get dates in the output the working days for the first employee as 15-01-2008(begda) - 15-012008(endda) ....because again from 16-01-2008 he is on leave .....

iam unable to display the record as 15.01.2008 to 15.01.2-008 ,

could any one let me know if any function module or logic

where i can catch dates between end of the first record to that of begining of the second record .........because as the records

in the 2001 may not be continuous ...so please if any one help me it would great help

please help me

Thanks & Regards

Madhuri

Former Member
replied

RPLABSG0_ABSENCE_OVERVIEW

or else PT_QTA10

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question