Ansicht
Dokumentation

SIMG_OHT047 - Adjust Absence Data

SIMG_OHT047 - Adjust Absence Data

CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

If there are partial-day absences for the employee, you must check whether the absence and attendance data match time-wise. If they do not, the system displays an error message or adjusts the absence relative to the attendance.

  • An employee is at work until 1.30 p.m. A doctor's appointment has been entered for him/her as of 1.00 p.m. The system adjusts the time pairs so that the "doctor's appointment" absence begins at 1.30 p.m., and displays a message.
  • An employee is at work until 1.00 p.m. A doctor's appointment has been entered for him/her as of 1.30 p.m. Since there is a period of time between attendance and absence which is not documented, the system displays an error message.
  • An employee is at work until 1.20 p.m. A doctor's appointment from 1.30 p.m. is recorded. The time between the end of the attendance and the start of the absence is within the tolerance interval. The start of the absence is brought forward to 1.20 p.m.

If there are overlaps, partial-day absences are adjusted as shown in the example.
If there are less than 20 minutes (end tolerance) between the end of the attendance and start of the absence, the start of the absence is adjusted to be identical to the end of the attendance.
If the absence is before an attendance, there is a start tolerance of one minute between the end of the absence and the start of the attendance.
If attendance and absence do not overlap even when the tolerance intervals are taken into account, the system displays an error message.

If a full-day absence is entered for the employee but he/she is in fact at work, the time pair with the time identifier "overtime" (unapproved) is assigned.

Customize the tolerance limits to suit the requirements of your enterprise.

  1. Decide upon tolerance ranges within which the start or end of the absence should be extended to be the same as the end or start of the attendance.
  2. Copy personnel calculation rule TE10 to ZE10.
  3. In operation INSTPA2001, change the figures 20 and 01 to the value of the end tolerance or start tolerance. Specifications are in minutes.
  4. Change the name of personnel calculation rule TE10 to ZE10 in the
    schema.

If you want to use error codes other than those in the standard system or set different rules for adjusting absences of less than one day, you must make further modifications to personnel calculation rule ZE10. Please refer to the documentation on TE10.






CPI1466 during Backup   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 3061 Date: 20240523 Time: 204117     sap01-206 ( 68 ms )