Application Development and Automation 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: 
Read only

code for employee worked hours calculation

Former Member
0 Likes
505

Hello everyone,

I need some help with an ABAP code:

I have records coming in with Employee ID, Date and Worked hours along with some other fields.

I need to look up the employee id aginst another table to figure out if the employee depends to a particular state or not and the date is holiday or not from different table.

Also I would like to see if worked hours are more than 8 and put the extra hours into a differemt field for calculating if the total hours in a week exceed 40.

Can you please help with this code?

Thanks,

Raj

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
474

>

> Hello everyone,

>

> I need some help with an ABAP code:

>

> I have records coming in with Employee ID, Date and Worked hours along with some other fields.

>

> I need to look up the employee id aginst another table to figure out if the employee depends to a particular state or not and the date is holiday or not from different table--- u can use FM BKK_CHECK_HOLIDAY to find out the given date is holiday or not ? Also I would like to see if worked hours are more than 8 and put the extra hours into a differemt field for calculating if the total hours in a week exceed 40.

>

> Can you please help with this code?

>

> Thanks,

> Raj

3 REPLIES 3
Read only

Former Member
0 Likes
475

>

> Hello everyone,

>

> I need some help with an ABAP code:

>

> I have records coming in with Employee ID, Date and Worked hours along with some other fields.

>

> I need to look up the employee id aginst another table to figure out if the employee depends to a particular state or not and the date is holiday or not from different table--- u can use FM BKK_CHECK_HOLIDAY to find out the given date is holiday or not ? Also I would like to see if worked hours are more than 8 and put the extra hours into a differemt field for calculating if the total hours in a week exceed 40.

>

> Can you please help with this code?

>

> Thanks,

> Raj

Read only

0 Likes
474

Can someone help please?

Read only

Former Member
0 Likes
474

Solved.