Hi,
I'm using BAPI_USER_CHANGE for reseting a user's pass.
The problem with this function is that it sets an initial pass => in the next logon the user will be prompted to change it.
Is there a way to change this behavior?
If not, do I have any other BAPI alternative?
tx a lot,
s.
Request clarification before answering.
Hi,
Can you please explain How to reset password by using "BAPI_USER_CHANGE" function module....!
Thanks in Advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If someone ever needs this info:
DATA lt_return TYPE bapiret2 OCCURS 1.
CALL FUNCTION 'BAPI_USER_CHANGE'
EXPORTING
username = 'USERXYZ'
password = 'newpassword123'
passwordx = 'X'
TABLES
return = lt_return.
This sets the password for USERXYZ to newpassword123. However, you should implement several checks like: May the user reset/change his password? Is the user locked, may we unlock him? etc., confirm your security manager for details.
Regards,
Simon Ging
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.