21.12.10

SAP Note 15083 - Assignment to previous day in pair formation

Symptom:

RPTIME00,SAPLRPPD
If an employee clocks in before midnight and clocks out after midnight, in some cases the CLOCK OUT entry is not assigned to the previous day. Instead, the system generates an open pair with status 'clock-out missing' and a open pair for the following day with status 'clock-in missing'.
This occurs most often for employees with day program 'OFF'.
Nov. 9th, 1998: This note also applies to Releases 3.X, but not to
4.X Releases.

Cause and prerequisites

Assignment to the previous day functions correctly but is not easily understood by the user. For this reason, the procedure is described in the following.

Solution

The following conditions are checked in sequence. It is of no importance whether the current entry is a clock-out entry or some other kind of entry.

Case 1: The employee was absent (does not correspond to the symptom above)
    1. Entry after 6:00 am and at least 10 hours after the end of the shift --> next day
    2. Entry max. one hour after end of shift --> previous day
    3. Entry max. one hour after last entry --> previous day
    4. None of these three conditions are fulfilled --> next day

Case 2: Employee was present or working off-site (corresponds to symptom above)
    1. Entry max. three hours after last entry --> previous day
    2. Entry max. three hours after end of shift --> previous day
    3. Last entry before end of shift
      a) Current entry after 8:00 am --> next day
      b) Current entry produces an error when checking the attendance status ("clock in to clock in") --> next day
      c) according to status A02 in table T705B:
    • Employee was present:
      no entry --> previous day
      1st digit of return code = '0' --> previous day
      1st digit of return code = '1' --> next day
    • Employee was working off-site --> next day
      no entry --> previous day
      3rd digit of return code = '0' --> previous day
      3rd digit of return code = '1' --> next day
    4. Last entry after end of shift
      a) current entry max. 10 hours after last message --> previous day
      b) current entry at least 10 hours after last message --> next day
If the employee's day program is OFF, both begin and ending time are both estimated as a standard to be 00:00. This can be overridden, in which you assign the return code '1' to the status A03 in the table T705B: then the end time will be estimated at 24:00.

The constants for time and hours are defined in Include RPTDPD10 and should not be changed: situations where a time event is not assigned to the previous day are usually the exception (employee has the day off but works beyond midnight and works more than 10 hours). In this case, the hours should be assigned to the previous day manually.

No comments:

Post a Comment