Fonction SAP BAPI_CUSTOMER_CHECKPASSWORD - Check customer password

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CUSTOMERNO BAPI1007-CUSTOMER C 10 Customer number
DISTRIBUTION_CHANNEL BAPIORDERS-DISTR_CHAN C 2 X Distribution channel
DIVISION BAPIORDERS-DIVISION C 2 X Division
PASSWORD BAPIUID-PASSWORD C 16 Password (16 chars. max.)
SALES_ORGANIZATION BAPIORDERS-SALES_ORG C 4 X Sales organization

Paramètre Reférence Type Long. Description
CUSTOMER_DATA KNA1 u 1826 Customer data
CUSTOMER_NUMBER_OUT KNA1-KUNNR C 10 Customer number
RETURN BAPIRETURN u 452 Return code

Functionality

OBSOLETE! DO NOT USE!
The CheckPassword method in the Customer business object is obsoleteand you should now use the CheckPassword1 method. The detailed dataabout the customer that used to be returend to the CheckPassword methodis now available in the GetDetail2 method.
You can use this function module to check a customer's password.
The password is stored as a key in the central BAPIUSW01 table.

Example
call function 'BAPI_CUSTOMER_CHECKPASSWORD'
exporting
object_id = customerid
password = pass
importing
return = rcode.

Notes
Before you can call up the function module, you must check the customernumber in the customer master record.
You should not call up the function module if the customer number isnot 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 Applicatoin 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 issued with short text.