Show TOC

Calculate Overtime on the Basis of General Periods

In this step, you can set up an analysis of overtime for a general period. If too much overtime has been generated, you can cancel it at the end of the general period.

You can thus carry out an overtime analysis for the following periods:

Example

An employee has approval to work 2 hours of overtime each day and has a planned working time of 40 hours each week. Overtime should only be generated if the employee works more than 80 hours within two weeks.
The employee works for 9 hours on two days of the first week, 7 hours on one day of the second week, and 8 hours on the remaining days. One hour is deducted from the overtime for the deficient planned working time. The employee is therefore compensated for one hour of overtime.

In the SAP standard delivery, the analysis in the above example is set up in subschema TPOP. The subschema is not contained in the standard schema.

Requirements

The planned working time within the overtime period being analyzed must be specified in Customizing or calculated in the schema.

The options are as follows:

You can access all of the above values in time evaluation using operation HRS.

The analysis periods must be defined. You can query the relative days and the first and last days of a period in a personnel calculation rule using operation VARST.

Standard Settings

In the SAP standard delivery, the above two-weekly analysis of overtime is set up in subschema TPOP. The subschema is not contained in the standard schema.

Activities

If you require an analysis of overtime for a time frame other than
weekly (SAP standard schema TPOW) or two-weekly (SAP standard schema TPOP), carry out the following steps:

1. Copy personnel calculation rule TPP3 (Provide Correction Time Type) to ZPP3, and change the parametrization of operation SUM according to the required period.
2. Change the totaling period of the log time types by copying personnel calculation rule TPOD to ZPOD, and choosing the appropriate period parametrization each time operation SUM is called.
3. Copy personnel calculation rule TPP6 (Determine Missing Planned Time) to ZPP6, and change the parametrization of operation VARST according to the end of the required period. In the HRS?TWEHRS comparisons in ZPP6, replace the constant TWEHRS by a constant that is suitable for your analysis period. Then change the call of TPOD in ZPP6 to ZPOD.
4. Copy personnel calculation rule TPP7 (Trigger Internal Recalculation) to ZPP7, and choose suitable period parameters for operation GOTC to obtain a recalculation trigger for the chosed period.
5. Copy subschema TPOP to ZPOP, and change the calls of personnel calculation rules TPP3, TPP6, and TPP7 to ZPP3, ZPP6, and ZPP7.
6. Add your subschema ZPOP to the time evaluation schema using COPY ZPOP.