Create a vendor inquiry with a BAPI or FM like ME41

Hey Team ABAP,
i am a bit lost. I am trying to create a vendor inquiry, which you normally do with ME41. Problem is that i Need to do it in via coding.
Call Transaction or Batch Input are not really chances i can Approach.
Since they are stored in EKKO/EKPO like purchase orders i tried to use BAPI_PO_CREATE1.
I fill it with fields where i think ist needed, but as a return message i only get a message like "No instance of object purchase order got created".
This Kind of message isnt really helpful. Reading through the documentation of said BAPI i am not sure anymore if it can be used at all to create something else than purchase orders.
Anyone got some expierience with this subject and wants to help me?
I dont need coding or stuff like that, but if someone knows a BAPI or FM that i can use i´d be greatful.
Thanks for reading
Florian Kemmer

Id don't know such ME41 BAPI, only BAPI_PR_CREATE PurchaseRequisition, BAPI_CONTRACT_CREATE PurchasingContract, BAPI_SAG_CREATE PurchSchedAgreement, BAPI_PO_CREATE1 PurchaseOrder.
In ECC-DIMP there is a released FM : BS01_MM_QUOTATION_CREATE, but if you don't have DIMP...
So I can only suggest you look thru SE80 at objects available on your system in application MM-PUR-RFQ.
Regards,
Raymond

