We are currently trying to implement a self-service for users to allow them to reset their password on systems which are connected to a CUA (in case they have forgotten their correct password).
On the backend-side we want to access the CUA-System via RFC and then call the necessary function modules, BAPIs or own programs there.
One attempt was to use BAPI_USER_CHANGE but this FM only changes the password of the user in the CUA-system, not in any of the child systems.
Indeed, executing BAPI_USER_CHANGE in one of the child systems doesn't work either. We get a success message but the password remains unchanged, so another idea, namely to call the FM via RFC on the child system (from the CUA-system) can't work either.
The second attempt was to use SUSR_ZBV_USER_SEND. Here, the problem is that we need the <u>hashed</u> password as input and we don't know how to get this from a given password (we tried the C-function XXPASS but this can't be used except in a restricted number of SAP standard modules, it seems).
Does anyone have ideas on this?
Either ideas on how to resolve the problems I illustrated
or ideas for a different solution?