Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reset Users Password

Former Member
0 Likes
1,666

Can anyone tell me the function module name to reset a user's password and to generate an email to them containing the new password?

The standard password reset functionality in the Portal doesn't work if the Portal UME connects to an ABAP stack to authenticate users, and that ABAP stack is controlled by CUA.

Im intending to write a WebDynpro on the Portal that calls a function module in CUA to reset the users password and email them the new password.

Cheers,

Steve

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
1,204

check if this might work : BAPI_EMPLOYEET_CHANGEPASSWORD Change employee password

BAPI_EMPLOYEE_INITPASSWORD Initialize employee password

ISA_UADM_46C ISA R/3 User Administration

ISAI_USER_GENERATE_PASSWORD Generate a valid password

ISA_USER_PW_VALIDITY Check if a string could serve as valid password

SUSR_USER_SURFACE_LOCK User: Change interface password

SUSR_USER_SURFACE_PASSWORD User: Change interface password

8 REPLIES 8
Read only

former_member156446
Active Contributor
0 Likes
1,205

check if this might work : BAPI_EMPLOYEET_CHANGEPASSWORD Change employee password

BAPI_EMPLOYEE_INITPASSWORD Initialize employee password

ISA_UADM_46C ISA R/3 User Administration

ISAI_USER_GENERATE_PASSWORD Generate a valid password

ISA_USER_PW_VALIDITY Check if a string could serve as valid password

SUSR_USER_SURFACE_LOCK User: Change interface password

SUSR_USER_SURFACE_PASSWORD User: Change interface password

Read only

Former Member
0 Likes
1,204

You can do that from SU01.

But, Not sure how to send an e-mail

Read only

Former Member
0 Likes
1,204

Hi Steve,

it's very easy: use FM BAPI_USER_CHANGE.

There is an Import-Parameter PASSWORD and set the corresponding X-Parameter.

Just take a look at the FM-Documentation.

Regards

Markus

Read only

0 Likes
1,204

Markus,

Thanks thats spot on, but any idea if this also causes an email to be generated to the user in question?

If not, any idea how I go about generating one?

Cheers.

Steve

Read only

0 Likes
1,204

Hi, if you just want to notify user, then after using above FM you can use : SO_NEW_DOCUMENT_ATT_SEND_API1 to send a mail to user.

Kuntal

Read only

Former Member
0 Likes
1,204

Kuntal, you are so right

Read only

0 Likes
1,204

any thing wrong, I have said sorry for that, but I have used this Fm to send Email.

Kuntal

Read only

Former Member
0 Likes
1,204

If an interface was lost could we rbuild/configure it including certificates and password creation? Can someone please help me out with this? I am looking for Installatio/configuration guide.