Fonction SAP BAPI_BUPA_SEARCH - SAP BP, BAPI: Search Business Partner for Telephone, E-Mail, Address

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDRESSDATA BAPIBUS1006_ADDR_SEARCH u 78 X Different Address Attributes
BUSINESSPARTNERROLE BAPIBUS1006_HEAD-PARTNROLE C 6 X Business Partner Role
CENTRALDATA BAPIBUS1006_CENTRAL_SEARCH u 121 X Different Central Business Partner Data
COUNTRY_FOR_TELEPHONE BAPIBUS1006_COMM-COUNTRY_FOR_TELEPHONE C 3 X
EMAIL BAPIBUS1006_COMM-E_MAIL C 241 X Internet Mail (SMTP) Address Search Field
FAX_DATA BAPIBUS1006_FAX_DATA u 33 X
OTHERS BAPIBUS1006_OTHER_DATA u 8 X Other parameters
TELEPHONE BAPIBUS1006_COMM-TELEPHONE C 30 X Telephone Number
URL BAPIBUS1006_COMM-URL C 50 X URI address search field

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 BAPI Return Parameter
SEARCHRESULT BAPIBUS1006_BP_ADDR 53 Search Result

Functionality
Using this function module you can search for business partners.
The search criteria you can use are the telephone number, email addressand the address attributes country, region, and postal code. Othersearch criteria are central business partner data such as businesspartner number, and match code fields MC_NAME1 und MC_NAME2. You canuse the partner role to limit the hitlist even further.
The telephone number and the email address must be totally accurate,but address attributes and central data can contain wildcards, such as"*".
All the business partners matching all the search criteria are thenselected.

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 by AND.

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

Description
The business partner role is just an additional search criterion tolimit the hitlist even further. It should not be used as the onlysearch criterion.

Description
Here you can enter the business partner number, or the matchcode fieldsMC_NAME1 and MC_NAME2 as the search criteria. In the case oforganizations, the matchcode fields are the central fields NAME1 undNAME2, whereas with persons, the system looks for the first and lastname.

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

Description
The field COUNTRY_FOR_TELEPHONE lets you use wildcards to searchfor telephone numbers. This field must be filled to enable the wildcardsearch.
This field has no other meaning, and you cannot use it to makeselections.

Description
Here you can enter the email address (SMTP) address of a businesspartner as a search criterion.

Value range
The email address can have the following formats:

  • local@domain

  • comment

  • local@domain (comment)
  • Description
    You can enter the telephone number of a business partner as a searchcriterion.

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

    Description
    You can specify the URL address, in other words the home page of abusiness partner, as the search criterion.

    Value range
    The system only looks for the first 50 characters of the URL address.

    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 the business partners that match all of theselection criteria you entered. The only information that is returnedis the business partner number, and possibly the address GUID for theaddress in which the search was successful.

595442Poor performance for 'Partner by Address' search help
493639 SAP BP: BAPI_BUPA_SEARCH: Performance
732143API, CIC0: No partners found after Support Package import
555241 SAP BP: BAPI_BUPA_SEARCH: Perfrmce(Search for country and..)
573905Performance problems during the BP search
552957 SAP BP: Performance BAPI_BUPA_SEARCH (*-Search for partners)
513052 SAP-BP: BAPI_BUPA_SEARCH: Search for postal code & MC_NAME1
496777 SAP-BP: BAPI_BUPA_SEARCH: Performance (unnecessary SELECT)
489074 SAP-BP: Performance problem BAPI_BUPA_SEARCH