cancel
Showing results for 
Search instead for 
Did you mean: 

Comparing Infotypes Dates

Former Member
0 Kudos

Dear Gurus;

I need to compare the start date of a leave type in IT2001 by the Hiring date of the employee.

Actually there is a specific Leave type if it has been taken with the first 5 years of the employee's service period it will be calculated in a way and if it has been taken after the 5 years of service period it will be calculated in a different way.

So does any one know how can I select the Leave Type in the PCR and compare its start date by the Hiring date of the employee?

Thanks in Advance.

Best Regards;

Lobna

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Lobna,

You can use operation OUTTPABTYP to query on leave type in your PCR. to compare the hiring date you have to maintain the hiring date in IT0041. so from there you can read the Hiring date and compare with the current date.

to read IT041, you can use HRS=YSAD01

EX. here last 01 is your hiring date .

To more clearification. you can use PE04 and read the documentaion on HRS.

Regards,

Dinesh

Former Member
0 Kudos

Dear Dinesh;

Thanks for your cooperation I really appreciate it.

just wanted to ask when I select the required leave type how can I mention its start date in the PCR?

Thanks in advance.

Regards;

Lobna

Answers (0)