Attendance Based on PERNR(EMP NUMBER)
I would like to know where i can find the attendance ( Number of days Present )of the employee based on PERNR . Is there any function module for this .
Aabhas K Vishnoi replied
There is no such specific function module to get the present days for a particular emp no.
There can be positive or negative approach to this.
You can retrieve the present days by checking the time in and time out from the table: TEVEN + infotype 2002 + 2003 (substitutions - if applicable)
You can get the work schedule of the person using LDB -> Get pernr -> BAPI for getting work schedule.
Present days = No. of scheduled working days - (leaves in 2001)
Many other considerations needs to be done based on the configuration.
Aabhas K Vishnoi