Hi ,
I have to provide Forgot password option in the initial screen of Web dynpro. I am using standard Webdynpro login page. I would like to ask user's mail ID for confirmation.If the user provided data is correct, then he/she should be given an option to create a new password as how we see this in yahoo mail login page. how could it be done?
Are the users using their SAP username and password to log into this web dynpro application or does the application use a generic one and you are managing the username/password manually?
Hi Mart,
Users are using SAP user name and password only for logging into webdynpro application. And this login screen is also standard one only...
Help me out in providing forgot password option for the users , so that by providing their key info like mailid, they should be ableto change their password in case of forgetting their password.
Thanks.
There is change password functionality on the standard SAP web dynpro login screen but this does not allow users to change their password if they have forgoten their previous one. Hmm this is actually a tricky one as you would need to somehow hack the standard sap logon screen. Do these users not log into sap then, as the password will be the same as their SAP login. If they do, cant you just use whatever process you use for changing their general sap login password. Let me have a think, but in the meantime there does seem to be a class you can reference that allows you to change the logon process http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/3a061a902131c3e...
Right I have managed to change the look and feel of the sap logon pad by creating a class that is a subclass of CL_ICF_SYSTEM_LOGIN. Well I actually used SAP's example CL_ICF_EXAMPLE01_LOGIN. You may have already done this but once this is created it you simply enter it into the service maintenace screen within SICF (Sicfrog). Strangely though it does not go with the 'Logon Data' tab but the 'Error Pages' tab. Within here Check System Logon and press the Configuration button. Now select User-Specific and enter CL_ICF_EXAMPLE01_LOGIN or one you have created yourself into the class field. Save it and re-run you app.
Hi Mart,
I have given the same class in the path u mentioned. I am able to see the change in ambience of the screen.But when I give username and password , it's asking me for login name and password again and again. What code can I write in my methods to log into the page by creating a new password in case i forget my password.
If you look at the code of methods HTM_LOGIN and HTM_CHANGE_PASSWD within CL_ICF_EXAMPLE01_LOGIN you will see the HTML code that displays the new buttons and layout and calls the standard functionality (methods/javascript). Unfortunately there is no functionality to send an email and change password so I guess you will have to add your new field and button in here using HTML then write the code behind it. To be honest thinking about the logic im not even sure there is any code to do this as it would mean you could totally bypass the sap login username and password system. If you were able to do this it would mean that anyone would in theory be able to change/reset user passwords without having the correct SAP authority.
Hi Mart,
Appearance of the logon screen is changing.Ok I got it. Any how , I am trying to apply the code to change password and created one WDP application. Even to execute that component, one should enter ID and password first. I am looking into that .Get back to you if I come up with a good solution.
Thank you.