Skip to Content
avatar image
Former Member

Overitme Calculation Automatically

Hi,

In my company we are using postive time evaluation and time evaluation at the time workers normally works 12 hours . 8 hours as normal working time and 4 hours entered manually in infotype 15 wagetype 9001 .

now my requirement is that i would like to calculate overtime hours automatically and calculate the overtime amount .how to write the pcr for that requirement

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Aug 02, 2017 at 04:59 PM

    What is the employee's Daily Work Schedule?

    Do you enter Attendances with TimeIn/TimeOut or just the number of Hours?

    Have you tried to execute Time Evaluation with the "Display log" box checked, for one employee with 12 hours of Attendances, with the Attendance Date entered in the "Forced recalculation as of" and "Evaluation up to" fields, and drill down into that log to see the current processing (to find out where and how the extra hours are processed) ?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 04, 2017 at 05:57 AM

    Hi Remi ,

    Attendances with Time In/Out machine.

    At the moment extra hours not calculating thorough time evalatuation we have to enter it in Additional payment infotype 0015 wagetype 9001

    I would like to know which part of time evaluation schema i need to add the pcr for automatic overtime calculation and need some help to write PCR for that.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 04, 2017 at 04:54 PM

    Before you embark on creating PCRs and modifying your Time Evaluation Schema, you should understand the current processing of your Time Data.

    In the example you posted, if there is Overtime on Monday 03.07.2017, expand the sub-schema "Detemine Overtime" and then double-clic on every Function to see what it reads and what it does. Use t-code pe04 to access the documentation on these Functions.

    You should also look at the processing in the "Determine planned working times" section to see if there is information there that is no longer available in the "Determine Overtime" section. Try to find out if any standart Time Types are created with the hours that are above the planned working times.

    Take some time to read on Time Management configuration, either on help.sap.com, on the SCN's Time Management Wiki page (https://wiki.scn.sap.com/wiki/display/ERPHCM/HCM+Time+Management) or elsewhere on the web.

    Add comment
    10|10000 characters needed characters exceeded

    • Helle Tasmeen,

      We don't use TimeIn-TimeOut, and it's been a very long time since I had my training on Time Evaluation, so I would prefer if someone else would point you in the right direction.

      If I look at the employees's Table TIP at the Output to Function GOT with pcr TO20 and Par2 = 01, I can see that Time Type 0310 was generated twice, once at the beginning (most probably before the Planned Work Schedule) and once at the end. Is it the same at the Output to Function GOT with pcr TO20 and Par2 = 02 ?

      In that same Time Evaluation Log, open the next segment (Select time wage types) and see if you can find Functions GWT, PTIP or RTIP, or some other Function that will process/read Table TIP, and double-click on it to see what processing happens with each of the Time Types. What happens when VTYPE = M ?