on 03-02-2015 8:52 PM
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
Regards,
Bhama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
ZOTC
*
****
HRS=M9998
HRS-M9997
ADDDB9996
HRS?0
*
HRS=0
ADDMB9997Z
ADDMB9998Z
ADDDB9996Z
>
HRS=D9996
ADDZL 9999 (Here 9999 is the time wage type which will be carrying OT no of hours)
HRS=0
ADDMB9997Z
ADDMB9998Z
ADDDB9996Z
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.
Regards,
Sankarsan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What is ZH02 day time type. What's storing on day basis. You have to design your pcr like above mentioned doc
1st you have to query that week has start and week end and during that period compare with actual working hours and planned working hours
Check and tell me.
Regards,
Sankarsan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhama,
Check the below link document which will give you an idea.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.