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

custom mass password generate program

Former Member
0 Likes
457

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

1 REPLY 1
Read only

atanu_mukherjee
Explorer
0 Likes
381

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