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

Userexits/BADi's for SU01/PFCG

Hi All,

I need to check/validate the roles entered for a user, so im in need of a userexit/badi for this. It would be great if someone can help me with this. Or is there any other way i can meet this requierment.

Thanks & Regards,

Malinda

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Aug 11, 2009 at 04:21 AM

    Transaction Code - SU01 User Maintenance

    Enhancement/ Business Add-in Description

    Enhancement

    SUSR0001 User exit after logon to SAP System

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2009 at 04:25 AM

    Hi,

    User Exit for SU01 is,

    SUSR0001 User exit after logon to SAP System

    For finding BADi please do following steps,

    1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.

    2. In 'Display' mode, go to 'Methods' tab.

    3. Double click the method 'Get Instance' to display it source code.

    4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.

    5. Then run your transaction.

    6. The screen will stop at this method.

    7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.

    Thanks & Regards,

    ShreeMohan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 11, 2009 at 04:31 AM

    Try table AGR_USERS

    or

    Use function module BAPI_USER_GET_DETAIL

    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.