Show TOC

 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.

Caution Caution

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!

End of the caution.

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 Start of the navigation path Human Resources Next navigation step Personnel Management Next navigation step Administration Next navigation step HR Master Data Next navigation step Maintain End of the navigation path .

  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 Start of the navigation path Utilities Next navigation step Change payroll status Next navigation step . End of the navigation path

  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 Start of the navigation path Utilities Next navigation step Delete personnel number End of the navigation path .

  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 Start of the navigation path Edit Next navigation step Select all End of the navigation path 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 Start of the navigation path HR master data Next navigation step Delete End of the navigation path .

  14. To delete the personnel number completely, choose Start of the navigation path HR master data Next navigation step Delete End of the navigation path 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.