7 Replies Latest reply: May 13, 2007 7:47 AM by Surakshveer Singh Tomar RSS

Find Authorization Object

U V
Currently Being Moderated

Hello Experts,

How to find the authorization object of a specific field or function (say delete) within a transaction and then find roles carrying that authorization? Would appreciate your help.

 

UV

  • Re: Find Authorization Object
    Benjamin Barran
    Currently Being Moderated

    UV,

     

    Try running an authorization trace (ST01) and see which objects and activities come into play.  Search ST01 if you need more info. 

     

    Also look at transaction SU24 for the given transaction in question.

     

    Look at the related objects and their documentation in SAP (transaction SU21).

     

    Search/Read the OSS/SAP forums for answers.

     

    Cheers,

     

    Ben

    • Re: Find Authorization Object
      L. Borsboom
      Currently Being Moderated

      I agree that the best thing is to execute all the needed functionality and trace with ST01.

      The next best thing is to browse the underlying ABAP code for authority checks.

      The transaction below has been designed for that purpose:

       

      S_ALR_87101287 - Program Analysis

       

      With this program, you can search for a specific abap command (i.c. AUTHORITY-CHECK) in abap reports, transaction codes and modules.

       

      If you want to execute a bulk search (but on abap reports only) you could consider using abap program RPR_ABAP_SOURCE_SCAN

       

      Good luck!

       

      Kind regards,

       

      Lodewijk Borsboom

  • Re: Find Authorization Object
    venkat kolluru
    Currently Being Moderated

    If wanted to find the Activites related to A Tcode, You can find them in TACT Table.

    To find the Roles carrying authorization, You can use SUIM -->Roles and choose the appropriate option as per your need.

     

    Hope this answers your question.

  • Re: Find Authorization Object
    NAVABOTHU SANTOSH KUMAR
    Currently Being Moderated

    Hi,

    Table TACTZ would give you the Activities in a perticular Authorization Object. And table TACT will give you all the standard activities.

    Table AGR_1251 would give you the list of authorization in a role.

     

    Hope it helps.

    Please award points if it is useful.

     

    Thanks & Regards,

    Santosh

  • Re: Find Authorization Object
    Manohar Kappala
    Currently Being Moderated

    Hi,

    Did you mean in a role you wanted to know what Auth Object with a particular field gave access to a Tcode. If its so

    You can use the following Tables to find the information pertaining to the Various Auth Obj which have a given field for a given transaction

    You need to use the AGR_1251 with USOBX_C tables to get the information.

    From AGR_1251 you get the list of all auth objects which are available in that role for that transction.

    of those list of auth objects search USOBX_C tables enter the transaction u want from the role and the list of auth objects from previous report and set the Check Fields flag to X and Y so that you get the list of objects which are checked and Check maintain and from there u can get the fields in them

  • Re: Find Authorization Object
    Pankaj Kumar
    Currently Being Moderated

    Hi

        Please check this SA38----> RSUSR010.

     

    <b>Rewards points if helpfull</b>

    Thanks

    Pankaj Kumar

  • Re: Find Authorization Object
    Surakshveer Singh Tomar
    Currently Being Moderated

    Hi UV,

     

    You can find transaction code / authorization object in table <b>TSTCA</b>. In a role you can find T-code in the <b>TCD</b> field of <b>S_TCODE</b> object. That is the way you can find role.

     

    Suraksh

Actions