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: 

Calculate number of Absences for an employee

0 Kudos

Hello,

I have to calculate number of absences for an employee. All absences are stored in 2001 infotype.

My question is how to check if the day of sickness, the employee should work or he is off.

I should check with the personal work schedule but how can I check both?

Thanks in advance for your reply,

R.

1 REPLY 1

NTeunckens
Active Contributor
0 Kudos

Use the BAPI's "BAPI_ABSENCE_GETDETAILEDLIST" or "BAPI_ABSENCE_GETLIST", set the correct Date-Range and check the correct "SUBTYPE" / "ABSENCEDAYS" / "ABSENCEHOURS" in the Results ...


Hope this helps

Nic T.