Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

weekly Overtime issue

Hi Expert,

issue is based  on overtime on weekly basis , if exceed more than 40 hours overtime wagetype has to be created , am using +ve TM.

here is the Pcr which calculate overtime wagetype

even if there is no overtime in a particular week zl table is showing as below

11th of aug employee has taken 2 hours overtime

ZL table

DWS is 8 hours and zl table showing everyday as 8 hours as overtime , how do i resolve this issue

looking forward for your suggestions



Former Member
Former Member replied

Hi Bhama,

Go through my document which i have already shared and  will give you an idea step by step. Please check once again which will clear your doubt through below steps which i have modified for you in my document.

9996-Will store the difference of 9997 & 9998

9997- Storing Planned Working time

9998- Storing Actual Working time

For this I have written below  PCR and kindly find the four below PCR details.

1. Storing Planned working time daily.

Suppose your planned working hours is 8.5 then 8.5 will be added to Ttyp 9997 and at the same cumulating in the SALDO table of Ttyp9997 as a monthly balance which we will as the weekend for weekly purpose.Every day planned working time will add to time type and cumulate upto Weekday=7.

2. Storing Actual working time.

Same like planned working time type actual working hours will also be adding to Ttyp9998 and Every day actual working time will add to time type and cumulate upto Weekday=7.

Now we have to place this above pcr in schema. We will place this two pcr just after the P2011 function in time schema.

3. In this PCR i will check the current day is Weekday=7 or not?

4. Update Overtime with time type.















                ADDZL 9999   (Here 9999 is the time wage type which will be carrying OT no of hours)







Above PCR placing in schema.

Now testing:-

Planned working time 8.5 hours(09:00 am to 17:30pm) and employess has worked daily 9 am to 19:00 pm and where sunday os weekly off.

From 1st Sept2014 to 07th Sept 2014 employee's total working hours (6*10)= 60 hours and total Planned working hours for week (6*8.5)=51 hours. So 9.5 hours will be moved to WT9999.

Check and let me know.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question