Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Employee Absence data from Infotype 2001

Former Member
0 Kudos

Hi All,

O have to retreive the employee absence data from IT2001 for a particual month. I debugg the T code PT64 and find out the HR_TIM_REPORT_ABSENCE_DATA function. But when i am using the same function in my program, i am not getting the correct result. Please let me know if there any other function avaliable to retreive the Emplyee absence details.

Regards,

Piyush

6 REPLIES 6

GauthamV
Active Contributor
0 Kudos

Did you check PA2001 table?

Former Member
0 Kudos

use FM

BAPI_ABSENCE_GETDETAIL

Former Member
0 Kudos

Hi,

Check the data in your PA2001 table first. Are they proper or not.

also try with function module

HR_GET_ABSENCE_QUOTA_DATA

HR_GET_ABSENCE_QUOTA_DATA_TEC

HR_REPORT_ABSENCE_DATA_INI

they are the ones used to find data of employee's abcence.

Regards,

Anirban

0 Kudos

I check table PA2001 and all records are available there.

I am testing with one record like i am having one record from 15th Dec 2008 to 05th Jan 2009.

If i execute my report for Jan 2009, it should display the absence leave 5 i.e from 1st Jan to 5th Jan 09.

If any National holiday available between 1 Jan to 5 Jan, then it should not count that holiday as absence.

For ex. if 3rd Jan is holiday then absence day will be 4.

Above functionality is available in PT64 t code, i use the same function but not getting the desire result.

Thanks

Piyush

Hi All: Is anybody know the solution for above query?

Edited by: piyush mathur on Jan 8, 2009 2:44 PM

piyush_mathur
Active Participant
0 Kudos

Its solvd now

0 Kudos

Hi Piyush...i am also dacing the same issue...how to solve that??