BAPI  bapi_vendor_create

Hi,
I was under impression that BAPIs are screen independent.
But I guess there exists BAPIs which can call the screens online. e.g. BAPI_VENDOR_CREATE allows u to call transaction XK01 and thus create vendors.
The question here I have is, should I call this BAPI from outside like using JCo. What will be effects of calling such BAPI from outside ?
Regards,
Nitin

Hello Nitin,
you are right.This BAPI opens only the vendor dialog for xk01.You need an SAPGUI for using it.
I tried to use it via RFC from a NON-Sapgui Client and i get an "ABORT_MESSAGE_STATE".
I don't know,why the SAP make such a crazy BAPI
Greetings.
Frank Brackmann

Similar Messages

  • Problem in adobe using  bapi BAPI_VENDOR_CREATE

    Dear Experts
    I  want to develop an adobe interactive  form for vendor creation using bapi " BAPI_VENDOR_CREATE "but all the necessary fields
    that needed for vendor creation are not coming.like fields in transaction code  'XK01'. i.e company name , trading name, bank details, currency etc.
    Please tell me  why the fields are not coming or suggest any other function module.
    please help.
    Thanks in advance.
    Chitta Ranjan Mahato
    Edited by: mahato123 on Apr 16, 2011 9:08 AM

    Hello,
    Unfortunately SAP does not support any BAPI's to change customer/vendor master data.
    The BAPI's were developed from different applications and were designed for their special needs.
    You can see the existing BAPIs via tranx BAPI.
    Please have a look at the SAP notes 390045 and 384462 which should
    explain the proceeding. If you want to use Batch Input, please also have a look at SAP note 306275.
    Another possibility is to use Trx XD99, object KNA1, Trx XK99, object LFA1.
    Regards,
    David

  • How to use the BAPI_VENDOR_CREATE

    Hi Experts,
    Could anyone explain me, how to use the BAPI, 'BAPI_VENDOR_CREATE' !
    Our requirement is to create vendors from the third party system say like 'BIZTALK' . Those people will be connecting to our SAP server through a custom RFC, which I have to create and in that RFC, I have to call this BAPI. since the BAPI, 'BAPI_VENDOR_CREATE' doesn't have any import parameters, I am unable to pass the Vendor numbers and other fields say like, 'COMPANY CODE, ACCOUNT GROUP, STREET etc.., ' , which are also needed by the time of creating vendors.
    Can anyone help me out, how to solve this issue!!! Or else is there any otherway of approaching this problem, also please let me know...
    Thanks in advance.
    SOMU.

    You have to pass Header and GM code as the INput parameters for uing this BAPI....GM code would be structure.
    Also you have to pass the INternal table Item for the goods mvt cxreate which will contains
          BATCH.
          MOVE_TYPE.
          ENTRY_QNT.
          MOVE_PLANT.
          MOVE_STLOC.
          MOVE_BATCH.
          MOVE_REAS
    these parameters.
    Regards,
    Sushil.

  • BAPI or Function Module for Vendor Creation.

    I have found a BAPI - "BAPI_VENDOR_CREATE" but it is of noe help for creating a vendor offline becuase it is simply calling Txn XK01.
    There is also a FM "VENDOR_INSERT" which directly inserts an entry into vendor master tables but without any validations.
    Can anyone please give me a way to create and update vendors WITHOUT using BDCs and which has all standard validations.
    If anyone has made a similar Z-object / ZBAPI, will be a great help if you could share it.

    plz try folowing fm's
    FI_WT_CREATE_VENDOR
    RM_ONETIME_VENDOR_MAINTAIN    Log.IV One time vendor data maintenance
    kanishak

  • BAPI_VENDOR_CREATE

    Now then,
    I have searched high and low for any information on the BAPI - BAPI_VENDOR_CREATE.
    It seems that this BAPI only calls the transaction XK01. I need to be able to create vendor master
    data from say an uploaded excel spreadsheet.
    I could use the BDC method but as you know this is  a very time consuming way.
    I have also searched via SE37 for any existing FM's and can only find a very limited few which
    again call XK01.
    There must be a definitive answer as to why there is no bapi to create a vendor from scratch
    i.e. just like you would use a bapi to create a purchase order.
    If it cant be done then it can't be done. But there must be a reason as why there is no FM or
    BAPI to create a vendor.
    Hope this makes sense
    Andy

    Hi,
    Well am not sure of the reason as to why such a BAPI is not available which can create vendors directly in offline mode, but you can try the following FM's through which it can be achieved.
    VENDOR_INSERT: To insert the vendor in vendor master
    NUMBER_GET_NEXT : To get the Address number based on the account group for vendor.
    ADDR_SAVE _INTERN: To update the address based on the address number found above.
    BAPI_BANK_CREATE To update the bank details.
    Regards,
    Vik

  • Need a BAPI for FD01(customer Master data creation)

    Hi Experts,
      i want to upload a data from Legacy to sap for FD01 Tcode for Customer master creation, and what is the key points to dev bapi.
    can anyone give me the BAPI for FD01.
    Thanks,
    sudha.

    Hi,
    use bapi 'BAPI_CUSTOMER_CREATE' to create customer and bapi
    'BAPI_VENDOR_CREATE' to create vendor.
    Regards,
    SuryaD.

  • BAPI Replacement for the BDC calling XK01, XK02 tcodes

    Hi,
    I am in an Upgrade project. I need to replace a BDC which is calling the transaction codes XK01 and XK02 with BAPI.
    I found two BAPIs 'BAPI_VENDOR_CREATE' and 'BAPI_VENDOR_EDIT' but they are used to create and change Vendor master online.
    Please let me know if you know any BAPI which I can use to replace my BDC.
    Thanks & Regards,
    Siva.

    Hi,
    The function modules VENDOR_INSERT/ VENDOR_UPDATE are not robust; there is direct table update with no locking mechanism. Please let me know if there is any other solution for this.
    Thanks & Regards,
    Siva.

  • BAPI for converting legacy case data

    Hello friends,
    I would like to know is there any BAPI for converting legacy case data to SAP CRM case.
    thanks in advance
    Rakesh

    Hi,
    use bapi 'BAPI_CUSTOMER_CREATE' to create customer and bapi
    'BAPI_VENDOR_CREATE' to create vendor.
    Regards,
    SuryaD.

  • Create Vendor Master Data

    hi
    I know that there is a bapi BAPI_VENDOR_CREATE but as far as I know this always pops up an input screen.
    Is there a bapi to create a vendor master data with input from outside without that screen??
    Thanks
    Go:khan

    GoKhan,
    The BAPI: <b>BAPI_VENDOR_CREATE</b> is for Online purpose ONLY!! Do not use it if you want background processing.
    As Ferry suggested, use <b>VENDOR_INSERT</b>.
    Alternately you can use <b>LSMW</b> with standard program processing using <b>RFBIKR00</b> or IDoc <b>DEBMAS</b>.
    Regards,
    Homiar.

  • Need to extend vendor to a new Purchasing Org

    Hello All,
    I am getting a flat file with existing vendors in SAP System. I need to extend these vendor to the new specified Purchase Org. and also update the fields as per in the excel file (being uploaded).
    One way is to use BDC and perform the desired functionality.
    Second method is to use the BAPI BAPI_VENDOR_CREATE, which again uses CALL TRANSACTION.
    Is there any other method to extend vendor's (except the other 2 stated above).
    Thanks in advace..!!
    Regards,
    Tarun

    Hello,
    Can be done using IDoc, by populating the various segments for basic type CREMAS05 using the new purchasing org and then passing the details to function module IDOC_INBOUND_SINGLE.
    Pass the sender and receiving systems/ports both as the same.
    Other alternative approach is using BDC; extending vendor using XK01 (for new purchasing org) and then update the extended vendor using XK02.
    Regards,
    Tarun

  • Creation of Vendor using a BAPI

    I need to create a vendor in SAP system from a non-SAP system. I thought to use a BAPI. But the BAPI available, BAPI_VENDOR_CREATE is not suitable as it is dialog oriented.
    Could anyone suggest me a better method of achieving this.
    Raja

    Refer the following links:
    Create Vendor Master Data
    Searching for a Bapi or Function to create Creditor / Vendor
    Regards,
    Ravi

  • Vendor creation using bapi

    Hi experts,
    I am new to bapi concept I done vendor creation by using bdc and lsmw and now I want to create by using bapi can anyone send program code for creating so that I can go through it.
    thanks in advance,
    points will be rewarded,
    Srinivas.D

    hi
    I gone to the bapi function module for bapi_vendor_create etc but the problem their is no input parameters or tables so I am little bit of confused if any body has the code plz send me.
    Regards,
    SrinivasD

  • Vendor master create BAPI

    Hi experts,
                           I have been searching for vendor master BAPI for a long time. I didn't find anything useful.
    1.BAPI_VENDOR_CREATE just call txn XKO1.
    2.Class VMD_EI_API can't be called remotely
    3.VENDOR_INSERT doesn't work, which directly upload data into DB
    I wonder why SAP didn't give a standard BAPI for vendor master. I need to create vendor from a Non-SAP application. Please give me any solution.
    Thanks in advance.

    Good point.
    We always use BDC programs to upload vendor master.
    Solution to your problem could be calling BDC within a custom RFC function which can be called from non-SAP system.

  • Are there any standard BAPIs available to load Vendor and Park invoices?

    Hi Gurus,
    do we have standard BAPI;s available to load "Vendor" master data and to "Park Vendor Invoices"? Please advise,
    1) I wanted to load vendors from the flat file, with input fields and it is a mass update.?
    2) I wanted to park the documents around 100 or so at one time, not posting?
    Any suggesttions on the Bapis available?
    Thanks
    Surya

    Ravi,
    Thanks for your suggestions. But BAPI_VENDOR_CREATE doesnt have any input fields, am not sure how it is used???  And also, I am sepcifically looking for BAPI;s LSMW will do but looking for more of a web service kind of service with BAPI. I am looking for a service which reads fields from input file and store in LFA1 table.
    Also regarding the second BAPI, i read in some threads that we need PO number to park it, but my invoices have only reference from the old system, not PO number, does this matter??
    Thanks
    Surya

  • Looking for a good BAPI to create vendors...

    Hello SAP SDN members-
    I've been trying to find a standard SAP delivered BAPI that can be used to create vendor master records in ECC 6.0.  Up to this point I have not been able to do so.  With SAP MDM solutions and SRM solutions it seems logical that SAP would deliver a standard BAPI that can be used to create vendor master records in the ERP/R3 environment (similar to the BAPI_MATERIAL_SAVEREPLICA for creating material master data records).
    I have been able to find BAPI_VENDOR_CREATE but this only calls the online transaction and does not offer much additional functionality beyond transaction code XK02. 
    The next best alternative appears to be IDOC_INPUT_CREDITOR but our preference would be to not use IDOCs for the project we are working on.
    Finally, I found BAPI_CREDITOR_GET_PW_REG which might work but I'm still analyzing the specs on this BAPI to see if it will work.
    In the mean time can anyone offer advice based on personal experience? 
    Thanks.
    Rich Wortmann
    <removed_by_moderator>
    Edited by: Richard Wortmann on Apr 27, 2009 3:54 PM
    Edited by: Stephen Johannes on May 14, 2009 2:28 PM

    Hello Rich,
    Further research reveals that the only BAPIs available for vendor master
    create / change are those found via trans SE37 using the following
    search terms:  BAPI_VENDOR* or BAPI_CREDITOR*.  If the BAPIs do not
    provide the required functionality, you may wish to use the batch input
    program RFBIKR00 which allows vendor master create / change.  Please
    review the documentation for program RFBIKR00 via trans SE38; click on
    Documentation -> Display. 
    Hope the above information arr helpful to you!
    Best Regards,
    Gladys xing

Maybe you are looking for