Fonction SAP BAPI_CUSTOMER_EXISTENCECHECK - Check Customer Existence

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COMPANYCODE BAPICUSTOMER_ID-COMP_CODE C 4 X Company code
CUSTOMERNO BAPICUSTOMER_ID-CUSTOMER C 10 Customer
DISTRIBUTION_CHANNEL BAPIORDERS-DISTR_CHAN C 2 X Distribution Channel
DIVISION BAPIORDERS-DIVISION C 2 X Division
SALES_ORGANIZATION BAPIORDERS-SALES_ORG C 4 X Sales organization

Paramètre Reférence Type Long. Description
RETURN BAPIRET1 u 470 Return code

Functionality
Use this method to check whether a customer is available.
If you enter a company code, the system also checks whether thecustomer belongs to this company code.
If you enter a sales area, the system also checks whether the customerhas been created for this sales area. The sales area must be entered infull.

Description
This parameter contains the return messages from the method call.

Value range
Type,,ID,,Number,,Message
I,,F2,,500,,No authorization to display debtors
I,,F2,,501,,No authorization to display debtor data in company code &
I,,F2,,543,,No authorization to display general data on debtor accounts
I,,F2,,502,,Debtor & does not exist
I,,F2,,503,,Debtor & exists but has not been created in company code &
I,,F2,,267,,Please specify the sales area in full or not at all
I,,F2,,156,,Debtor &1 is not created for sales area &2 &3 &4If you enter the company code in this parameter, the existence of theentered customer for this company code is checked.
Customer number to be checked.

Description
Distribution channel
If you enter the sales area in full, the system checks whether thecustomer belongs to this sales area.


Division
If you enter the sales area in full, the system checks whether thecustomer belongs to this sales area.

Description
Sales organization.
If you enter the sales area in full, the system checks whether thecustomer blongs to this sales area.