Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Role Deleted - Profile remains on User record

Former Member
0 Kudos

All -

We currently have a situation where users still have a profile assigned to them even after the role was removed and later deleted.

We had a number of custom roles deemed obsolete. Consequently, these roles were deleted. All users were removed from these roles before they were deleted. In looking back at the users, the profile for the now deleted role still exists on the user record. We run PFUD nightly but this has not resolved the issue that some users have non-generated and non-valid profiles on their user master record. Please advise if there is a way to resolve this inconsistency.

Thanks,

Marnie

5 REPLIES 5

mvoros
Active Contributor
0 Kudos

Hi,

PFUD works only for roles. I would suggest to identify all orphaned profiles which need to be deleted. You can try to use reports from SUIM. After that you can remove identified profiles from users using SU10. And if you want to get rid of those profiles completely, you can delete them manually. Unfortunately, there is no report for mass deletion of profiles. You need to write your own report. Mass deletion of profiles has been discussed here on Security forum.

Cheers

Former Member
0 Kudos

I would remove them manually. How many users are there with old manual profiles?

Removing the profiles themselves for good you can do easily, but there is no standard program for a mass deletion.

If you are 100% certain that you can remove the profiles without any impact, then you can remove the check on the assignment.

Deleting them in Su02 will make this check though.

Cheers,

Julius

Former Member
0 Kudos

Hi , If you want to delete roles and profiles for mass customers , Use SU10 . In the SU10 Tcode , enter all the users and then in the roles tab , enter all the roles you want to delete frm the users.

Now in the VALID FROM column , give date as 01.01.1900 . Now tick the CHANGE tab and execute it. All the roles along with the profiles would be deleted from the users.

We have tested this and it works for us.

Regards

Punit

Former Member
0 Kudos

Thanks for all the responses. But to clarify, these are not manually created profiles. They were at one time associated with a role. The role was deleted but in some rare cases the profile remained on the user record even though the role was removed. As we run PFUD daily, this generally does not happen. But, we have found some instances where there are orphaned profiles still on the user record. SUIM has not been helpful because according to the system the profile no longer exists.

Thanks for your help!

Marnie

0 Kudos

> SUIM has not been helpful because according to the system the profile no longer exists.

Try run report AGR_MASS_STAR_0_PROBLEM.

Cheers,

Julius