cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module FM- Leave

former_member201807
Contributor
0 Kudos

Dear Team,

One of our Indian clients is using Time Management,

Now the clients wants customize monthly report related to Leave such as Sick Leave/ privilege Leave / Medical Leave etc.

How much eligibility of leave and taken leave on monthly basis

Please suggest the function module FM

Please suggest!

Thank you,

Regards,

Rakesh

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member226519
Active Contributor

HR_TIME_RESULTS_GET

nevertheless ist is not simple

Former Member
0 Kudos

Rakesh, leaves are stored at infotype 2001, table PA2001. You can check through tCode PA30.

Also, you can check the tCode PT50 with the information about elegibility (elegibility is stored at infotype 2006).

Regards,

former_member201807
Contributor
0 Kudos

Dear Team,

Please suggest, how to find the employee monthly leave taken?

Such as - employee (X) has taken leave from 06th Feb to 15th Feb 2017. OR

Employee (Y) has taken leave from 26th Feb to 06th March 2017

assume leave are approved in system.

Thank you,

NTeunckens
Active Contributor
0 Kudos

Please look into BAPI "BAPI_ABSENCE_GETDETAILEDLIST" and see if it fits your needs ...

former_member226519
Active Contributor
0 Kudos

I am using this fm frequently and it works fine.

former_member226519
Active Contributor
0 Kudos

did you try report RPTABD20?

former_member226519
Active Contributor
0 Kudos

sorry, RPTABS20

former_member201807
Contributor
0 Kudos

Hi Volker,

Thank for reply,

after given the parameters, shown Run time Error (Dump error).

plz test and confirm the same or suggest the another FM.

Have a nice day!