04-09-2009 7:37 AM
I have a couple of users (100) for which the status of the password is "Initial password (set by administrator)". I would like to change this status to "productive" without logging in as all of these users manually. Is there a function module or something similar for this?
04-09-2009 8:32 AM
Hi Daniel,
check out function module SUSR_USER_CHANGE_PASSWORD_RFC.
Cheers, harald
04-09-2009 8:32 AM
Hi Daniel,
check out function module SUSR_USER_CHANGE_PASSWORD_RFC.
Cheers, harald
04-09-2009 11:31 AM
Hi Harald,
this allows me to change the password, but not the password status (i.e. initial, productive, etc.), right?
Regards, Daniel
04-09-2009 1:19 PM
Hi Daniel,
I hope by "productive" means you want to avoid the initial popup asking to change the password when the user logs in for the first time.
You can use FM BAPI_USER_CHANGE . Here you can pass LTIME field in LOGONDATA importing structure. This will let the system know that User has logged on already. Please make sure you fill LOGONDATAX structure accordingly. You can change the password also using this FM if you have proper authorization to do so.
Hope this helps.
Regards,
R