Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

user exit after logon gui

Former Member
0 Likes
3,719

hi,

I want to display message as soon as user login to SAP system. can anyone please tell me is there any user exit after logon to SAP? and can i do modification ?

with my finding here is the user exit "SUSR0001" for user after logon please let me know i am right. if i modify Function module define in this enhancement will it be fine.

thanks

john

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,783

thanks durairaj & joseph,

whatever your comments send are useful.

joseph - thanks for step as you mentioned i had followed those but when i double click on INCLUDE ZXUSRU01 it is says program names ZX... are reserved for includes of exit function groups. please tell me what should i do to achieve my goal.

thanks

john.

10 REPLIES 10
Read only

athavanraja
Active Contributor
0 Likes
2,783

This is the right user exit.

go to the FM EXIT_SAPLSUSF_001 and modify the include to add your code.

also check out this link where they have done similar kind of stuff.

http://www.sapgenie.com/abap/sendmsg.htm

Regards

Raja

Read only

Former Member
0 Likes
2,783

Hi,

I never test it but according to the documentation it seems to feet your need.

1/ transaction cmod

2/ create a project (Ztest)

3/ give a short text

4/ press "Enhancement assignments" button

5/ in Enhancement add "SUSR0001". then press Components.

6/ double click on EXIT_SAPLSUSF_001

7/ double click on ZXUSRU01. The system will ask to creat te include...

8/ put your code. Save/activate

9/ go back to Component and activate.

hope it's clear

Read only

Former Member
0 Likes
2,784

thanks durairaj & joseph,

whatever your comments send are useful.

joseph - thanks for step as you mentioned i had followed those but when i double click on INCLUDE ZXUSRU01 it is says program names ZX... are reserved for includes of exit function groups. please tell me what should i do to achieve my goal.

thanks

john.

Read only

0 Likes
2,783

Is it a error message?

Regards

Raja

Read only

0 Likes
2,783

It should be a warning (with yellow mark). Hit the Enter key to proceed.

Read only

0 Likes
2,783

as Sergei said Just press enter.

So after pressing enter, the system will ask you to assign this include to a package and after the system will ask you to assign this include to a transport number.

Just remember to activate your code and <b>also</b> activate the component (this is important).

joseph

Message was edited by: joseph fryda

Message was edited by: joseph fryda

Message was edited by: joseph fryda

Read only

Former Member
0 Likes
2,783

Thanks you all.....

that was good.... i got what i wanted ...

another thing i want to know is there any way i can get the user exit for tcode say su01 , mm01 etc.

regards

john

Read only

Former Member
0 Likes
2,783

Have you tried SM02 transaction for system messages.

It will not be a warning message on the bar but a pop up - you can proceed via Enter and you can also schedule and work it like a background job.

Hope it helps.

Regards,

Aditya

Read only

Former Member
0 Likes
2,783

If you want to find any user exits in any transaction, go intot he program of the transaction, do a global search for CALL CUSTOMER-FUNCTION.

That will give you any user exits present in the transaction.

Regards,

Aditya

Read only

Former Member
0 Likes
2,783

i tried the this FM and exit but i get not action wen i connect to sap.... and i cant debug this exit.. can any one help me why doesnt it work??