Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2007 at 07:15 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.