Fonction SAP BAPI_BUPR_CONTP_SEARCH - BAPI for Contact Partner Relationship Search

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDRESSDATA BAPIBUS1006_ADDR_SEARCH u 78 X Different Address Attributes
COUNTRY_FOR_TELEPHONE BAPIBUS1006_COMM-COUNTRY_FOR_TELEPHONE C 3 X Country for Telephone/Fax Number
EMAIL BAPIBUS1006_COMM-E_MAIL C 241 X Internet Mail (SMTP) Address Search Field
TELEPHONE BAPIBUS1006_COMM-TELEPHONE C 30 X Telephone Number

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 X BAPI Return Parameter
SEARCHRESULT BAPIBUS1006_BPR_ADDR 52 X Search Result

Functionality
Using this function module you can search for a contact personrelationship. The search criteria you can use are the telephone number,email address and the address attributes country, region, and postalcode.
The telephone number and the email address must be totally accurate,but address attributes can contain wildcards, such as "*".
All the business partners matching all the search criteria are thenselected.

Further information
You can search for a business partner with BAPI_BUPA_SEARCH.

Description
You can conduct a search using the address attributes country, region,city, and postal code. If you enter several attributes, they will allbe considered, meaning that they are linked with AND.

Value range
These attributes may contain wildcards, such as "*".

Description
The field COUNTRY_FOR_TELEPHONE allows you to search fortelephone numbers using wildcards. You can search fortelephone numbers using wildcards only if this field is filled.
This field has no other significance and you also cannot make aselection on the basis of it.

Description
The email address (SMTP address) that is assigned to a contact personrelationship can be entered as the search criterion.

Value range
The email address can have the following formats:
local@domain
comment <(><<)>local@domain>
local@domain (comment)

Description
You can enter the telephone number assigned to a contact personrelationship as a search criterion.

Value range
As well as containing numbers, the telephone number can also containcharacters such as "/", "+", "-", ".", ")" and " ".

Description
Table in which messages are issued by the system, for example if anerror occurs or a note is given.

Description
This table contains all business partner relationships that match theselection criteria you entered.
The only information returned is the business partner number of thecompany and of the contact person, as well as the address GUID of theaddress in which the search was successful.