What is Matchcode W in SAP HR?
โก Smart Summary
Matchcode W in SAP HR is a special selection variant that reruns payroll only for employees whose master data has changed. Instead of reprocessing the entire payroll area, it targets the few changed personnel numbers, saving significant time.

What is Matchcode W in SAP HR?
Let us say you have run the Payroll for a particular month for all employees (say 1,000 employees in all) for a given payroll area. Once the payment is run, let us say there are some changes made in Master Data (basic Infotypes like 0014, 0015, 0008, etc.) for 10 employees.
Now it is imperative to re-run the payroll for these 10 employees. However, using the conventional payroll mechanism, SAP will process data for all 1,000 employees in the payroll area, which is time-consuming.
Need a way out? The answer lies in Matchcode W! When you select Matchcode W and run payroll, the system will only process the 10 employees whose data was changed, and the others will not be processed a second time, as there is no change in their data. It picks up the employees based on the changed date of the earliest master-data change in SAP Infotype 0003.
Steps to Run Matchcode W in SAP HR
Step 1) Go to the payroll driver for any country using PC00_MXX_CALC โ where XX is the Molga of the country.
Step 2) At the top-right side, you will have a search help button. Click on it.
Step 3) Select Variant โ W.
Step 4) An additional screen is displayed, which can be used to further restrict the selection of employees with a Master Data change (10 in our above example). This screen is optional and can be bypassed.
Step 5) Execute the payroll.
Benefits of Using Matchcode W
Matchcode W offers clear advantages when only a small number of employees need their payroll reprocessed:
- Saves processing time: Only the employees with changed master data are reprocessed, instead of the entire payroll area.
- Reduces system load: Skipping unchanged records lowers the load on the SAP system during payroll runs.
- Fewer errors: Reprocessing a focused set of records reduces the risk of unintended changes to correctly paid employees.
- Faster corrections: Last-minute master-data changes can be paid quickly without waiting for a full payroll rerun.



