on 02-05-2007 12:58 PM
hi folks
how can i force the user to make a login in a running wd abap application.
background: user is loggid in with a default user and has to be forced to use another userid/password.
kind regards,
oliver
OPTION 1: (should be ok)
try function
Create a popup window that asks for user-id and password
then call function
SUSR_INTERNET_USERSWITCH
Test inside and without portal.
I havent tested this inside a portal
OR
Option 2:
try
Create 2 Applications
APP1 requires logon,
APP2 doesnt.
Both apps can call same start plug on WD component IF view.
When event X happens that is to cause login,
tigger a navigation event on Window to call EXIT plug.
Add the parameter "URL" to the exit plug.
This will lauch second application or close of first.
The exit page settings in SICF for APP1 must have JAVA script to remove SSO2
cookie so that default user isnt used to logon to second app automatically.
See google... delete SSO2 cookie
Login prompt should result.
Cheers
Phil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi oliver,
All the WDA Application will be present as Service node in the SICF transaction.
Service path: /sap/bc/webdynpro/sap/<WDA Application Name>
1. Right Click
2. In the Context Menu choose Test Service.
You can pass the username and password as a query string parameters to the application URL.
For Eg.
Hope it helps.
Regards,
Maheswaran.B
Message was edited by:
Maheswaran B
Message was edited by:
Maheswaran B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Oliver,
If you already have the real username and password with you then you can use the above post's URL and logon with the username and password. I am writing the URL again for you
convenience...
When you click the button call the JavaScript window.open(URL) to logon with the real username and password.
Hope it helps.
Regards,
Maheswaran.B
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.