Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Function Module to set a user's password from "set by admin" to "productiv"

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?

Former Member replied

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.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question