BAPI for searching a customer?

Hi all,
I have to search for customers in the KNA1 table, e.g. using name, customer number... (all optional, multiple search parameters count as "AND" search), incl. wildcards (--> potentially multiple customers as result).
As the search is initiated from a Java-based web application, I need a BAPI or at least an RFC FM.
Unfortunately, I found no fitting one so far. The next best is BAPI_CUSTOMER_FIND, but it seems to work on individiual fields only, and it only supports OR searches, no AND searches.
Is there a function module already in the system, or do I have to write it myself?
Thanks in advance!
Kind regards,
Dennis

I realized that BAPI_CUSTOMER_FIND returns the customer number as well, so I can use it in general.
But there is still some problems remaining, such as the missing AND operator and the need to afterwards get some details about each customer via JCo calls...
I guess it's best when I develop a custom range selection BAPI.
Kind regards,
Dennis

Similar Messages

  • Required a BAPI for Knocking-off customer items using F-32

    Hi...
    Can any one let me know, Is there any BAPI to post the customer cleared items from J2EE to SAP.
    Or Is it correct to create BDC for resolving the above issue.
    Regards,
    Swathi.

    Hi Swathi,
    Here is my understanding and suggested solution
    1. Are you trying to post payment in SAP, if so then you might as well use the T code F-28 where you will received the payment and simltanously clear the document.
    2. if the point 1 is not right in your case  then you need to think first how will the business would like to upload the payment entry. Becuase as part of normal process business have to upload the payment entry into SAP unless they are trying to post it to a intermidate GL account. If business upload the payment entry then its simple you can just use T code F-28 where you can receive and clear the document togather.
    If you are agreement with wnat I mentioned above then use T code F-28.
    F-32 is used to Clear off balances against two or more line items. But before you use this be sure of the Functional objective.
    Regards
    Paul

  • Need standard BAPI for  Block/Unblock Customer

    Hi All,
    is there Standard BAPI for  Customer Block/Unblock .
    Thanks in Advance.

    Hi,
    below is a useful link which gives a list of bapi's,
    http://www.mysaphelp.com/blog/?p=122
    look out for   V02D                           Customer Master: Read/Block
    might be of some Help...
    Thanks,
    Naren

  • BAPI for Search Help

    Hi Experts!!
    How to create Search help using BAPI ?
    My scenario is: In webdynpro same bapi can be called to find possible f4 value.
    How to do that ? Any Idea pls share ...
    Thanks In Advance.

    This is how u can create "Search Help" for the fields of the ztables that u have created.
    SE11- Create Search Help for 1 field, "Selection Method" box put the Table name to which the field belongs to. "Dialog Type" box write: "Display Value Immediately".
    Search Help Parameter is the Field name for which u want the Help. Tick Imp & Exp options and assign LPOS = 1 and Enter. , save and Activate.
    SE11- Go to the table , Click on the Field that needs to be assigned a search Help....Click at the left side of the Field so that all the corresponding data Elements, Key field etc also gets selected.
    Click on the "Search Help tab" just above the "Data Type " column.
    Put the "Search Help" name that u just created. Mention the Field and Enter. it takes up the required values. Now Copy.
    U can repeat the process for whatever fields u want to assign a Search Help.
    se51- Go to Screen Painter, Select Fields from Dictionary table to which u want search help to be assigned.
    Double click on the Text box of the corresponding field,......> Screen Painter Attributes.......> Search help Text box.........> Enter the name of the Search help that u created for a field.
    Ok....>Save.........> Activate
    http://fuller.mit.edu/tech/search_helps.ppt#260,5,Simple
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm
    Regards.

  • BAPI for searching Goods Movements related to Orders

    Hi,
    I would like to search all Goods Movement related to a certain Order into MM module.
    Does anyone know any RFC or BAPI interface that performs this work?
    Thank you very much in advance.
    Mauro

    Hi!
    Try BAPI_GOODSMVT_GETDETAIL & BAPI_GOODSMVT_GETITEMS.
    This should help.
    Gisk

  • BAPI to search for customer

    dear all
    Iam search for a BAPI  to be used in search for particular customer using one of its attribute wich is stored  in kna1 table
    and also search in its details stored in ADRC taple if possible.       
    and also  BAPI for search for  equipment  using one of its attribute like serial number or sold to party .
    thank you

    Hi lamey,
    the function module BAPI_HELPVALUES_GET has exceptionally good documentation.
    Please read it an makle use of the IMPORTING and TABLES parameters to get what you want:
    *"  IMPORTING
    *"     VALUE(OBJTYPE) LIKE  BAPIF4A-OBJTYPE DEFAULT SPACE
    *"     VALUE(OBJNAME) LIKE  BAPIF4A-OBJNAME DEFAULT SPACE
    *"     VALUE(METHOD) LIKE  BAPIF4A-METHOD
    *"     VALUE(PARAMETER) LIKE  BAPIF4A-PARAM
    *"     VALUE(FIELD) LIKE  BAPIF4A-FIELD OPTIONAL
    *"     VALUE(EXPLICIT_SHLP) LIKE  BAPISHLP STRUCTURE  BAPISHLP OPTIONAL
    *"     VALUE(MAX_OF_ROWS) LIKE  BAPIF4A-MAX_ROWS DEFAULT 0
    *"     VALUE(DESCRIPTIONONLY) LIKE  BAPIF4A-DESCRIP DEFAULT SPACE
    *"  EXPORTING
    *"     VALUE(RETURN) LIKE  BAPIRETURN STRUCTURE  BAPIRETURN
    *"  TABLES
    *"      SELECTION_FOR_HELPVALUES STRUCTURE  BAPIF4B OPTIONAL
    *"      HELPVALUES STRUCTURE  BAPIF4C
    *"      VALUES_FOR_FIELD STRUCTURE  BAPIF4D
    *"      DESCRIPTION_FOR_HELPVALUES STRUCTURE  BAPIF4E
    EXPLICIT_SHLP can be used to specify the search help
    SELECTION_FOR_HELPVALUES can be used to specify complex selection criteria.
    Read the genreal documentaion and the parameter documentation, it has many hints for you.
    Let us know if successful, Thank you.
    Regards,
    Clemens

  • Customer Master BAPI for PI interface

    Hai Frds,
    We are using the PI interface for taking Customer data from Legacy and creating in ECC.  For this we are using BAPIs. We have some BAPIs for customer creation but all are for online creation only. Is there any BAPI for creating the customer through Interface.
    I found one BAPI : /SAPNEA/SMAPI_CUSTOMER_CREATE.
    But its creating the customer with reference customer only. Also there is no Reconciliation Account field which is mandatory for our req.

    we have to send status(both immediate and batch) back to Legacy for each document posted in ECC. If i will use IDOC i have to use one INBOUND IDOC for getting data in to SAP and one OUTBOUND IDOC for sending status(which i have catch from some Ztable)  to legacy . All this is Lengthy process to do. So, we planned to go for BAPIs which will catch status immediately.
    So, Looking for BAPI for customer master.

  • Bapi for customer credit management

    Dear Gurus,
    Can u tell me the bapi for FD32 .ie. customer cedit management.
    If u have any customised bapi then do send me the same.
    Points will be awarded for every try.
    Regards,
    Mohan.

    Hi,
    There is a standard function module 'CREDITLIMIT_CHANGE' which can be used to insert or update credit limits and therefore credit master data.
    Two indicators, UPD_KNKA and UPD_KNKK are available to indicate whether you want to create credit master data or update or delete existing data. UPD_KNKA is for central data and the other for credit control area data.
    There may be technical differences between BAPI and a normal function module, but for all functional purposes this FM can be used just like a BAPI.
    Cheers,
    KC
    SAP SD

  • Reg bapi for xd01 txn

    Dear Freinds,
    Pls let me know the BAPI for XD01 appl ( customer master)
    Regards,
    Manoj

    Tnx for reply...
    But i am having 258 fields to upload fm flat file and all the fields are not in the BAPI function modules ..
    How to get remaining fields which are not in the BAPI FM.
    PLs help

  • Searching for Sales Order for the given Customer PO Number Pattern in BAPI

    Hi,
         I have developed a BAPI which retrieves all the Sales Orders for a given Customer (Sold-To). The Following are the Input Parameters given in the Function Module (RFC).
    Customer Number (Mandatory)
    From Date (Optional)
    To Date (Optional)
    Sales Order Number(Optional)
    Customer PO Number(Optional)
    Now, when the Customer PO Number is populated, it will come as a Pattern, say 9ab* and I need to retrieve all the Sales Orders with PO Number starting with 9ab.
    When I am trying to retrieve, it is giving different set of output based on the Case specified in the Customer PO Number Pattern. Lets say, if I give 9ab, I get 200 Records but if I give 9AB, I get only 5 to 6 Records.
    As I have understood from the Standard Transaction VA03, it has a Search Help VMVAA which retrieves all the Sales Orders for the given PO Number pattern irrespective of the Case, that is Lower Case, Upper Case or Mix of Upper and Lower Case.
    I can see the Code in the Search Help Exit but couldn't find useful piece of code which I can implement in my BAPI to simulate the same.
    Can somebody help me on this?
    Thanks,
    Venkat.

    Hi Sudhir,
             I think you did not understand what my problem is. What I mean to say is, for Customer X, the PO Number could be 9abc and for Customer Y, the PO Number Could be 9ABC.
           So, according to your logic, if I translate it to Upper Case, it will give the Sales Order details of Customer Y to Customer X.
          And more over, SAP stores the PO Number as it is entered in the Sales Order Screen (VA01).
        What if the Customer PO Number for Customer X is 9aBcDeFgH? and the PO Number for Customer Y is 9AbCdEf?
       Hope you've understood my question.
    Thanks,
    Venkat.

  • Bapi for customer scheduling agreement

    hi ,
    please tell a bapi for customer scheduling agreement(va31).
    Thanks,
    sridhar

    Hi Reddy ,
    what happend ? u told that u got the BAPI ?
    i already seen that FM ,Do one thing ? search for COMMIT WORK in VA31 program , i think u will get some idea.
    regards
    Prabhu
    Message was edited by: Prabhu Peram

  • BAPIs fpr T-Codes FV70 and FV-75 for creation of Customer Invoices

    Hi all,
    Can any1 tell me Validation BAPIs for T-Codes FV70 and FV75.
    Please bear the following points
    1. The BAPI should NOT create Parked Customer Invoices, they should just validate that the data to create the customer invoice.
    2. The Transaction are used for CUSTOMER invoices NOt Vendor.
    3. I've searched SDN and I got the follwing BAPIs 
                  a. BAPI_INCOMINGINVOICE_PARK
                  b. MRM_INVOICE_PARK
                  c. MRM_PARKED_INVOICE_ACCDATA
    But they are all for Vendor Invoices and CREATE parking invoices, Both the things I do not want.
    If someone knows the name of the BAPI please forward to me at the earliest.
    Cheers
    Abhishek

    Hi Eric,
    Many thanks, I'll check the BAPI out, meanwhile can u also tell me whether there is a BAPI for creating Parking documents, i.e. BAPIs for T-Codes for FV70 and FV75.
    I've tried to find a lot about this, but they say that BAPIs are there for only posting, not parking the Customer Invoices.
    Cheers
    Abhishek

  • BAPI for customer scheduling aggrement (VA31)

    Hi,
    I want to create customer scheduling aggrement using BAPI, but i hav't find any BAPI for this.
    So please tell me is their any BAPI available to create scheduling aggrement.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Thanks,
    Rahul
    Edited by: Alvaro Tejada Galindo on Aug 22, 2008 4:21 PM

    Dear Jelena,
    'BAPI_SAG_CREATE' is used for creating Purchase Scheduling Agreement Tcode u2013 ME31L but my requirement is for creating customer scheduling agrrement Tcode - VA31.
    Pl. confirm is it possible to use the above BAPI for VA31 or not.
    Thanks,
    Rahul

  • Standard or Customizing Bapi for T-code F-44

    Hi
    I need to clear vendor open invoices using BAPI's for T-code F-44 .I've got through various FM like <b>bapi_acc_document_post</b> and <b>bapi_ar_acc_getbalanceditems</b> but could'nt find solution because this FM's are for customer clearing the open items from table BSAD(cleared accounts of customer).Have any boby worked on this tcode to clear vendor accounts using bapi's or do we have any standard FM to use the scenario same as FM mentioned above for table BSAK(vendor clear items).
    Its really simple working with bdc's to transfer data from flat file to the above transaction.But as known every vendor has huge sets of items and this could be a huge performance issue....so to avoid this in future we need to work on this using exclusively BAPI's......Any suggestions or sample codes wud surely be appreciated....
    Thanks in Advance......

    hi,
    look here
    Re: BAPI for transaction F-03
    <b>Reward points</b>
    Regards

  • Getlist bapi for customer based on sales org, distbtn chnl

    Hi,
        Is there any standard BAPI for customer Getlist , i want to filter based on distribution chanel and sales org and divison.
            Now am using BAPI_CUSTOMER_GETLIST  its showing all customer list i want to filter this based on distribution chanel and sales org and divison.
    Thanks ,
    Arun

    Hi Siva : )
    In VK11 we have a key combination radio button called Country/ Destination Ctr./Plant/TaxClCust/TaxClMat.
    I think it might be a custom key combination (so you might have to create a siliar one for yourself), but basically all I had to enter there was Country = GB, Destination Coutry = GB, plant SORG1 (it's called the same as the sales org and is linked 1-1), tax classification on Customer = 2 (because I want the central setting on the customer to be 2 = ICO, no tax), tax classification on material 1 = full tax goods and enter relevat tax code.
    Hope this helps.
    It worked for me.
    Kind regards,
    Tanja

Maybe you are looking for

  • Macbook Pro dark screen after disconnecting from Cinema Display

    Dear all, the issue I am having: - after disconnecting from Cinema display (having first put my Macbook Pro in "sleep" mode) I just ca't make the Macbook pro scren show anything....black display - but is it really asleep? NO!!! It just STILL believes

  • Screensaver starts while watching a DVD!

    Is there any way to stop the screensaver activating while watching a DVD in DVD Player... besides disabling the screensaver altogether? I wouldn't normally use a screensaver at all, but my Mac MIni is connected to a plasma TV, and I just want to make

  • TS1702 I installed an app and tried to do an in-app purchase and it froze

    I installed an app and tried to do an in-app purchase and it froze, now it crashes every time i try to open it... Ive reinstalled the app as well as restarted my phone even , i5 iOS 7

  • Merging 2 DSO data to another DSO

    Have a query w.r.to merge of DSO data. DSO 1 100    10    ABC  24.5 100    20    DEF  35.6 DSO 2 100   10  1001  56.8 100   10  1002  58.9 Now, in DSO 1, 100, 10 are header and item which are keys In DSO 2, 1001, 1002 are document no so 3 keys. Howev

  • Premium Messaging Charge / Blocking

    Last month, my bill was roughly $10 higher than normal. As I reviewed my bill, I found a premium messaging charge for $9.99 for some Quiz4Now thing. Knowing that I would never sign up for anything like that, I called Verizon who was to put a block on