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

USER-EXIT or BADI at First User Entrance to the sap ?

Hello,

I need an user exit or Badi while user open a session (while entering the sap , after the user writes the user name and password and press enter)

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 02, 2009 at 01:38 PM

    NO CLARITY IN QUESTION PLZ.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 02, 2009 at 04:03 PM

    Thats good question. SAP did not supply any User exit/BADI between these two screens.

    Try other things like GUIXT or something like that

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 02, 2009 at 04:03 PM

    Hi Münir,

    please use transaction SMOD to check SAP extension SUSR0001. Here you have Exit function EXIT_SAPLSUSF_001. It is processed with every user Logon.

    Did I understand your question right?

    Regards,

    Clemens

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 02, 2009 at 04:15 PM

    Check User Exit: SUSR0001

    Regards,

    Naimesh Patel

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 02, 2009 at 06:01 PM

    Well, that user exit does not trigger between log on screen and sap main menu

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      The exit mentioned by Clemens does work, but only for SAPGUI type "DIAG" logons. Other logon protocolls used are not interupted by ABAP exits in the SAPGUI logon program.

      See for some details and explanations (read it to the end...).

      For other logon authentication types, you will need to use coding in your RFC, or webservice, or what ever it is that you want to expose as an entry point to the system. Of course, the user should not be able to bypass the entry point... or if they do then nothing should happen (for example, an additional check which fails should prevent them from doing that which your coding requirement is for).

      If you could explain what you want to achieve in this coding then it will be clearer to comment appropriately (and possibly also move the thread to the Security Forum, where other gurus will be able to comment?)

      In my opinion, using GUIXT is not a good idea, as the user can control it anyway and you will need to administrate it / distribute it.

      Let me know if you would like to have the thread moved to the correct forum.

      Cheers,

      Julius

  • author's profile photo Former Member
    Former Member
    Posted on Jan 02, 2009 at 06:36 PM

    Go to the Debugging-Mode.

    Enter User + Password.

    Check the Routines executed, which would be the most suitable- I would guess that it will be one of the first routines called during PAI.

    Use the enhancement point at the end of this routine.

    Greatings

    Manuel

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      >

      > Go to the Debugging-Mode.

      >

      > Enter User + Password.

      >

      > Check the Routines executed, which would be the most suitable- I would guess that it will be one of the first routines called during PAI.

      > ...

      >

      Have you ever tried this? Or is "guess" the operative word? 😉

      The debugger checks authority for debugging in various ways. If you are not logged on yet, you don't have any authority...

      You cannot debug the logon program in the way you have described.

      Cheers,

      Julius

  • Posted on Jan 07, 2009 at 08:51 AM

    As stated already by others: there's only one USER-EXIT which is executed after successful SAPGUI logon (SUSR0001), see [SAP note 37724|https://service.sap.com/sap/support/notes/37724].

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 21, 2016 at 01:59 PM

    We can use SUSR0001 user exit for sap gui logon.

    Implementation of SAP logon user exit SUSR0001 - SAP ABAP,SAPUI5,SAP HANA,SAP Fiori,OData,Netweaver Gateway,SAP Workflow…

    But Which exit or badi runs when user logs via web view?

    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.