Transfer to Human Resources 

Use

When you transfer records from the Time Sheet or an external time recording system to Human Resources, you are supplying this component with attendance and absence data, and data on employee remuneration and substitutions. The transferred data is then available for transfer to Payroll for further processing. You transfer the data using report RPTEXTPT (Transfer External Data ® Human Resources).

Report RPTEXTPT transfers data from the interface tables PTEX2000, PTEX2010, PTEX2003GEN, and PTEX2003SPEC to the corresponding infotypes Attendances/Absences (2002/2001), EE Remuneration Info (2010), and Substitutions (2003) in Human Resources.

You cannot use the Time Sheet to supply the Substitutions infotype (2003).

To ensure that Human Resources is always provided with the most up-to-date time data, you should schedule the report to run daily.

To call the report, choose Time sheet ® Transfer ® Human resources.

Prerequisites

Data from the Time Sheet is ready for transfer to Human Resources when it is assigned the processing status 30 (Approved).

Integration

If you enter data using an external application, insert BAPIs ensure that the data is converted as required. These insert BAPIs belong to the business objects PTManagerExtAttAbs, PTMgrExtRemunSpec, or PTMgrExtWoSched. The BAPIs take data with a predefined external format and convert the fields into the SAP internal formats of structures PTEX2000, PTEX2010, or PTEX2003GEN/PTEX2003SPEC. In addition, the PTEX20xx-UNAME1, DATUM1, UZEIT1, PGMID1 fields are filled with the user name, date, time, and program, ensuring that the process is documented, and the PTEX20xx-STATU2 and PTEX20xx-STATU3 status fields are reset. These status fields are used to transfer the record to the infotype.

If you use the upload report RPTEX2010, you should coordinate this with the data transfer report. The same applies if you use BAPIs for the upload.

Features

You can run the report in three different modes. The mode determines the how the data is transferred:

This is the standard mode if you schedule the report as a background job. The report runs immediately; the posting is performed via transaction PA61.

The report runs immediately, displaying all the screens active for the transfer. You would want to select this mode in combination with the Repeat transfer option if errors occurred during the first transfer, for example.

If some records could not be transferred, you should select this mode and the Repeat transfer option. The report runs immediately and displays any records that could not be transferred.

If you choose this mode, the system writes the data records that are to be posted directly to the corresponding infotypes. Unlike the other modes, the posting is not performed via transaction PA61, but instead using a function module. Posting is significantly quicker when you use this mode.

You cannot use this mode in combination with the Repeat transfer option.

Selection

The following selection options are available for selecting data for transfer:

Option

Meaning

Initial transfer

You select according to personnel number and date. The report transfers data that has not previously been transferred.

Repeat transfer

You want to transfer records that could not be successfully transferred during the initial transfer again. Incorrectly transferred records are records which could not be posted to Human Resources. Select this option in combination with either the Error or Foreground mode.

If you correct errors from the report itself, the data in the time recording system is no longer consistent with the changed data that is transferred to Human Resources.

Transfer/ delete

You want to transfer records and delete them from the relevant interface tables as soon as they have been transferred. The system only deletes records that are flagged as transferred. If you also want to delete locked data, select the relevant option.

Only delete

You only want to delete the data from the interface tables that has already been transferred. The system only deletes records that are flagged as transferred. If you also want to delete locked data, select the relevant option.

Lock/unlock

You want to exclude some data from the transfer run. This is the case, for example, if you do not want to correct the records containing errors in the source system but would rather enter them manually in the SAP System. You can lock the records containing errors in the interface tables. Select the records you want to lock and choose the locked padlock icon.

To unlock the locked records, select them and choose the unlocked padlock icon. The records are then once again ready for transfer.

In addition to selecting by personnel number and date, you can select according to the data containing errors, new data, and locked data.

You cannot use this option for posting substitutions.

In addition, you must specify which infotypes you want your records to supply: Attendances/Absences (2002/2001), Substitutions (2003), EE Remuneration Info (2010). Select the options you require.

You cannot use the Time Sheet to supply the Substitutions infotype (2003).

Additional options are:

Output

Once the transfer is complete, the report generates the standard log. You can use the log to see which data was transferred and how many records generated errors during transfer. If you have also selected the Log option, the log contains additional detailed information.

If a record collides with a record in Human Resources, you must verify which record is the correct one. Correct or delete the incorrect record accordingly. This situation may arise if the Human Resources record was created after the record in the source system.

If a record in the source system collides with an HR record and the HR record was created first, proceed as follows: