Skip to Content
Former Member
Apr 09, 2008 at 09:10 AM

Absence days caliculation based on working days HR ABAP


Hi experts,

I am developing one report that is for Variable Bonus report. We are evaluating the data based on the Variable Bonus period based on Selection-screen. for ex: 01.04.2007 to 31.03.2008

There is one record in the IT2001 with begin date 26.01.2008 end date 25.07.2008 for the absence type 0620(Unpaid leave). But our Variable Bonus period is 01.04.2007 to 31.03.2008. I want to calculate absence days for the above record from 26.01.2008 to 01.04.2008 and 26.01.2008 to 31.03.2008

Please let me know any function module which gives me exact absence days.

i have tried RKE_SELECT_FACTDAYS_FOR_PERIOD... but its giving based on factory id but in my requirement the working days differ from each employee ...for ex: 5 working days in a week or 5.5 working days in a week, 6 working days in a week ....for each employee....

Please suggest me what could be done to achieve this.....


Thanks in advance....

Sreenivasa Sarma K.

Edited by: Alvaro Tejada Galindo on Apr 9, 2008 6:02 PM