SAP ABAP IMG Activity OHTX0404 (Calculate Overtime on the Basis of General Periods)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PT (Application Component) Personnel Time Management
     PTIM (Package) HR Time Management Application Development
IMG Activity
ID OHTX0404 Calculate Overtime on the Basis of General Periods  
Transaction Code S_AHR_61016467   (empty) 
Created on 19990318    
Customizing Attributes OHTX0404   Overtime Analysis for General Payroll Periods 
Customizing Activity OHTX0404   Overtime Analysis for General Payroll Periods 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHTX0404    

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:

  • A different framework for the week
  • The employee's working week
  • Periods of your choice. You define the length of the periods by storing a period parameter in the Payroll Periods table.

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 specify the planned working time in the daily work schedule.
  • Average values for the daily, weekly, and monthly planned specifications are defined in the work schedule rules.
  • You can also store planned specifications in the Payroll Constants view (T511K).

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.

Recommendation

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.

Further notes

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 OHTX0404 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
PCYC L - Logical transport object PE00 TPP3 Modifiy Personnel Calculation Rule TPP3 
PCYC L - Logical transport object PE00 TPOD Modify Personnel Calculation Rule TPOD 
PCYC L - Logical transport object PE00 TPP6 Modify Personnel Calculation Rule TPP6 
PCYC L - Logical transport object PE00 TPP7 Modify Personnel Calculation Rule Tpp7 
PSCC L - Logical transport object PE00 TPOP Modify Schema TPOP 
PSCC L - Logical transport object PE00 TM00 Modify Schema: Function COPY TPOW 
V_T555A V - View SM30 11 Create and Check Time Types 
History
Last changed by/on SAP  19990519 
SAP Release Created in