Ansicht
Dokumentation

OHTY008 - Import Work Schedule and Time Events

OHTY008 - Import Work Schedule and Time Events

Addresses (Business Address Services)   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

In this step, you set up the functions that are used to load the daily work schedule and to import the time pairs generated from the day's time events to table TIP. The system presumes that clock times are not used for the TIP entries that are generated from the day's time events. Only durations (using rules of the form 'after x hours') are used in the evaluation.

The time evaluation report should be run for all employees regardless of whether you record their actual times, or only exceptions from their planned working times. Recording actual times involves recording all hours worked by an employee and all absences. The daily work schedule is taken as a basis in the other case, and only exceptions from it are recorded.

Function P2011 is used to import the daily work schedule and the time pairs formed from the day's time events for employees assigned the Time Management status '1' or '2' in the Planned Working Time infotype (0007). The Time Management status '1' or '2' is determined using function IF POS.

If an employee is assigned the Time Management status '9', the system only imports the daily work schedule, and generates a time pair based on the normal working time, which is valuated for the employee as attendance time.

  1. Decide whether the schema should support both methods of time recording (recording actual times and recording exceptions). If you only use one method, the IF condition is not applicable.
  2. If you generate a planned working time pair using function P2000, you can print its start and end time on the time statement form. Insert parameter SAVE in function P2000.
  1. If you just use one method of time recording, you may also be able to use only one of the values '1' or '9' for the Time Management status. The section Set controls explains how to limit the options for time evaluation using function CHECK.
  2. A planned pair based on the daily work schedule is generated only on days of day type 0 (non-working days) in the standard system. On days of type 1 (paid, non-working days), the pair is generated in personnel calculation rule TE20, see Check for days with errors.
  3. IF you do not process time events from a time recording system, function P2011 only imports the daily work schedule. For further information on function P2011, see the section Import work schedule and time events.
  4. If you permit attendance and absence reasons for the time events, you can process them by incorporating personnel calculation rules TD80 and TD90 in the schema:

    PTIP TD80 GEN Process attendance and absence reasons
    ACTIO TD90 Process generated locked records

    Insert these lines after the attendances and absences have been imported, that is, after functions P2001 and P2002. For more details on the processing of attendance and absence reasons, see the sections:

  1. When time events are used, TIP entries that have been formed from time events may overlap with other time data that has been recorded with clock times. If you want to process this situation, incorporate the personnel calculation rule
    PTIPA TE10 GEN Adjust absences
    in your schema after all time data has been loaded.





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

Length: 4147 Date: 20240607 Time: 125340     sap01-206 ( 79 ms )