In this step, you determine whether a higher bonus should be paid for overtime exceeding a certain number of hours weekly.
The employee is to receive a higher overtime bonus if he/she works more than ten hours of overtime weekly.
wage types for overtime bonuses have been defined.Subschema TW00 is called in schema TM00; it processes personnel calculation rules TW10, TW20 and TW30.
Time type 0901 (weekly overtime) is initialized. The system sets the time type to zero on Mondays. On all other days of the week, the overtime hours worked so far are cumulated in time type 0901 (weekly overtime).
As of the tenth weekly overtime hour, a 50%
bonus is generated in personnel calculation rule TW20 for all overtime wage
types
instead of a 25% bonus.
Weekly overtime is then updated in personnel calculation rule TW30.
It is generally sufficient to modify the threshold value as of which an increased bonus is to be generated, and the wage types which describe the bonus.
DOUTOTWGTYP
**** ADDOT *
MM10 ADDDB0000ZHRS=10,00
HRS-D0901 HRS>0 HRS<D0000 NEXTR
MM10 1 GENOWB* ADDOT MM20
HRS=D0000 ADDDB0901
MM20 ADDDB0901 ADDOT *