cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the password generate in SU01

Former Member
0 Kudos

Dear Sir,

My server is CRM 5.0 , I would like to setting the password generate in SU01. How to config the gerenate password in our standard.

Please advise.

Thank you and best regards,

VImol

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Vimol,

To reset the password of the user you can use the Follwing Function module

CALL FUNCTION 'RSEC_GENERATE_PASSWORD'
    EXPORTING
      alphabet      = 'ABCDEFGHIJKLMNPQUVWXYZ123456789'
      output_length = 12
    IMPORTING
      output        = Var_pass
    EXCEPTIONS
      some_error    = 1
      OTHERS        = 2.

You will get the new generated password form the above Function.

After that pass your reset password and username to the below Function.



CALL FUNCTION 'BBPU_USER_CHANGE_ZBV'
    EXPORTING
      username  = pass_username
      password  = Var_pass
      passwordx = 'X'                                  
    TABLES
      return    = errors.

And after that you can send the user the mail with his new password.

Assign Points for helpful answer.

Regards

Aashish

Former Member
0 Kudos

Dear Sir,

That need to create the reset password funciton. But my side, I need to configure the reset password wizard in T-code : SU01 to our requirement.

Please kindly advise.

Thank you and best regards,

Vimol

Answers (0)