SAP Message 01340 - Role assignment for user &1 not completely deleted

Diagnosis
It was not possible to delete the role assignments for user &v1&.Possible reasons for this are that:

  • Some roles were locked

  • Some roles no longer exist
  • Procedure
    If you have deleted the user, you can remove the role assignments thatstill exist for this user by starting transaction PFUD with the defaultselection in the affected child system, &v2&.
    If you have scheduled the report PFCG_TIME_DEPENDENCY daily as abackground job, these assignments are automatically deleted.
    If you are working with a variant of report RHAUPTD_NEW, ensure that the"Cleanups" processing mode is selected.