Ansicht
Dokumentation

SIMG_OHT065 - Determine Overtime from Attendance Quotas

SIMG_OHT065 - Determine Overtime from Attendance Quotas

CPI1466 during Backup   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

In this step, you specify how overtime from attendance quotas (infotype 2007) is approved and evaluated.

An employee works flextime. His/her working times are as follows:
Planned working time: 8am - 7pm
Break: 12 noon - 1pm
Planned working hours: 8 hours
Maximum daily working time: 10 hours
Current day: 11am - 11pm

According to the daily work schedule, the time from 11am to 7pm (8 hours) counts as working time. The other time does not qualify automatically - only if there is an attendance approval. An attendance approval of 7pm - 10.30pm is assigned to the employee. Only the approved times can be counted as overtime. The following conditions are also checked:

Since the employee has not yet completed the 8 planned hours covered by the basic wage at 7pm, overtime is only calculated as of 8pm. By 10pm the employee has completed the maximum daily working time of 10 hours. Overtime is generated for the times from 8pm to 10pm.

  • Time types 0000 and 0001, which are formed using function DEFTP, have to be filled. They are required in order to be able to compare the interim planned hours and the hours which count towards the maximum daily working time with the specifications in the daily work schedule.

The attendance quotas for the current day (infotype 2007) with subtype 01 and 02 are compared with the time pairs. Which times come into question for overtime depends on the attendance approval. The possibilities are as follows:

  • Specification of a time interval:
  • If there is no time interval specified for the attendance approval, the times before the start of planned working time and after the end of planned working time count as approved attendance times. These times are assigned time identifier 01 (unapproved overtime) by function TIMTP.

  • If there is a time interval, the attendance times within the interval are included in overtime calculation. The time interval can overlap with or encompass the planned working time frame, which can be useful for flextime schedules. Time pairs are split in some cases. Absences and break times are not taken into account for overtime calculation.

  • Specification of a number of hours:
  • If a quota amount (x hours) is entered, a maximum of x overtime hours is determined during the validity period of the quota.

  • If you do not specify a number of hours, only the time interval has to be observed in overtime calculation.

The approved time pairs are passed on to personnel calculation rule TO20 and the following conditions are checked:

  • Overtime is only allowed after the employee has completed the number of planned hours (covered by the basic wage) in the daily work schedule.
  • Overtime is only credited up to the maximum daily working time.
  • The time pairs are sorted in descending order to calculate overtime in the standard system.
  1. Decide whether overtime approvals are granted in the form of quotas in your enterprise. If not, deactivate functions GOT TO20 01 and GOT TO20 02.
  2. Decide which quotas should be processed. Insert function GOT TO20 nn for each quota, where "nn" is the quota type.
  3. Decide whether it is necessary to customize personnel calculation rule TO20. It must be customized if you do not want to validate the maximum daily working time for (special) attendance approvals. Eliminate the queries after TGMAX in personnel calculation rule TO20. To do this, copy personnel calculation rule TO20 to ZO20 and change the name of the rule in your schema.
  4. Decide on the order in which the approved times should be referenced to calculate overtime. Modify parameter 3 of function GOT using ASC, if required. Please see the system documentation on function GOT.
  5. Decide if break times only should be processed in personnel calculation rule TO20. If necessary, insert BRK as the fourth parameter.
  • Time pairs which have already been flagged as overtime pairs with processing type 'M' are passed on unchanged.
  • Absence times (pair type 0 or 2) are passed on unchanged.





Fill RESBD Structure from EBP Component Structure   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 5227 Date: 20240523 Time: 220601     sap01-206 ( 90 ms )