
The results of time evaluation can be supplied to SAP Payroll or a third-party payroll system.
The time wage types in tables ZL, ALP and C1 (Cluster B2) form the interface between time evaluation and payroll. If time wage types have already been formed in the course of time evaluation, SAP Payroll imports them from cluster B2 and valuates them. The time data for days in the payroll run that have not been processed by time evaluation is evaluated in Payroll according to the TC00 or TC04 schema.

The results of time evaluation are stored by time management period in cluster B2.
You can determine regulations in the schema that relate to the end of the payroll or time evaluation period.
The time evaluation and payroll periods do not have to be the same length, since payroll processes the data it requires irrespective of the time evaluation period.
For more information, see the Implementation Guide for Personnel Time Management and choose Time Evaluation→General Settings→Determine Time Evaluation Period.

Payroll performs day processing for the time data for days that have not yet been processed by time evaluation. Day processing is carried out for the remaining days in the payroll period on the basis of the planned specifications and any infotypes that have already been entered. The aim of day processing in payroll is to select time wage types.
The internal tables ZL, C1, and ALP represent the interface between time evaluation and payroll.
ZL contains the time wage types
C1 contains the data relevant for cost assignment
ALP contains information for a different payment
The ZL table contains only the number of hours per time wage type; amounts are not calculated until the payroll is run.
If the payroll is run before the end of the time evaluation period, time evaluation passes on only the time wage types generated up to this point. For the rest of the payroll period, payroll generates time wage types on the basis of the work schedule and any existing time management infotypes for the period that has not been evaluated.
If payroll generates time wage types, it sets a retroactive accounting indicator in the Earliest MD change field in the Payroll Status infotype (0003). This is done only if the employee takes part in time evaluation (Time Management status other than 0).

If time infotypes such as absences or attendances are recorded for a past payroll period that has already been accounted, time evaluation can set a retroactive accounting run in the Earliest MD change field in the Payroll Status infotype (0003).
The following conditions must be fulfilled for time evaluation to set a retroactive accounting run for payroll:
The relevant time infotypes must be flagged as relevant for retroactive accounting for time evaluation
The CHECK function must feature in the time evaluation personnel calculation schema with RPR as the value of parameter 2
Hint
You can use the CHECK function with parameter 3 = MACO to instruct SAP ERP to set the matchcode W for a retroactive accounting run if payroll is running or in the correction phase.
If you run payroll before the end of the payroll period and you use the MACO switch, this may result in delays in completion of payroll, since the W matchcode is constantly refilled.
For more information, see the Implementation Guide for Personnel Administration and choose Customize Procedures→Infotypes→Define Field Relevant for Retroactive Accounting..

In payroll, time evaluation is called in the personnel calculation schema XT00, or in the relevant country-specific standard personnel calculation schema (for example, UT00). The XT00 personnel calculation schema is an international personnel calculation subschema of X000.
The DAYPR function calls a subschema with parameter 1 (TC00 or TC04). The main task of the subschema is time wage type selection. DAYPR ensures that the schema is processed once daily for each employee. If PDC is specified as the value of parameter 2, the DAYPR function takes the results of time evaluation into account.
Additional time-related functions in the gross part of payroll:
Absence valuation (PAB function)
Shift change compensation (X064 personnel calculation rule)
Valuation bases for different payments (PALP function)
Transfer of time data from ZL to IT (ZLIT function)

The steps and rules according to which day processing handles time data in payroll are set in the TC00 or TC04 schema.
The main task of TC00 and TC04 is time wage type selection. The same process is used to determine time wage types for planned work and overtime in the Time Wage Type Selection Rule view (V_T510S) and the GWT function as for day processing in RPTIME00.
In payroll, you have the same options as in time evaluation for maintaining time data in the TIP table and forming your own regulations within day processing of time data. Only time evaluation functions and operations are used for day processing. You use the TMOD personnel calculation rule to set the same groupings for table accesses as in the TM01 schema for initialization.
The option of managing time balances and maintaining quotas is unique to time evaluation. The POVT function in the TC04 (or TC00) schema only generates time wage types; it cannot form balances or update quotas.
For all days that have not been processed by time evaluation, all times within the planned working time period become planned work and all times outside the planned working time become overtime in TC00 or TC04.

The ZL table also serves as the interface between time evaluation and a third-party payroll system.
The export program retrieves the data from the internal table ZL in cluster B2 to supply the third-party payroll system. The wage types are written to a sequential file, which can then be imported into the third-party system. If there is a retroactive calculation, the difference between the wage types already exported and the new wage types is written to the sequential file.
The third-party payroll system uses the IFTYP to determine whether the wage type is a planned, overtime or absence wage type.
The Interface Toolbox transaction (PU12) is used as an export program. The interface format "TIME" is used as a reference. To access the interface toolbox from the menu, choose Human Resources→Time Management→Administration→Environment→Third-Party Payroll.
If the time evaluation period is identical to the payroll period, you can use the RPTEZL00 report as an alternative method of supplying the third-party payroll system.
For more information, see the Implementation Guide for Personnel Time Management and choose Time Evaluation→Integration with Payroll→Prepare Payroll Using a Third-Party System.