Symptom
Unable terminate an employee in Personnel Administration. Upon trying to terminate the employee, system throws an exception:
An error occurred. Please try resuming your work. If you still face issues, report an incident.
500 SAP Internal Server Error
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Personnel Administration work center
- Go to Regular Tasks view
- Select Country XYZ (where XYZ represents the Country)
- Select the link Terminate Relationship with Employee
- In the Employee field, select Value Help and find Employee ID
- Select the Last Working Day DD.MM.YYYY
- Choose the Termination Category
- Choose the Termination Reason
- Select Save
- System throws an exception
Cause
This Employee is the Org Unit Manager for multiple Orgs Unit in the Org Structure. If his/her manager assignment is higher than the last working day (Terminiation date) then the termination will fail. Because the Manager assignment is on/after the termination date.
Resolution
Adjust the manager assignment (org unit manager validity) to a date which less/equal to the termination date. Once the changes are performed in the respective org units, activate the Org unit with below steps,
- Go to Organizational Management work center
- Go to Org Structures view
- Select the Edit button
- Enter the effective date
- Select the Org Unit
- Select the Activate button and select Activate All
After activating the changes then try terminating the Employee
Keywords
Organizational Management ,Terminate Relationship with Employee ,Org Unit Manager , KBA , AP-OM , Organisational Management , How To