SAP Message 5O652 - Last personnel action is not leaving or inactive: & & & &

Diagnosis
The system saved the following personnel actions:
Start date &V3&, End date &V4&, Personnel action &V1&, Employmentstatus &V2&.
In the most recent, valid personnel action in Actions infotype(0000), the employee has an employment status other than Leftcompany or Inactive.
In order to record data in Specification When Leaving A infotype(0527) for a particular employee, you must have carried out the actionLeaving (or the action for an inactive employment relationship).

System Response
The system cannot record any data in Specification When Leaving A
infotype 0527.

  • Case 1

  • You want to record data in Specification When Leaving A infotype0527. However, you have not carried out the action Leaving.
    Carry out the personnel action Leaving and save the record forActions infotype (0000). Afterwards you can record data inSpecification When Leaving A infotype 0527.
    • Case 2

    • You want to to change or record leaving data relevant to pay for anemployee who has reentered your company. You want the system tocalculate the pay retroactively:
      Change the data record you created at the time of leaving forSpecification When Leaving A infotype 0527 or change theequivalent wage types in Additional Payments infotype 0015.
      • Case 3

      • You have already carried out the personnel action Leaving andthen completed a second action. The employee now has an employmentstatus other than Left company or inactive.
        Delete the personnel actions you had already carried out, record thedata in Specification When Leaving A infotype 0527. Then carryout the deleted actions once again.