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

function module sap logon password reset in su01.

Former Member
0 Likes
3,030

Hi friends,

Is it possible to reset password for any user using abap program

or nay functional module.

i have tried few things

first I am locking user using ENQUEUE_E_USR04

then i am calling SUSR_BAPI_USER_CHANGE to reset password

lastly unlocking user using FM DEQUEUE_E_USR04.

but nothing is workin fine !!

help !! urgent !!

Thanks & Regards,

Abhay

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,279

Hi Abhay,

              CALL FUNCTION 'BAPI_USER_CHANGE'
                EXPORTING
                  username   = user_id
                  password   = password
                  passwordx  = 'X'.

best regards,

Thangesh

3 REPLIES 3
Read only

Former Member
0 Likes
1,279

Hi,

U can directly lock and unlock any username through SU01.

Regards,

Sankar

Read only

Former Member
0 Likes
1,280

Hi Abhay,

              CALL FUNCTION 'BAPI_USER_CHANGE'
                EXPORTING
                  username   = user_id
                  password   = password
                  passwordx  = 'X'.

best regards,

Thangesh

Read only

Former Member
0 Likes
1,279

Thnaks Thangesh it worked

cheers !!