I am trying to reset password for SAP using bapi but i am getting error as \"password is not type of field input\".
I am posting my code below.
Here ge
The parameter PASSWORD
is typed as BAPIPWD
which is a structure what in turn contains only a single field named BAPIPWD
. Therefore, you need to access the structure approximately like this:
JCO.Structure sPassword = userChangeInput.getStructure("PASSWORD");
sPassword.setValue(newPassword, "BAPIPWD");