Syntax error Changed SAP password not working while resetting using BAPI

Changed SAP password not working while resetting using BAPI



You are using the structure Password for resetting the password. It is of type “BAPIPWD” and comprises of a field which is again named as “BAPIPWD”

When you need to reset the password, you need to specify the correct field name instead of password.

JCO.Structure structPassword = userChangeInput.getStructure("PASSWORD");
sPassword.setValue(nPassword, "BAPIPWD");


Updated on: 2020-02-13T11:30:52+05:30

398 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements