SAP ABAP IMG Activity SIMG_OHT058 (Indicate Planned Working Time Pairs)
Hierarchy
☛SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR ⤷PT (Application Component) Personnel Time Management ⤷PTIC (Package) HR Time Data: Customizing
Hypertext: Object Class - Class to which a document belongs.
Document Name
SIMG_OHT058
This step explains how the system determines the planned working times from the available data. The system checks that only pairs within the maximum working time are flagged as planned time pairs. You can specify how the system should react if the maximum daily working time is exceeded. The maximum daily working time is either defined in the daily work schedule or taken from the constant table.
Example
You wish to assign the time identifier overtime (unapproved) to time pairs which exceed the maximum daily working time.
Requirements
Function TIMTP must be processed to determine time types.
A new processing type "S" (planned working pair) is assigned to all time pairs within the maximum daily working time with processing type "A" (planned working pair: absence) or "P" (planned working pair: attendance). Time pairs which exceed the maximum daily working time retain their time identifier.
Recommendation
Activities
Decide which time identifier you wish to assign to time pairs which exceed the maximum daily working time.
In function DEFTP, enter the required time identifier as the second parameter.
If you have not set a maximum daily working time in the daily work schedule, set the maximum daily working time as a constant for all daily work schedules.
Further notes
The function also fills two time types:
0000 Interim planned working time
0001 Interim attendance time during planned working time The time types are determined on the basis of the processing type assigned by function TIMTP.
The times of all pairs with processing type "A" or "P" which have become planned working time pairs are cumulated in time type 0000.
The times of all pairs with processing type "P" which have become planned working time pairs are cumulated in time type 0001. Both time types are used in determining overtime and shortening absences.