Skip to Content

Set status for user password to initial

Hey,

We got a report which creates users for every employee of our customer. Right now a initial password is generated with the function module "BAPI_USER_CREATE1". The customer now wants the initial password to be less complex. Like a limited length and just 1 or 2 special signs.

We thought we could create a password on our own and assign it to the created user afterwards. But the problem is, the password has to be "initial" so that SAP will ask for a new password during the next login.

Is there a way to assign a password manually with "BAPI_USER_CHANGE1" and then make the password status initial? Or can we handle the whole issue any different?

UPDATE: I found this thread and I want to do the same thing just the other way around. I want to set the status to initial, not productive. Maybe that explains my issue a bit better.

https://archive.sap.com/discussions/thread/1301928

Thanks for any hints guys!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 20, 2017 at 12:29 PM

    Did you look at parameter PRODUCTIVE_PWD?

    Add comment
    10|10000 characters needed characters exceeded