Skip to Content
author's profile photo
Former Member

Bapi to search customers

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Jan 10, 2005 at 03:58 PM

    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

    Add comment
    10|10000 characters needed characters exceeded