01-02-2009 1:34 PM
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)
01-02-2009 1:38 PM
01-02-2009 4: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
01-02-2009 4: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
01-02-2009 4:15 PM
01-02-2009 6:01 PM
Well, that user exit does not trigger between log on screen and sap main menu
01-03-2009 12:00 PM
01-03-2009 7:37 PM
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
01-02-2009 6: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
01-03-2009 7:41 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.
> ...
>
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
01-07-2009 8: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].
07-21-2016 2:59 PM
We can use SUSR0001 user exit for sap gui logon.
But Which exit or badi runs when user logs via web view?