SAP ABAP IMG Activity SIMG_OHT065 (Determine Overtime from Attendance Quotas)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PT (Application Component) Personnel Time Management
     PTIC (Package) HR Time Data: Customizing
IMG Activity
ID SIMG_OHT065 Determine Overtime from Attendance Quotas  
Transaction Code S_AHR_61010199   IMG Activity: SIMG_OHT065 
Created on 19981221    
Customizing Attributes SIMG_OHT065   Determine overtime from attendance quotas 
Customizing Activity SIMG_OHT065   Determine Overtime from Attendance Quotas 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_OHT065    

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

Example

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.

Requirements

  • You have created the attendance quotas.
  • 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.

Standard settings

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.

Recommendation

Activities

  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.

Further notes

  • 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.
  • Please see Define log time type for overtime quotas for further information.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_OHT065 0 HLA0003735 Time Evaluation with Clock Times 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
PSCC L - Logical transport object PE00 TM00 19 Modify Schema: Function PTIP 
VV_511K_B_TGMAX_AL0 V - View SM30 Define Maximum Daily Working Time 
History
Last changed by/on SAP  19981221 
SAP Release Created in