Question:
Hello,
Is there a way to automatically remove a duplicate role assignment from user master record. What has happend is the user were assigned to set of roles and then there was more roles that needed to be added but some of them were duplicates and the mgmt wants me to remove the duplicate entries on R/3 and BW systems.
For example: ZTEST role was assinged like 4/2/2003 and then it was assigned again on 4/20/2005 and the same role appears in the user master 2 times. I need to change it where it only appears one time.
I would do this manually but there are lot of user and lot of roles.
Please help quick.
Thanks to everyone.
Answer:
have a look here: http://sapfans.com/forums/viewtopic.php?t=155089
you will find this and more if you do a search on "duplicate"
Answer:
I am on 4.6C and the PRGM_COMPRESS_TIMES does not exist. What are my other options to remove the duplicate role entries.
Please help
Thanks
Answer:
Activate the user exists and program the code.
Answer:
Hello john and everyone
Can you please let me know what you mean by activate user exist and program the code.
I am sorry if i sound bit lost but i dont have that much experience with SAP Security and I would be very thanksful if you could please provide me with the steps i can take to resolve this problem.
Thanks
Answer:
Al.'s postng above has the answer in it....
You can also activate the "save" user exit in PFCG. SU01, PFUD to remove the duplicates with this code or for earlier versions with your own code. Then you do not have to remember to run the report it happens every time you save. the user exit is activated using SSM_CUST and the entries
Z_EXIT_USERS_SAVE
Z_SINGLE_USERPROF and
Z_USERS_TRANSFER
Higher versions of SAP have sample code, earlier postings on this sitte also have sample code though not for this purpose