Skip to Content

Best way to create a "change user password" site?

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 14, 2005 at 12:15 PM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.