Over time in Attendance Infotype 2002
I have requirement to generate OT hours beyond 8 hours schedule.
Req 1) Any hours after 8 hours and <= 12 hours are to b paid OT @ 1.5 times
Req 2) Any hours post 12 hours are to be paid @ 2 times
I have written a PCR to process hours from IT2002 hours field (HRS=PNUM) by taking VARTP2002 operation.
And I have passed the hours to a Time type, however, when i checked the hours in output table, it is showing me 12.5 hours instead (12 hours)
The 0.5 hours are actually unpaid break hours. and IT 2002 Hours field is showing as 12 hours.
Can you please help which field to be taken and how to achieve this requirements?