cancel
Showing results for 
Search instead for 
Did you mean: 

Set status for user password to initial

former_member310342
Participant
0 Kudos

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!

Accepted Solutions (1)

Accepted Solutions (1)

raymond_giuseppi
Active Contributor

Did you look at parameter PRODUCTIVE_PWD?

former_member310342
Participant
0 Kudos

Hey, Thanks for ur help. I didn't saw that parameter at first ... sry for that.

That works fine.

Answers (0)