Skip to Content
author's profile photo Former Member
Former Member

Finding roles which has many tcodes in the same role using SUIM

Hello Guru's

If I want to find a role for a t-code will get through SUIM. But now I have a multiple t-codes(eg,100 t-codes) want to find out the exact role in which all the t-codes are there.

Is there any way,please let me know. Thank you

Dina

Edited by: Julius Bussche on Nov 17, 2011 8:45 PM

Subject title made more meaningful...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 17, 2011 at 09:08 AM

    You are correct - use SUIM. Under "Roles", "By Transaction Assignment". This will give you a screen with only a few dialog boxes, but if you click on the square button to the side of the top dialog box, this will give you a multiple selection option.

    You can then add in the t-code names that you require; however, I'm not sure if you will find this as useful as analysing the roles one at a time.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      There is no such option in SAP to provide you list of all roles for all 100 t-codes discretely. You are right SUIM's output will be a combination for all 100 t-codes.

      The Best way i would suggest is to download table AGR_1251 for S_TCODE auth object only and then create a lookup query in excel or MS access to provide you all roles containing a specific t-codes...likewise for all 100 t-codes.

      Thanks Deb

  • author's profile photo Former Member
    Former Member
    Posted on Nov 17, 2011 at 07:42 PM

    For 100 tcodes in a menu of 1 role you can easily work by elimination:

    --> take the most exotic transaction and run it to find the roles.

    --> add the role list to the role name select options of the report (this is the trick!) and run it for the next most exotic transaction in a different module unrelated to the first tcode.

    --> somewhere around here you should reach a system message stating "No roles found which meet the selection criteria".

    --> If you are still going strong here with a long list of functionally differentiated roles then there is a problem.

    --> 5th time lucky?

    --> Proceed to jail for 2 rounds and do not collect $200 at the start...

    --> etc 😉

    Same goes for the Users by Complex selection criteria when you have a 4th object to check with an AND operator. Choose the most exotic one first and add the result to the select options for the user name.

    Cheers,

    Julius

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 18, 2011 at 09:12 AM

    If you want to look in role menu then maximum can give 5 transaction using AND function and if you are looking in S_TCODE then 3 times the object and 2 times each AND operator total 6 transaction at a time like Julius mentioned above. However 100 transaction at a time sounds a imaginary figure..

    Edited : Trust the AND function might be costly. SUIM has millions of BUG still today and crazy AND was one of them once. Suggest cross check the data by other means.

    Regards,

    Arpan Paik

    Edited by: P Arpan on Nov 18, 2011 2:45 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2011 at 10:36 AM

    Hi

    You can also check table agr_tcodes which display role wise tcode, where in you can directly put those 100 tcodes and find out role related to it

    Hope this helps

    Thanks

    Hetal

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 19, 2011 at 10:28 AM

    Hi

    I have tried this method to list out all tcodes of the roles. This table agr_tcodes consists of agr_name(Role_name) and Tcode.

    Its easy to find out your role having tcodes and viceversa.

    Thanks

    Hetal

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.