Hi,
I want to provide my users with a page where they can change their password. I thought that I could just use the one from the system application (changepw.htm). But it doesn't feature the design2003 and my application has to have a consistent look and feel.
So I copied it and tried to get it working but that wasn't possible because it relies on an application class which I can't get working (it relies on the IF_BSP_APPLICATION_EVENTS) because I don't want to use it as a general application-class and so some methods will not be called.
It seems that the only choice left is to start my own site which will reuse most of the code from the system application class. But before I start reinventing the wheel I would like to know: How have you implemented this functionality?
Have you checked SYSTEM_PUBLIC application?. Look at CL_BSP_LOGIN_APPLICATION, and check CHANGE_PW_PROCESSING methods...
Look at this FM:
call function 'SUSR_USER_CHANGE_PASSWORD_RFC'
EXPORTING
bname = syuname
password = l_Xpassword
new_password = l_Xnewpassword
EXCEPTIONS
change_not_allowed = 1
password_not_allowed = 2
internal_error = 3
canceled_by_user = 4
others = 5.
Cheers
Ariel
Add a comment