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 postal code.
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 then selected.
You can search for a business partner with BAPI_BUPA_SEARCH.