!--a11y-->
Purpose
The payroll program is run at a specific point in time, not only to calculate an employee’s basic remuneration but also any special payments, overtime payments or bonuses that must be effected for the period in question. You can follow the procedure of payroll directly in dialog mode.
Payroll in dialog mode is particularly suited to
simulate a payroll run for an individual payroll area or individual personnel numbers.If you do not want to perform payroll for an employee you can use the function
Lock Personnel Number.Prerequisites
The System carries out payroll for the country groupings and the payroll area, which are specified under Tools
® Set modifiers ® Country Grouping/Payroll Area. If you want to execute a payroll run for several payroll areas at the same time, you must release each payroll area individually- release individually.Process Flow
The System increases the period number in the payroll control record by 1. You cannot change the infotypes for personnel numbers, which belong to this payroll area, if it affects the payroll past or present. Changes affecting the future are still possible.
The system calls up a country specific payroll program. It determines the current payroll period from the payroll control record and performs payroll using the values you entered in the payroll program.
During this phase, you can no longer change any data which is related to payroll, and which will affect present or past payroll information. The payroll area in question is also locked for payroll; in other words, you cannot start a payroll run.
The R/3 System includes a report program that reads and checks the stored payroll results. The report allows each employee to see the contents of all internal tables containing payroll results. This allows you to check all partial results for a payroll run and determine the point during the payroll run when an error occurred.
During the payroll run the R/3 System flags the Payroll Correction field in the Payroll Status infotype (0003) for all rejected personnel numbers. When you correct master or time data for a personnel number this field is also flagged. These personnel numbers are grouped together in a list under matchcode W. In payroll with matchcode W, payroll only takes place for the corrected personnel numbers.
The payroll period does not change.

You can only end payroll when the payroll has run successfully for all personnel numbers in the selected payroll area. This means that payroll is finished for all of the personnel numbers in the payroll area, including the rejected personnel numbers, and the payroll period is complete.
Result
You have run payroll for all the personnel numbers in a payroll area.
You can carry out the following steps in the payroll
