Fonction SAP BAPI_CUSTOMER_GETCONTACTLIST - Read contact persons from customers

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COMM_FOR_DISPLAY CHAR1 C 1 X 'X' Telefax with Display Letters
CONTACTPERSONONLY XFELD C 1 X 'X' only returns fax and phone data of contact person, not customer data
MAXROWS BAPIF4A-MAX_ROWS I 4 0 X Maximum number of contact persons

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Return value

Paramètre Reférence Long. Facultatif Description
CONTACTADDRESSDATA BAPICONTACT_ADDRESSDATA 633 X Contact Person Data
CUSTOMERRANGE BAPICUSTOMER_IDRANGE 23 Customer IDs

Functionality
This method provides the address data of the contact persons from oneor more customers. The selection of the customers is carried out usinga range.

Notes
Where maintained, different service addresses are taken into account.
The address data of known contact persons is supplied byBAPI_BUSPARTNEREMPLOYE_GETLIST.

Description
This parameter contains the return messages from the message call

Value range
Type ID Number Message
E S& 26 Ranges: Value & in field SIGN is invalid. Allowed
values are I, E.
E S& 27 Ranges: Value & in field OPTION is invalid
(EQ,NE,GT,GE,LE,LT,BT,NB,CP,NP)
E F2 720 No data determined for the selection parameters

Description
This parameter corresponds to the maximum number of contact persons
whose address data is reported

Default
0: all determined contact persons are reported

Description
Structure with address data of customers selected using CUSTOMERRANGE

Description
Area for customer numbers

Value range
Field SIGN: 'I' (inclusive) or 'E' (exclusive)
Field OPTOPNS: (EQ,NE,GT,GE,LE,LT,BT,NB,CP,NP)