Similar Messages

  • Create a vendor bank account by BAPI with LFBK

    Hi forum
    Someone knows how to create a vendor bank account by BAPI ?
    with data from LFBK
    thnks
    Josué Cruz

    Check with below FM:
    FLBPC_MAINTAIN_VENDOR_SAVE
    Thanks
    Seshu

  • FB01 - Create an outgoing payment with a Bapi

    Hi there, I'm trying to simulate outgoing payments with BAPI_ACC_GL_POSTING_POST but I'm finding problems, does someone knows if this is the right bapi ??
    I'm finding problems 'cause the bapi needs a gl account but I have to put the vendor code and I don't know if I'm doing right, I'm putting the code for the items (25 and 50) in the accountgl-doc_type field.

    You don't need to put posting key ( In fact with the Doc Type and the amount sign +/-, the Bapi deduce posting keys )
    For the header you need :
    [code]
      documentheader-obj_type = 'BKPFF'.
      documentheader-obj_key = '$'. " If external Num.
      CONCATENATE sy-sysid 'CLNT' sy-mandt INTO documentheader-obj_sys.
      documentheader-username   = sy-uname.
      documentheader-bus_act    = 'RFBU'.
      documentheader-header_txt = s_notilus-header_txt.
      documentheader-comp_code  = s_notilus-comp_code.
      documentheader-fisc_year  = sy-datum(4).
      documentheader-doc_date   = s_notilus-doc_date.
      documentheader-pstng_date = sy-datum.
      documentheader-doc_type   = s_notilus-doc_type.
      documentheader-ref_doc_no = s_notilus-ref_doc_no.
    [/code]
    Hope it helps
    erwan

  • Making PAN Number Field MANDATORY while creating a Vendor

    Dear Experts,
    I want to create a Vendor Master with PAN Number Field Mandatory.
    Is there any input for making PAN Number Field Mandatory at the time of creating a vendor.
    Regards - Manjunath

    Hi Trivedi,
    I tried the user exit. But it is pulling the values.
    Please find the coding here
    IF j_1imocust-j_1ipanno = ' '.
      MESSAGE e007(zmsg).
    ENDIF.
    We are not abe get the PAN vanue in  j_1ipanno  field.
    Looking for your help .
    Pleas guide.

  • BAPI/function module to create/update vendor master data

    Hi
       We are on ECC 50 and have a need to update vendor master data through a programatic interface ( non-dialog ) with ABAP. What is a good function module that can be used to create/update vendor master data - I looked at BAPI_VENDOR_CREATE and did not find any input interfaces that can be passed to this BAPI.
    Previous experiences with the right BAPI for this purpose that can be shared is appreciated. <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Feb 26, 2008 5:58 PM

    Hi Kiran,
    If you want to load the vendor data into sap its better to go with LSMW batch input program.
    object 0040
    method 0001
    program name RFBIKR00
    Program type B
    this would be a good choice. Recently i did the same.

  • Creating Vendor Credit Memo Using BAPI  BAPI_ACC_DOCUMENT_POST

    Hi,
    I want to create a vendor credit memo using the bapi BAPI_ACC_DOCUMENT_POST but with posting keys as 21 and 50.Is it possible to do so.I tested the bapi passing the data to the accountgl table.Do i have to pass data to another table ?

    hi Eric,
    I even tried passing the data to the accounts receivable and accounts payable tables passing the GL account no in these tables.Still teh document get posted with keys 40 and 50.Also the credit entries should be assigned to COPA segment of sales order/item.
    The vendor credit memo should look as follows look as follows:
    Dr Vendor (PK = 21) $ 35,000
    Cr Freight expense account (PK = 50) $ 10,000……….assigned to COPA segment of sales order/ item 20000397/10
    Cr Freight expense account (PK = 50) $ 5,000……….assigned to COPA segment of sales order/ item 20000397/20
    Cr Freight expense account (PK = 50) $ 20,000……….assigned to COPA segment of sales order/ item 20000398/10

  • BAPI for create/Update Vendor Partner functions (XK02)

    Hi,
    We have a requirement where in we need to update the partner functions of a vendor (table WYT3), transaction XK02.  Is there any BAPI to do so?
    Regards,
    Vinod Nagre

    Hi
    Can you help me, how is possible update vendor data using net. connector with RFC function (or some another way to update vendors data from 3th party program). Up to now I read only data from LFA1 using net. connector (using RFC function RFC_READ_TABLE) and now I need update vendor data (e.g. NAME1, NAME2, ADRNR etc. from LFA1)
    Our SAP system contains very much duplicate record (many LIFNR has the same STCD2, STCEG etc. but different NAME1 who contains typist's error or something like this. 6000 vendors has 1700 duplicates and incomplete record). Our Administrator don't know how set up SAP so that impossible create duplicite vendors! Because our system SAP contains very, very, very much elementary error, this system is not helpfull for our company.
    Thank you

  • How to create a Contract with reference to a Sales-Order(VA01) with a BAPI

    Hi,
    my name is Wadim and i need help.
    My problem:
    I am creating a sales-order(VA01) with the BAPI 'BAPI_SALESORDER_CREATEFROMDAT2'.
    After that i have to create a contract(VA41) with reference to this order. I found the BAPI "BAPI_CONTRACT_CREATEFROMDATA" and it has the same interfaceparameters like the salesorder-bapi. but there are no parameters to get a connection to the sales-order.
    Is it even possible to get a connection to a sales-order with a bapi???
    thanks for help
    regards mark
    Edited by: Krapp Wadim on May 20, 2010 9:19 PM

    Hi Wadim,
    I have a similar requirement to create order lines in an existing contract with reference using  BAPI_CUSTOMERCONTRACT_CHANGE.  The order lines get created in the contract. However, the condition types from the order line which i'm referencing are not getting referenced and are not getting added in the Contract's line after referencing.
    Did you come across any such issue ? If yes , could you suggest the solution ?
    Regards,
    Venkat.

  • Find a bapi for Creates a Goods Receipt with correspond to Inbound Delivery

    hi expert!
    exist a bapi for tcode:MIGO_GR ( Goods Receipt with correspond to Inbound Delivery)
    i know one bapI  BAPI_GOODSMVT_CREATE can Creates a Goods Receipt,
      but i can't know to use it to Creates a Goods Receipt with correspond to Inbound Delivery.
    or other bapi exist for MIGO_GR?
    Best Regard!

    Hi Vatcan,
    Chek the Inbound Delivery 1st weather you refer the right PO in it
    You can also chek in  PO i
    1 Me23n Go to confirmation tab here you can see the  Inbound delivery  quantity
    2 Chek  which reference document you recived the goods,  (i.e You recived the goods with reference to PO or  Inbound delivery)
    2 Coz if you refer the inbound delivery then syestem will deafult show the inbound quanity
    And yes the actual quanity will update in inbound delivery if you refer the inbound deivery while reciveing the goods

  • Create a Sales order with reference to another sales order  using BAPI

    Dear All,
    Can any one tell me what are all the parameters required to create a Sales order with reference to another sales order using BAPI_SALESORDER_CREATEFROMDAT2....
    Thanks in advance

    Hi Madhan
    Thanks a lot for your reply.
    However, I would like to know which parameters need to passed in this BAPI in case of SO creation with reference. I beleive there are only a few parameters that need to passed in ORDER_HEADER_IN, ORDER_ITEMS_IN, etc.
    Need to know exactly which are these parameters.
    Regards
    Mihir Shah.

  • FM/BAPI to create Transfer Order(TO) with reference to TR or Material Doc.

    Hi,
    I am in need of Function module or BAPI to Create Transfer Order(TO) with reference to Transfer Requirement(TR) or Material Document.

    Hi,
    Please try any of the below,
    1.Look at function group L03B (Transfer order processing)
    2.Use L_TO_CREATE_TR
    3.BAPI_GOODSMVT_CREATE set:
    GOODSMVT_ITEM-STGE_TYPE_PC = destination storage type or GOODSMVT_ITEM-STGE_TYPE_ST = destination storage type
    4.Look at fm L_TB_VERAENDERN. This isn't RFC, but you might copy fm into ZL_TB_VERAENDERN and set RFC on.
    Hope this helps.
    Thanks,
    Harini

  • BAPI to create a billing document with reference to delivery or sales order

    Hi,
    Does anyone know any BAPI or function module that allows the creation of a billing document with reference to a sales order or to a delivery.
    Maybe the BAPI_BILLINGDOC_CREATEFROMDATA may be used to create a billing document with reference to a sales document, but i'm looking for a solution where I only need to indicate the number of the reference sales order or the reference delivery and maybe some few data more without the need of transfer all the items and conditions information.
    Thanks.
    Kind regards,
    Paulo Sousa

    Hello Paulo,
    To create a billing document based on a delivery use BAPI_BILLINGDOC_CREATEMULTIPLE. In table BILLINGDATAIN insert one line with the following data:
    REF_DOC = Delivery number
    REF_DOC_CA = 'J'
    If it runs fine, table SUCCESS will bring back useful data, like BILL_DOC (Billing document number).
    Regards,
    Joã

  • How to create an uwl with a BAPI

    Hi Experts!!!
    I need someone that say me, how to create a task in the uwl with a bapi or program.
    Thanks in advanced,
    Regards,

    Hi Carlos,
    Do you have the javadocs?  It contains information in regards to the UWL API.
    http://help.sap.com/javadocs/NW04S/current/uw/overview-summary.html#Service Component Collaboration
    What is the necessity to create a task from a BAPI or from a program?  If the task is in the backend inbox (SBWP) once UWL is configured properly it will also be created in the worklist. 
    We use SWK_LOCAL_INBOX_GET to pull back the list of tasks
    We use the following wapis for the following purposes:
    SAP_WAPI_GET_HEADER to retrieve the from value
    SAP_WAPI_GET_OBJECTS to retrieve the attachment information
    SAP_WAPI_WORKITEM_DESCRIPTION to retrieve the task description text
    Have a look at the page that I sent you above.  This gives great information on the UWL structure and how it works.
    Please let me know if you require any additional documentation.
    Beth Maben
    EP - Senior Support Consultant
    AGS Primary Support, Business Suite & Technology
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • Created a standard Inquiry (IN) with price but the price not copied to quotation

    I created a standard inquiry of type IN and entered price for my items in inquiry.
    Now, I am creating a quotation with reference to inquiry. On the quotation landing page, everything like material, quantity, sold-to, ship-to are copied but the price is not copied.
    Is this common or am I doing anything wrong ?

    Dear Dharma Penugonda
    In VTAA T.Code you can check it  Price type B For your item cat
    Any in your item category please check Pricing option what you have mentioned T.code  VOV7
    By the By all the best  .. For your future But before asking Basic questions please check in Google
    I am a newbie to this course and community
    Thanks a lot , i hope you understood

  • What bapi or FM can create/change vendor master data?

    We want to do a rfc to create/change vendor master data .If use BDC,the change function is very very complex,but i can't find any BAPI/FM in sap!

    >
    Keshav.T wrote:
    > Hi,
    >
    > just some more addition to vinodh's reply . the actual method you must is maintain_bapi of class vmd_ei_api
    Hi Keshav - you should have noticed vinodh's reply came from something your wrote earlier this year: Search BAPI to create Vendor in ECC and from an extenal application

Maybe you are looking for

  • ITUNES 10.6 is not installing for windows 7

    ITUNES 10.6 is not installing for windows 7;

  • What are the files we need to run for to use dbms_java package..

    Hi, I want to call java class files in PL/SQL code. I have created the .class file while loading into oracle, showing an error saying that DBMS_JAVA.SHORT_NAME must be declared and some errors like java/io/lang,, Please tell me the necessary packages

  • Audio and Video out of sync in shared iMovie file

    Hey Guys - Quick question, I've created a new trailer in iMovie, all works fine but the audio and video is out of sync in the shared file. How to fix it? Thank you MondCharlie

  • F4 help for assignment field in F-02

    Requirement is to attach a drop down help to assignment field (ZUONR) in F-02. This F4 should be visible only when special G/L indicator filed is ticked. How this can be done any BADI or screen -exit for this. Thanks Pt

  • How can I define a new Search Node type?

    Hi experts! I'm trying to modify PPOME transaction, but I can't create a new Search Node type. Can anybody give me the necessary steps I have to do? Other question, Is it possible to create a new Search Node for a Organizational unit? Or this only co