on 06-18-2008 1:00 PM
Our intranet with SAP Netweaver portal we use some URLs to several SAP transactions via webgui.
I want to close automatically the window when the user clicks on the log off button.
The configuration of this service Z_WEBGUI_UWL I put as logoff page the following html code into the body
Our intranet with SAP Netweaver portal we use some URLs to several SAP transactions via webgui.
I want to close automatically the window when the user clicks on the log off button.
The configuration of this service Z_WEBGUI_UWL I put as logoff page the following html code into the body
<head>
function closeWindow(){ alert... window.open('','_parent',''); window.close();}
</head>
<body onLLoad="closeWindow();">
You can remove your login information by closing all Internet Explorer windows
<P>
<input type="button" value="close window" onCClick="closeWindow();">
</body>
The javascript code closeWindow is executed because the message 'function' appears (alert statement) but the window is not closed when the page is loaded. Also same when you click on the button Close. WHY?
The same result with a redirect URL (redirection to a page that should close the window, but it does not work).
Is there an other possibility to close the window automatically?
Best regards
Luc
Maybe it´s too simple, and maybe the problem isn´t even on your list any more, but have a try with top.window.close() - there´s an issue with window.close() not working with framesets.
regards, Bastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.