cancel
Showing results for 
Search instead for 
Did you mean: 

Any function to calculate actual work hours (deduct the break hours)

Former Member
0 Kudos

Hi expert,

I have defined the daily work schedule & break schedule. Work center is assigned with the daily work schedule. Now I want to calculate each work center actual work hours. I have a table where the start & finish time of working is keep.

for eg.

first break hr 10:00am to 10:15am

second break hr 13:00pm to 14:00pm

The work center might start work from 10:05 and finished at 14:30 or any other case.

I need to deduct the break hrs & get the actual hr worked

Is there any function to calculate the actual work hours base on the daily work schedule & break schedule ?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Try the below FM's

HR_PERSONAL_WORK_SCHEDULE

WORKING_HOURS = 'X' " you will get the actual work hours

HR_BE_WORKING_SCHEDULE

Try the below class

CL_PT_TIME_EV_WORK_SCHED_UTIL

Regards,

Krishna

Message was edited by:

Krishnakumar