Programme SAP REHS_CHECK_IAL_ABSENCE - Check and Correct Absences in Incident/Accident Log

Purpose
If the validity interval of anabsence in SAP TimeManagement was changed, the key for the data record changes. Thismeans that incident/accident log entries that use these absencesreference absences that no longer exist.
With this report program, you can check for a specified time periodwhether the validity interval of absences that are still used in theincident/accident log was changed in Time Management. A list ofaffected incident/accident log entries is produced. If you have made therequired settings in the selection screen for the report, the systemcorrects the assignment of the absences in the incident/accident logautomatically. In cases that are not clear and therefore require manualcorrections, the system sends a message to the person responsible forprocessing the accidents.
Note that the program does not change any data in Time Management
.
SAP recommends you schedule the program regularly as a background job.

Dependencies
REHS_CHECK_IAL_ABSENCE is used by the report programREHS_IAREP_DATA_DETERMINE (DataDetermination for Period-Based Accident Reports).

Prerequisites
You are using integration in SAP Time Management inincident/accident management when you record absences.

Selection
Specify the time period for which you want to run the check.
So that the system can reassign the changed absences in theincident/accident log, you must set the Correct automaticallyindicator. Note the following:

  • The system corrects only those absences where the validity interval was
  • changed in Time Management. To do this, it searches in Time Managementfor absences that fulfill the following criteria:
    The absence type and sequence number is the same as the old absence thatis still used in the incident/accident log
    The absence exists at the start date of the old absence that is stillused in the incident/accident log
    If the system finds only one absence, it assigns this absence in therespective incident/accident log entry.
    If the system finds more than one absence, it rejects all those that liebefore the start date of the old absence. If only one absence remainsafter this, it assigns the absence in the respective incident/accidentlog entry. If reducing the results in this way does not produce a clearresult, the system does not make any changes in the incident/accidentlog. Instead, it displays a list of the incident/accident log entriesthat contain absences that no longer exist. The user can then choose oneof the following options in the respective incident/accident log entry:
    Assign a different absence from Time Management
    Create a new absence
    To automatically inform the person responsible for processing theaccidents, you must set the Send message to person responsibleindicator on the selection screen. This means that the last person tochange the person-specific data of an incident/accident log entryreceives a message in his or her office inbox containing a list of theincident/accident log entries in which absences are used that no longerexist.