09-25-2016 6:00 AM
Hello Friends,
I have almost 800 composite roles and I need to delete a single role from them but the problem is this single role is positioned at different places in a ll the composite roles . Can you please tell me the way to do this ? through script or download - upload option ?
09-27-2016 5:12 AM
Hi Abhishek,
You can delete 1 Single role from the Composite Role,
PFCG -----> Role Name Edit -----> Role
Select ------> Delete Node
Is you want this...? Let me know am i right or not ?
Regards,
Sajmal
09-26-2016 8:11 AM
Hi Abhishek,
You can try to download the role --> delete it in PFCG - a pop up will show you all composite roles where it will be deleted from - upload the role again.
Kind regards,
Martin
09-26-2016 6:59 PM
Hi Abishek,
As you have noticed the positioning is the hard part when trying to automate stuff.
I always do this the following way:
Hope this helps.
Jurjen
09-27-2016 12:11 AM
the other part to consider is if composite menus have been maintained. Might need another step
09-27-2016 1:19 AM
Hi Jurgen
Thanks for your suggestion ,the only point I was thinking is if we can add the single roles in a composite role where in single roles are at different position why not delete the single role from the composite role
09-27-2016 7:39 AM
Abhishek Singh wrote:
Hi Jurgen
Thanks for your suggestion ,the only point I was thinking is if we can add the single roles in a composite role where in single roles are at different position why not delete the single role from the composite role
For me that's because I will always add the new single role in the top row. That way you do not have to bother navigating around in the screen.
09-27-2016 7:39 AM
09-27-2016 5:12 AM
Hi Abhishek,
You can delete 1 Single role from the Composite Role,
PFCG -----> Role Name Edit -----> Role
Select ------> Delete Node
Is you want this...? Let me know am i right or not ?
Regards,
Sajmal
09-27-2016 5:26 AM
THanks Sajmal for ur response but this is not what I am looking for ,I have 800 composite role from which I want to delete one single role ,I cant even directly download ,delete and upload the single role since creation date will be changed for role.I would rather prefer a script to do the same .
The only concern is if we can add a single role in multiple composite roles where singlre role resides at different position ,then why not delete the single roles which are at differenr position in different composite roles
Regards
ABhishek
09-27-2016 5:43 AM
Hi Abhishek,
More than one Composite Role,
The option is "Download the role & Delete that & Upload again",
You are saying it is not possible in your case,
Just take a copy of the Single Role,
after that Remove the Role menu from from the Role,
If it not possible, delete the authorization profile....
Save It,
Now we can disable the Role,
Is it possible ?
Regards,
Sajmal
09-27-2016 7:09 AM
If you have SE16N with &SAP_EDIT you can change the date in table AGR_DEFINE.
09-27-2016 7:40 AM
Martin Winn wrote:
If you have SE16N with &SAP_EDIT you can change the date in table AGR_DEFINE.
I'd go for AGR_AGRS in this case 😉
09-27-2016 9:53 AM
09-27-2016 10:38 AM
Oh wait, Martin was talking about the date, I thought about removing entries...
09-29-2016 12:19 PM
Looks like he had already knocked AGR_AGRs for 6 runs... a nice example of why SE16N edits cause more problems than anything else.
I would have deleted the single. Or better.. delete all composites and use well built singles.
Cheers,
Julius