cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to restore deleted custom roles in SAC

VirajSaha
Participant
0 Kudos
1,049

Hello Experts,

We accidental deleted a custom role assigned to a bunch of users. For most of the users were assigned to a team and this is the only role mapped to their profile. Our power users are quite advance in terms of working on SAC. They create and save their own objects. In short it will be a big setback for them if, their content gets deleted.

  • Is there a way to restore deleted objects/ roles in SAC?

Note: We tied to find SAP notes on this topic. No luck.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

DebjitSingha
SAP Champion
SAP Champion

Hello viraj_saha,

There are no backup option available in SAC. If you have multi tenant setup you can migrate object between tenant to address this requirement.

Although if you delete role from SAC, users remain intact. They do not get kicked out. Users just looses privilege's (from deleted roles). In your case - if a user used to have one role, user will still remain in SAC with out any rights to do anything.

Beside unlike other SAC objects (stories, models, widgets) roles are not mapped based on system ID. Instead they are mapped (to users/ teams) via technical name of the role. What this means, if you can recreate another role with the same name and assign it back to same users/ team - you should be able to restore access back (as before).

If find above info helpful, feel free to up-vote and accept this answer. This will help grow knowledge based and my help others looking for similar solution.

Viewers - If you find above information helpful, feel free to up-vote.

Thanks,

Debjit

VirajSaha
Participant
0 Kudos

Thanks Debjit.
we can see users in the system and their personal objects are intact as well. Upon checking our BI licenses, we found that count is still the same (as you mentioned).

Though users are not able to access their own objects. Can you suggest why?

DebjitSingha
SAP Champion
SAP Champion
0 Kudos

Please check menu>security >user menu. Specifically check the roles column. You may have license column populated by empty roles.If it is empty then you need to assign newly recreated role.
Here is how SAC behaves on role assignment-

License column is read only and gets updated based on your role selection. So you assign a planning admin role, you end up seeing Planning Professional under license column.

Now when roles are deleted ( not from user menu, as system will not allow to save), say like your scenario : system deletes the role and leaves the license untouched. This is by design. Reason why you didn't see a dip in license count. This way user remain in the system.

Let us know if you encounter any issue after reassignment of role.

DebjitSingha
SAP Champion
SAP Champion
0 Kudos

Has your question been answered correctly? If so, it is much appreciated by the community if you clicked "accept" on the answer which helped you the most. For more information please see this tutorial: Ask and Answer Questions on SAP Community

VirajSaha
Participant
0 Kudos

thanks! for your help and explanation.

Answers (0)