cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Log Out for Web dynpro Component HAP_MAIN_DOCUMENT

Former Member
0 Kudos

Hey guys,

How i make web dynpro application auto logout after time out? I gone through several thread like

but I want the Code for Web Dynpro ABAP ...WDClientUser.forceLogoffClientUser() is used for log off.. But this is used in Web Dynpro Java...I need in Web dynpro ABAP.

I have used Time Trigger Event...I want after the time given in Delay the application should be auto logout..What to write in Action of this Event.

Your Directions on this will be appreciated.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

in the onaction , fire an exit plug.The webdynpro framework will itself send a log off page.refer this SAP online help:

http://help.sap.com/saphelp_tm70/helpdata/en/fc/04a5421935c511e10000000a1550b0/content.htm

regards,

Amit

Former Member
0 Kudos

In the action, you can fire an outbound plug to a view with a message something like "Your session has expired" or may be the login screen of the application with the similar message.