Fonction SAP BAPI_CUSTOMER_INITPASSWORD - Initialize customer password

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CUSTOMERNO BAPI1007-CUSTOMER C 10 Customer number

Paramètre Reférence Type Long. Description
PASSWORD BAPIUID-PASSWORD C 16 Initialized password
RETURN BAPIRETURN u 452 Return code

Functionality
The system determines an initial customer password.
The password is encrypted and stored in central table BAPIUSW01.
Returen codes are:
'00' = ok
'10' = Entry in table BAPIUSW01 does not exist

Example
call function 'BAPI_CUSTOMER_INITPASSWORD'
exporting
object_id = customerid
importing
password = initpassword
return = rcode.

Notes
Check the customer number in the customer master record before calling
the function module.
The 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 sentback.
Layout of 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 number of message

            Value range
            If an error occurs, the return parameter is blank; otherwise, thecorresponding error messages are output with short text.

            Description
            Customer number