BAPI or RFC to get  vendor details  by using search pattern?

Hi Gurus, Basically  10qs  to everyone for giving wonderful co-operation..
problem:here input parameter im giving  vendor  type  char(35)
                      output  in table i need  to get  all the vendor  for matching pattern.
ex: input param  im ginving  31* for  vendor id
then i need  to get  all  the vendor ids  whoose start from 31  and its address details
in a output table.so could any one tel me  any Standard RFC or BAPI for satiesfying
this requirements.
in the same way i need to give  input param  as  A* then i'll get  all the vendors
whoose name start  with  A and its  address  details in output table.
Thanks in advance.
sivakumar
Edited by: siva kumar kasa on Oct 23, 2009 9:15 AM

10q u for responding..
i have an  internal table  with  all  the vendor details  (all  the vendors  from master table) by calling
the FM "BBP_VENDOR_GET_DATA2".
problem:here  im giving input  pattern  as   vendor  type  char35.
e.g: im giving  input  as   31*   then i need to get  all the vendors  whoose  vendor id start from 31
      and  whoose  name  start  from  31.For that  i need to write  code  on that internal table.
so how can i check  those two fileds  LIFNR   AND  NAME1   with  input parameter  value.
so could u tel me any sample example  on the internal table to get  details by comparing
two columns  with input parameter  as with pattern matching..
Tahnks in Advance.
sivakumar

