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: 

Attendance Based on PERNR(EMP NUMBER)

Former Member
0 Kudos

Hi

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 .

cheers

Mathivanan

1 ACCEPTED SOLUTION

aabhas_wilmar
Contributor
0 Kudos

Hi Maddy

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.

Positive approach:

You can retrieve the present days by checking the time in and time out from the table: TEVEN + infotype 2002 + 2003 (substitutions - if applicable)

Negative approach:

You can get the work schedule of the person using LDB -> Get pernr -> BAPI for getting work schedule.

then

Present days = No. of scheduled working days - (leaves in 2001)

Many other considerations needs to be done based on the configuration.

regards,

Aabhas K Vishnoi

2 REPLIES 2

Former Member
0 Kudos

Hi Mathi,

check these fun modules

WEEK_GET_NR_OF_WORKDAYS

WLB3_GET_NUMBER_OF_WORKDAYS

also check the table

CATSDB

Regards

ANJI

Message was edited by:

Anji Reddy Vangala

aabhas_wilmar
Contributor
0 Kudos

Hi Maddy

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.

Positive approach:

You can retrieve the present days by checking the time in and time out from the table: TEVEN + infotype 2002 + 2003 (substitutions - if applicable)

Negative approach:

You can get the work schedule of the person using LDB -> Get pernr -> BAPI for getting work schedule.

then

Present days = No. of scheduled working days - (leaves in 2001)

Many other considerations needs to be done based on the configuration.

regards,

Aabhas K Vishnoi