on 05-28-2009 1:31 PM
Hi!
My problem is:
- We use several webdynpros. They use the same login screen.
- I have made an ABAP webdynpro for forgotten password (link from the login screen) that sends a new password to the user by email.
- I want a "Go back and log in again with you new password" link or button in the forgotten password webdynpro. How can I do that? I can make a link to one of the webdynpros, but I don't know which webdynpro they wanted to log on when they could not remember their password.
It works if I choose the drop down history box in Internet Explorer and choose not the previous page, but the one before that. But when I say javascript:history.back(-2) in the link from the forgotten password webdynpro, I get a short dump telling me that the link is not safe. I have tried to debug to get around this message, but then Internet Explorer opens a new window when I press the "go back" link, and in the new window, there is no previous pages in the history, so it does not work.
Does anyone have any tips on how to get this to work?
Best regards,
Marianne Evang.
Hi Evang,
I am looking for help for creating an ABAP webdynpro for forgotten password (link from the login screen) that sends a new password to the user by email.
Can you please share your logic/program.
Thanks In Advance
Jabi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marianne,
where is your login screen located? Is it in a separate WDA? If so, I guess this "login" WDA must "know" where the call to the login screen came from (eg. which other WDA issued the call to the login screen), and, if so, it should be possible to store this value somewhere by the calling WDA (custom table, cookie, SAP user memory...)? Then, the "login" WDA would only have to check if such a stored value exists for the user in question, and re-route to the correct app, then clear the value afterwards?
Regards,
Trond
You could set up the calling WD name as a parameter. Then pass that name to the reset password app. Then you should be able to dynamically build the URL for the calling application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Thank you for your answer.
But no, I cannot do that. Because it is the same login screen for all the webdynpros, and the "Password Forgotten" link is a standard link that can be customized with an address. This is done for the service "webdynpro" in transaction SICF. I don't know how I can have different forgotten password links depending on which webdynpro the user is trying to log into. Anyone knows?
Best regards,
Marianne Evang.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.