cancel
Showing results for 
Search instead for 
Did you mean: 

Bapi to search customers

Former Member
0 Kudos

Hi,

I'm looking for a BAPI to search for customers by name. I have tried BAPI_CUSTOMER_FIND but can't get it to work.

Best Regards

Mattias

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member

Mattias i've test the BAPI and works find, let me tell you how i filled the tables:

In the Import Parameters:

MAX_CNT = <b>100</b>

PL_HOLD = <b>X</b>

In the Tables

SELOPT_TAB-COMP = <b>THE KNA1-BURKS</b>

SELOPT_TAB-TABNAME = <b>KNA1</b>

FIELDNAME = <b>NAME1</b>

FIELDVALUE = <b>A</b> (with the '* char').

The result was the table "RESULT_TAB" with all the customer that had an "A" in the Name, also, you can use the char '+' to search another value, just like you use it in a web search.

😃

Regards

Carlos

Former Member
0 Kudos

I didn't see PL_HOLD=X

Now everything works fine, thank you.

Message was edited by: Mattias Johansson

Former Member
0 Kudos

You're Welcome.

Just for the record, the PL_HOLD when you mark it with 'X', then your Meta Char. is Permitted