Similar Messages

  • RFC - to get the Details

    Hi SDN
           I've created a RFC which will update six different ztables with key as Purchase requisition number. The inputs for the tables are paased through the Input parmeters and the Ztable are getting succesfully updated.
    Now the questions is .. as it is a RFC , the data comes from an web application that should call this RFC and update the Ztable.
    I've worte the logic.
    But , now , how to catch the data coming from the Web application.
    From Where the Data comes.
    Who is sending the Data.
    From Which IP the Data comes.
    The Log of the Data. and so many.
    apart from the Data that needs to updated in the table , other general data reg the properties of the RFC needs to be stored in another Ztable.
    how to go with this.
    Do updtae.

    Hi,
        Please go to se37 -enter you FM in change mode
                                     - go to utility-more utility-create web service-from FM
    Regards,
    Hardik

  • Function module for getting Vendor Address details

    Hi,
    Im new to this group,and new to ABAP
    plz hep me out by solving ABAP Query...
    i want to generate a report for getting Vendor Details
    like Vendor address,Ph num and Email
    input fields are Company code,country key and Account Group.
    im Using Smart Forms for this..
    but im not getting the Exact Function module to get All Required Details..
    regards
    Smitha

    thanks for ur quick reply...
    SELECT SINGLE LIFNR
      FROM LFB1
      INTO V_LIFNR
      WHERE BUKRS EQ V_BUKRS.
      CALL FUNCTION 'VENDOR_READ'
        EXPORTING
          i_bukrs         = V_BUKRS
          i_lifnr         = V_LIFNR
        EXCEPTIONS
         NOT_FOUND       = 1
         OTHERS          = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    this is the code i have written...
    but my problem is there no table in the Function module....
    for Example...
    CALL FUNCTION 'QPAX_PLMKB_READ_FROM_PLKO'
        EXPORTING
          i_plnty            = 'Q'
          i_plnnr            = V_PLNNR
          I_PLNAL            = V_PLNAL
          i_sttag            = V_DATUV
       TABLES
        T_PLMKB_TAB        = IT_TAB
    i want the function modules with tables and proper input...

  • Vendor details using Header GUID.

    Hi All,
    Can any one please tell me how to get Vendor details using Header GUID.
                                                            or
    Please tell me how can we fetch data from CRMD_PARTNER wiht Header GUID?
    Regards,
    Yugesh A.

    Hi Reddy
    see kathir reply on this link
    CRMD_PARTNER Table with Other table relations

  • RFC to get the Vendor Master details

    Hi Experts,
    We have a requirement to create an RFC to get the Vendor Master details (Used for Searching the Suppliers), where the Input criteria : Vendor Name(First Name & Last Name), City, Purchase Organisation and the corresponding output is Address Data, Central Data, Bank Information, Sales Data of Customer. Is there any standard report or function module we can use for this requirement.?
    Thanks & Regards
    -Asim

    Hello,
    You may need to write your own RFC with the interface that you want. If all the input parameters are obligatory then you can use the following logic
    Select the vendor numbers from table LFA1 based on the name and city.
    Us these vendor numbers with the purchase organization from the input parameters and filter them using the table LFM1.
    Now the result will be all vendor numbers with the name specified in the city for the specified purchase organization.
    That may be multiple vendors so run a loop and inside the call the RFC BAPI_VENDOR_GETDETAIL and pass the vendor numbers to get the other details.
    Hope this helps in solving your query.
    Regards,
    Sachin

  • BAPI to get PO details of a VENDOR

    Hi All,
    Is there any BAPI to get the PO details of a VENDOR ?
    While executong the BAPI it should ask for VENDOR number and for that vendor number it should show all the PO numbers.
    Let me know if their any BAPI similar to the above requirement.
    Thanks & Regards,
    Sabu

    Hi,
    try this FM  WRB_PO_GET_DETAILED_VENDOR
    here u'll get PO Detail of that vendor and other detail also.
    hope it'll help u.
    Regards,
    Sneha.
    Edited by: sneha kumari on Jul 8, 2009 2:52 PM

  • BAPI or Function Module to Update Vendor Details

    Hi Friends,
    I need to update Vendor Details (Street) in my program using a BAPI or Function Module. Is there such thing available which can do my job?
    Regards,
    Raju...

    Hi,
    Thanks for the Reply.
    I tried to use the FM Vendor_Update... It updates the adrress field in the table LFA1. But it is not reflected in the transaction FK02.
    So, Is there any thing that I have to do after the FM Vendor_Update is called so that the address field is also get reflected in address field of FK02 transaction.?
    Regards,
    Raju...

  • BAPI to get Invoice Details based on PO Number

    HI,
    Is there any BAPI to get Invoice Details based on PO number. If so could you pls let me know that.
    Regards,
    Ramesh

    Hi Ramesh  ,
    there is no Direct BAPI to get the List of Invoices ,But based on the Vendor list u can get the List .
    pass Vendor list , Document Dates.
    <b>BAPI_INCOMINGINVOICE_GETLIST</b> for more info check the Documentation of this FM.
    Regards
    Prabhu

  • Get vendor number BAPI or functional module

    Hi,
    I recently found one standard functional module(or BAPI) to get vendor number if i pass user ID and i forgotten to make a note of it.
    I couldn't able find this functional module(or BAPI) again SRM system. can anyone help in finding this functional module(or BAPI).
    any help is appreciated.
    Thanks,
    Murali.

    Hi
    What's your detailed requirement ? Which SRM and R/3 versions are you using ?
    <u>Incase you want SRM local Vendor details use the Function module BBP_PARTNER_GETDETAIL</u>
    <b>Otherwise, go for META function modules to fetch R/3 data from SRM System.</b>
    <u>Meta functions (similar to BAPIs) are generic call to external system. Depending on system kind and release, the function to call is different. The bapi that the Meta will effectly call in a backend is defined in table bbp_function_map.</u>
    <b>Other related links -></b>
    Function Module to send Vendor Master Data from SRM to ECC
    Partner GUID and partner function
    Changing vendor number in BE PO
    Re: BAPI before sending PO to R3 and Vendor
    Hope this will definitely help.
    Regards
    - Atul

  • How to get more detailed info while running a BAPI in test mode

    Hi friends
    I am trying to test 'BAPI_QUOTATION_CREATEDATA2' by opening the BAPI with 'se37' and then clicking on the button Test/Execute (F8) and entering all the data required.
    However, I get a message as follows.
    '555 The sales document is not yet complete: Edit data'
    While creating the QUOTE manually using 'va21' I get more detailed messages like what kind of data is missing 'whether valid to date is missing ..etc.etc.'.
    However, while testing thro' bapi, all it says is that sales document is not complete.
    Is there a way to see more detailed info as to what information is missing, so that I can put them before running.
    Your feedback or suggesions will be highly appreciated.
    Thansk
    Ram

    Thanks Rob
    Actually it says
    W  V1   555  The sales document is not yet complete: Edit data.
    As I said, I am running the BAPI manually by opening the BAPI using SE37 and then clicking on the F8 button. This inreturn will give me an opportunity to click on different object trees to enter the sample data. So I have entered everything that I thought was needed. But still it keeps complaining that the info is not complete but no further details.
    Hope there is some log file or something that I can see to get more details.
    Thanks
    Ram

  • Getting vendor name and addreess and as well Emp name &address details

    Hi Experts,
    1.Can any one help to fetch Vendor name and address details based on LFA1 and  ADRC tables.
    2.fetch  employee name and address details based on PA0001 and  PA0006 tables.
    Please tell me the addres field of a  employee in PA0006 table.
    Thanks
    Nagraj

    Vendor & Addr details
    Get Vendor Number from Lfa1-lifnr
    pass that to table lfa1-adrnr     "Address Number
    pass that address number to adrc-ADDRNUMBER
    get all address details from ADRC Table
    Employee Details:
    we have Personnel number is common in between PA0001 and PA0006 tables.
    so first we need to get Personnel number .
    after that we can get employee details from both tables.
    we will get Personnel numberfrom PA0003 table.

  • What is the BAPI name to get the details of sales order

    hi
    what is the BAPI name to get the details of sales order

    hI
    BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data
    BAPI_ORDER_CHANGE_STATUS_GET Change status for order
    BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document
    BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
    BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance
    BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer
    BAPI_SALESORDER_GETSTATUS Sales order: Display status
    BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
    reward points to all helpful answers
    kiran.M

  • How to get PO details from SAP to VB using BAPI control

    hi friends...
    My requirement is
    In VB(Visual basic)  i will enter PO number, for that PO number i want to fetch the data from SAP to VB.
    How to get this using BAPI Control in VB.
    From SAP point of view, i checked SWo1, there standard Object (PurchaseOrder)-Method GetDetail is there.
    but my doubt is how to pass the PO number to which parameter...
    i dono how to use that standard Object (PurchaseOrder) in VB...
    can you guide me plz..
    regards
    deva

    Hi,
    You need to get .NET connector and use this in your VB.
    h6.
    The SAP .NET Connector is a development environment that enables communication between the Microsoft. NET platform and SAP systems. This connector supports RFCs and Web services, and allows you to write different applications such as Web form, Windows form, or console applications in the Microsoft Visual Studio.Net. With the SAP .NET Connector, you can use all common programming languages, such as Visual Basic. NET, C#, or Managed C++.
    In short it will make your VB talk to SAP.
    http://www.service.sap.com/connectors
    Regards,
    Firoz.

  • BAPI , BAPI_PO_GETDETAIL1 to get the detail of a PO.

    hi gurus can you please tell me how to write a program using  BAPI , BAPI_PO_GETDETAIL1 to get the detail of a PO.

    Hi,
    Go throgh the FM documentation or the link
    [http://abap.wikiprog.com/wiki/BAPI_PO_GETDETAIL1]
    you will get the detail.
    Regards
    Sandipan

  • What's the bapi for getting document details ?

    hi,
    i'm trying to do F-22 things through BAPI, but there's one field in some screen that i can't find relative field in any structure of BAPI para., so i tried to get the details of the document created by F-22 to find where the field i'm looking for is stroed.
    so would you please tell me the bapi for getting document info.?
    thanks!

    Hi,
    Have you solved your problem?
    If not:
    Have you tried to debug your application and see what you have in your object just after doing GetByKey?
    The GetByKey method returns true if it founds the object, false if the key does not exist.
    In the DI Help File it is specified the key for a payment is the DocEntry...
    Regards
    Trinidad.

Maybe you are looking for

  • I see apple picture on display

    i see apple picture when display my macbook air  off. it is a cool thing from aplle or i have broken display. Thancks

  • I can't open CS5 documents in CS4

    I can't open CS5 documents in CS4. I know I need to update my plugins, but when I go to updates it says there are none. I have a hardcopy of CS4, is there a way to download CS4 electronically so I can receive all the updates I need? I have no idea ho

  • "enter" key in Mac Mail erratic (in preview pane)

    Hi, I finally moved from Snow Leopard to Yosemite. I noticed that the behavior of the 'enter' key (the misnamed key that should be called 'return', #1) when used in the message preview pane is erratic. Hitting 'enter' always deletes the highlight mes

  • Are we close to native DivX support in Adobe Media Encoder?

    Well Premiere has leaned on Mainconcept codecs for most of encoding/decoding and now when Mainconcept is owned by DivX in probably won't be long to see DivX supported in Mainconcept codecs. That would be very good I think, as no other compression cur

  • Can't install CC apps.  Created a support package 40-83419-223817072013.

    Purchased CC today on the annual plan. Tried to install one of the applications. Can't complete the install / update of Application Manager. At one point was getting error code "A12E1". Followed various guidelines in user forums and finally got "Inst