The requirement for work schedules is that there are no Saturdays and
Sundays, just a 6th day/Day-off and 7th day/Rest day. My employee's planned
working time is from Sunday to Thursday, with Friday and Saturday as 6th and 7th
day, respectively. However, when I test my employee for overtime rendered on a
Sunday (which should be considered as a regular working day), there is no OT
calculated for Sunday. The daily work schedule for Sunday can be seen in the
employee's PSP table, but no OT time wage type is generated in the table ZL.
Is there something I am missing.
Will deeply appreciate any help that can be given to me.
You can check Day Type selection rule - perhaps it is ssuch that for Holiday
class blank on a sunday, day type 1 is selected.
You can either change the day type selection rule, or for this particular
employee, you can enter substitution record on a sunday as a day type "blank".
Then Time Eval should calcluate OT as if it is a normal working day.
Another alternative is in the schema you can include a rule, which checks if
employee is at work in Suunday and give the DAYPG as paid working day.
Essentially, I think it is because of the day type you are facing problems and
there a re a few ways to solve this.
But I have configured the day type selection rule for
Sunday which is the same for the weekdays and Saturday, that is all 1 for
holiday class 1 to 9 and holiday class b is blank. If I fix the problem
through the schema, where in the schema and what kind of a condition should I
set up? I'm very familiar with PY schemas and rules, but I have to admit that I
am not too knowledgeable about Time Mgt.
I sure hope that you can help me because this problem has
been giving me a big headache for the past few days.
On a re-reading of your problem, I see that you have stated that the Wagetype
is not being generated in the table ZL - Maybe you should relook at your
wagetype selection rule table t510s. Here also you set the conditions of the day
for which the wagetype is applicable - whether you have set that it is ok for
wagetype to be generated on sunday?
Also check what you have set for the function DAYMO in schema TM00 - DAYMO
has 4 parameters - the second and fourth are for Sundays - based on what you put
here, schema will read corrsponding rule from table T510S. Is there a
correspodning rule for Sunday in T510s????
I am giving below the place where the dws is changed iin the schema, but you
can try that as a last resort if the above config is not working out.
BLOCK BEG Provide time data
IF NOT SIMF No simulation for future periods
PERT TD20 Evaluate errors from pair format
P2011 Provide time pairs and daily WS
ACTIO TD10 End if daily work schedule still
A2003 Process work center substitution
ACTIO TD60 AB Convert daily WS if RWH and leav
P2001 Provide absence data of the day
P2002 Provide attendance data of the d
PTIP TD80 GEN Process absence/attendance reaso
ACTIO TD90 Process generated locked records
P2005 * Provide overtime data of the day
PTIP TD40 GEN * Set PTYPE/TTYPE for overtime
ACTIO TD30 Dynamic DWS assignment: Clock-in
I have pasted the xtract of TM00 above - Just after we
have imported the planned working times and actual working times, there is the
line ACTIO TD60 - please have a look at rule TD60 -
You can make a copy of this rule, with your own
requirements - Rule TD60 checks if there is a leave and changes the DWS for that
day. Pl look up the documentation for the operation DAYPG.
You are so good!!!!
It was the day grouping settings at the function DAYMO in
the schema that did the trick. I copied the line and placed all 01 in the
parameters. Finally, overtime wagetypes for Sunday are being generated and can
be seen in the ZL table.
Thank you very, very much! You have saved me more