05-04-2007 8:37 AM
Hello,
Is there a BAPI which helps me to find a customer using just a "rough" name? For example, consider a company called Test Corp.
Someone laying down an offer for the company would need to know the customer number for Test Corp in the SAP system. I am trying to build in functionality in an application that helps him find the details of the company based solely on, say for example, "Test".
The entry Test should list all the possible companies (or a single one if so be) for which the details in the SAP system exist.
Is there a BAPI which can help me do such a search?
Sameer
05-04-2007 8:43 AM
Hi,
BAPI_CUSTOMER_FIND Customer Matchcode
BAPI_CUSTOMER_SEARCH Only for ONLINE Store!!! Customer: Find Customer
Reward points if useful..
Regards
Nilesh
05-04-2007 8:43 AM
Hi,
BAPI_CUSTOMER_FIND Customer Matchcode
BAPI_CUSTOMER_SEARCH Only for ONLINE Store!!! Customer: Find Customer
Reward points if useful..
Regards
Nilesh
05-04-2007 8:44 AM
Hi Sameer,
check 'BAPI_CUSTOMER_SERACH'
Reward points if helpful.
Regards,
Hemant
05-04-2007 9:02 AM
Hello,
The BAPI_CUSTOMER_FIND needs me to enter the company code. It is exactly the opposite I am trying to do - find a company code from a simple name.
In the BAPI_CUSTOMER_SEARCH, I need to enter the e-mail address of the company.
Just to make it clear, I am trying to search for a company's code in SAP by just entering (part of) the name. Is there a BAPI which can help me with that?
Sameer
05-04-2007 9:15 AM
Hello Sameer
Perhaps BAPI <b>BAPI_COMPANYCODE_GETLIST</b> may be helpful. The BAPI returns a list of all company codes including their description.
You probably have to split the search for the customer data into two parts:
(1) Search for company code
(2) Search for customer within the selected company code
Regards
Uwe
05-04-2007 9:18 AM
Hi Sameer ,
I dont think there is a BADI which gives a set of values based on a wildcard entry , why dont you select the data directly from table KNA1.
Regards
Arun
05-04-2007 9:32 AM