on 07-23-2009 1:27 PM
Hi,
There is a button in the screen with the functionality logout.Once user clicks on the button it should close the session and closes the browser.
I will be thankful for your inputs.
Regards,
Pavani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
create a button and create an action exit.
in exit method write the following code
public void onActionexit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionexit(ServerEvent)
com.sap.tc.webdynpro.services.sal.um.api.WDClientUser.forceLogoffClientUser(null);
//@@end
}
Regards,
Sunaina Reddy t
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I tried with the code .but once if i click on the logoff button it is navigating to other screen and giving me the message
Web Dynpro application terminated. Good bye!
But my requirement is once if i click on the logoffbutton it should close the application and should not navigate to any other.
Regards,
Pavani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavan
Check this code
String logoffURL = wdComponentAPI.getApplication().getApplicationInfo().findInApplicationProperties("sap.logoffURL").getValue();
wdThis.wdGetTimeCompInterfaceViewController().wdFirePlugExit(logoffURL);
Regards
Ruturaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
check this link to terminate application
http://help.sap.com/saphelp_nwce711/helpdata/en/44/b319188ea22d05e10000000a11466f/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.