Skip to Content
0
Nov 05, 2019 at 10:38 AM

Change Password via BAPI in CUA

683 Views

Hi

We need to reset users' passwords via a CUA system by using BAPI's.

We are using BAPI_USER_CHANGE and setting the following params in the BAPIPWD structure:

USERNAME = MyUser 
PASSWORD = NewPassword123 
PASSWORDX = X 

It works when doing it on a non-CUA system, but on CUA we are getting an error that says:

"User attribute 'New Password' cannot be maintained in this system. No changes were made to user MyUser".

All the SCUM settings in the Address tab have been set to Global.

How can we reset the password in CUA? Is there perhaps another BAPI that we should use?