Fonction SAP BAPI_CUSTOMER_CHANGEPASSWORD - Change customer password

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CUSTOMERNO BAPI1007-CUSTOMER C 10 Customer number
NEW_PASSWORD BAPIUID-PASSWORD C 16 New password
PASSWORD BAPIUID-PASSWORD C 16 Password (16 chars. max.)
VERIFY_PASSWORD BAPIUID-PASSWORD C 16 Retype new password

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Return Code

Functionality
You can use this function module to change a customer password.
The password is encrypted and stored in central table BAPIUSW01.

Example
call function 'BAPI_CUSTOMER_CHANGEPASSWORD'
exporting
object_id = customerid
password = oldpass
new_password = newpass
verify_password = veripass
importing
return = rcode.

Notes
The precondition for calling this function module is a check of the
customer number in the customer master record.
This function module cannot be called if the customer number does not
exist in the master record.

Description
In this structure, the return code for the function module is returned.
Structure
TYPE Message type: S Success, E Error, W Warning, I Information
CODE Message code
MESSAGE Message text
LOG_NO Application log: log number
LOG_MSG_NO Application log: current message number

Value range
If no error occurs, the return parameter is blank. Otherwise, thecorresponding error messages are issud with short text.

Description
Enters an alphanumeric key which clearly identifies the customer ordebtor within the SAP system.