Functions PW1 and PW2 are used to process time tickets in SAP Payroll.
Function PW1 performs the following steps:
- Reads the time ticket data for individual incentive wages, importing only those time tickets:
- Having payroll indicators with a value of 1
- Which are not locked
- Whose posting date is within the recording period.
- Reads the account assignment splits for work center, cost center, and employee subgroup grouping for personnel calculation rules for each time ticket.
- Valuates the time tickets according to the personnel calculation rule that is entered as the parameter.
Function PW2 performs the following steps:
- Reads the time ticket data for individual incentive wages, importing only those time tickets:
- Having payroll indicators with a value of 2
- Which are not locked
- Whose posting date is within the accounting period.
- Reads the group results.
- Enters the group result in the labor utilization rate field of the time ticket (this takes place temporarily so that calculations can be performed and is not written to the database).
- Calculates the target time from the actual time on the respective time ticket and the group result, and enters it in the appropriate time ticket field.
- Reads the account assignment splits for work center, cost center and employee subgroup grouping for personnel calculation rules for each time ticket.
- Valuates the time tickets according to the personnel calculation rule that is entered as the parameter.