Question:
Hi John,
Can you please help me. I need to delete the duplicate roles in SU01 screen.
Example: There is a user USER1 and this user has ROLE1 and ROLE2 (3 times each with different 'from date' and same 'to date')
Can you please let me know how to compress all the same roles in to one?
Regards,
Answer:
If the roles contain the same objects why not just delete the two oldest ones.
Answer:
There are huge amount of roles we need to delete.... we can delete them manually... but I need to find out whether there is some automatic way...
if we start deleting the roles manually it will be a huge project
Answer:
Have a look at PRGN_COMPRESS_TIMES. That does what you want it to do. But make sure you test carefully first!
Answer:
Hi Henrik,
Thanks a lot for your reply..... This is what exactly I am looking for... I had tested and the result was positive....
Thanks
Answer:
Hi... I looked into my system. We are running 4.6c and transaction se38, tried to execute the program PRGN_COMPRESS_TIMES. It says, this program cannot be found. What could be the reason?
Thanks
Suresh.
Answer:
I recall John Jarboe mentioning that this program is only available in the higher releases. Not sure where it starts. It is available in our 6.20 systems, but not our 4.6C systems.
Mike
Answer:
I beleive itis a 4.7 Feature, but may be available on OSS for 4.6.
You can write your own and add the SSM_CUST entries to activate the User exit
Z_EXIT_USERS_SAVE
Z_SINGLE_USERPROF
Z_USERS_TRANSFER
I beleive 4.6 has sample code for the function module