‎2011 Jul 25 2:12 AM
Hi,
I'm requried to develop a mass password generate program to be sent to the user via mail, i'm using RSEC_GENERATE_PASSWORD function module to to generate the random password, but how do i update the user password that puzzles me, is there any process/ class/method/ FM/ BADI etc that will update/ create a user, has anyone done this before, appreciate any adivse/ pointers
‎2011 Jul 25 1:01 PM
Hi Lawrence,
You can do this in 2 ways viz:-
1. Use BAPI_USER_CREATE1 to create new users in system and assign initial password to the users just created by BAPI_USER_CHANGE. After this you can use function module SUSR_USER_BUFFER_AFTER_CHANGE to refresh the buffer.
2. Do a BDC of SU01 transaction with proper check of authority object.
I would recommend option 1. Please check and let me know if you face any problems.
Reward points if this helps.
BR,
Atanu
Moderator Message: Asking for points violates the Forum Rules Of Engagement
Edited by: Suhas Saha on Jul 26, 2011 10:48 PM