Deleting Personnel Numbers for Which Payroll has Run in a Test System 

Use

You can delete a personnel number and at the same time delete all the data that is stored in the system for this employee.

To avoid data inconsistencies, you must only delete personnel numbers in the test system. If payroll has already been performed for the personnel number in the productive system, you cannot delete the personnel number under any circumstances!

When you delete a personnel number, the system checks to see whether the Accounted to field has been filled in the Payroll Status infotype (0003). If there is an entry in this field, you will receive an error message when you try to delete this personnel number. You can only delete a personnel number that has already been included in a payroll run after you have deleted the entry in the Accounted to field in the Payroll Status infotype (0003).

Procedure

  1. From the SAP Easy Access screen, select Human Resources ® Personnel Management ® Administration ® HR Master Data ® Maintain.
  2. This takes you to the initial maintenance screen for HR master data.

  3. Enter the personnel number that you want to delete.
  4. Select Utilities ® Change payroll status.
  5. This takes you to the Payroll Status infotype (0003).

  6. Delete the entry in the Accounted to field.
  7. Choose Save.
  8. You return to the initial maintenance screen for HR master data.

  9. Choose Utilities ® Delete personnel number.
  10. You branch into the Delete Employee Data screen. The system will display the employee’s most important data and all the infotypes that have been maintained for this personnel number.

  11. Choose Edit ® Select all to select all of the listed infotypes.
  12. The Delete personnel number function is not suitable for deleting individual infotype records for a personnel number because this function does not take the infotype’s time constraint into consideration, nor does it consider whether deleting the infotype will affect payroll. The time constraint of the infotypes and the possible effects caused by deleting a personnel number on payroll are not taken into account in this function.

  13. Choose HR master data ® Delete.
  14. To delete the personnel number completely, choose HR master data ® Delete again.

Result

You have deleted the personnel number that had already gone through payroll and all the data attached to this personnel number in the system.