on 06-04-2009 4:18 AM
Hi all,
I'm currently facing a problem whereby the Web Application login screen appear when first user to login and it dint appear when the second or later user lauch web application. Therefore, first user session is still holding. Hw can i call Web Application login screen to close first user's session?
Best Regards,
Chee Boon
Easy workaround : Temporarily lock the 1st user in the system and then try log in with 2nd user and open your wedydnpro application, it will pop up for user credentials.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chee Boon,
yes, now i know your issue. Does this also happen, when 2 Users work on different PC's ?
I think, the proposed way of browser cookie deletion will do it, but implements, that every former user has to actively logout (using e.g. a pushbutton utilizing the exit plug) himself after having finished his work with the application.
Another way could be to call a method of class CL_BSP_SERVER_SIDE_COOKIE during initialization of the wd component to delete all former sessions of other users. But that would also mean, that opened sessions of other users are killed every time another user logs on ?! I did not try it so far. Sorry, no further ideas ...
Kind regards
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chee Boon,
i think i do not understand your requirements. Several users work in one users's SAPGUI session on one PC and are calling the WD application, that is opened in a browser .. ?
Kind regards
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andreas,
I had one ABAP WD application which is called by transaction code from ECC. Then, web application server login page able to prompt up when used first user to login ECC and typed tcode to run WD application. However, I changed other users to login ECC and the web application server login page did not prompt up and keep first user ID. Can you get me?
Thanks.
Best Regards,
Chee Boon
Hi Chee Boon,
if i got you right, several users shall work with the same WD application using the same client PC.
You can define an exit plug in your application.
If an application is closed by an Exit Plug (Outbound plug in your window), and no other application is started, the Web Dynpro Framework sends a standard logoff page to the browser.
You can setup a custom logoff page (settings in sicf) as you need and even include javascript in it, e.g. for deleting the session cookie in the users browser and redirect back to your application for a new login.
Kind regards
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Basically you just need to call method ENABLE_SAPSSO of the class CL_GUI_HTML_VIEWER for the instance of your HTML View control. This will cause the creation of an SSO ticket for this Instance and pass it down to the browser instance running in the HTML Viewer. This is what the standard SAP transaction WDYID uses.
Hi Cheang,
You need to cut and paste the url in the below format:
http://<server name>.com:50000/sap/bc/webdynpro/sap/zwd_app
Normally when you login using the credentials, you will see this link:
http://<server name>.com:50000/sap/bc/webdynpro/sap/zwd_app?sap-client=800&sap-language=EN
So you just need to remove ?sap-client=800&sap-language=EN and then execute with that url.
Further to this, when you login for the second time, you will see this information on the next screen:
You are already logged on to the system in the following sessions:
Existing Logons
Client User Client Logon Time
800 DEVELOPER <IP> 10:10:37
Cancel all existing logons ---> this is a checkbox ..If you check this the other sessions will go off. If not they will continue along with your sessions.
Continue
Regards,
-Syed.
Edited by: wahid hussain syed on Jun 4, 2009 6:44 AM
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 out your both methods. They are not working fine at my side. My webdynpro application is not hosted by web browser. However, it is hosted by ECC system and being called by created transaction code. Can you recommend for any approach to resolve this issue? Thanks.
Best Regards,
Chee Boon
Hi Cheang,
I hope I know that Webdynpro comes by default with ECC. And also you did not mention that you have created a tcode for the WD Application.
However, if you have mentioned
STARTMODE BROWSER
APPLICATION WD_APP NAME
Under the Default values of the CREATE PARAMETER TRANSACTION, then it should ask for every login.
Regards,
-Syed.
Edited by: wahid hussain syed on Jun 4, 2009 12:14 PM
Hi Cheeboon,
The basic funda behind creating a tcode for the WD Application is, it will not call the login screen for multiple screens. And further to this, we cannot do much under the Creation of Parameter Transaction.
I strongly hope that my previous reply will surely work. Becoz I do that everyday here. Please try properly without the Tcode.
http://<server name>.com:50000/sap/bc/webdynpro/sap/zwd_app
Normally when you login using the credentials, you will see this link:
http://<server name>.com:50000/sap/bc/webdynpro/sap/zwd_app?sap-client=800&sap-language=EN
So you just need to remove ?sap-client=800&sap-language=EN and then execute with that url.
Further to this, when you login for the second time, you will see this information on the next screen:
You are already logged on to the system in the following sessions:
Existing Logons
Client User Client Logon Time
800 DEVELOPER <IP> 10:10:37
Cancel all existing logons ---> this is a checkbox ..If you check this the other sessions will go off. If not they will continue along with your sessions.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.