BAPI for Vendor Master Creation

Hi,
I've seen alot of messages regarding Vendor Master Creation but I didnt find any clear answer.
What Bapi can we use for Vendor Master Creation?
I saw the BAPI_VENDOR_CREATE (for online) but there are no parameters given.
Pls help.
Thanks!

Hi Donna.
I would like to suggest my opinion,
1. Go To Transaction BAPI.
2. In the Alphabetical (Window).
3. Vendor.
4. Click the Node, Go To Create.
5. Click the Create Node.
6. Vendor and return will be seen.
7. Check the dictionary references for both Vendor Node and Return node.
8. Fields of the structures will be observed.
Hope this works out well.
Good Luck & Regards.
Harsh Dave

Similar Messages

  • BAPI for Vendor master?

    Hi Folks,
    1.Is there any BAPI available for Vendor Master?
    2.In LSMW if I am having a flat file of 4 records and I am updating only one of them which one will get uploaded? All the 4 or only the one which I had updated?
    I had never worked on LSWM,so kindly let me know.
    3.Do anyone here have a bdc for XK01?
    K.Kiran.
    Message was edited by:
            Kiran K

    Hi
    Go to trxn BAPI, go by Alphabetical tab, check the BAPIs available for Vendor.
    If you have 4 records in the file, all 4 will be processed (doesnt mean they will be updated, depends if you have changed any data) even if you update one in the file.
    So, for a file of 4 records (with only 1 updated rrecord)
    Processed records: 4
    Updated records: 1
    Regards,
    Raj

  • Remote Function Module for Vendor Master creation

    Dear Forum Members,
    There is a BAP function module BAPI_VENDOR_CREATE which calls SAP transaction XK01. Due to this, this Remote Function Module (RFM) cannot be called from a Java Application that uses SAP Java Connector.
    Is there any other remote function module available in SAP for creating vendor master record so that it can be called from non-SAP development tools such as Java using SAP Java Connector or Microsoft Visual Studio .NET tools using SAP .NET Connector?
    Eagerly expecting favourable reponse.
    Regards,
    K. Rangarajan
    SAP ABAP & Java Programmer

    Hi Prakash,
    you can use FM 'VENDOR_INSERT' , However its not remote enabled you need to copy to Custom BAPI and make it as remote enabled. 
    Apart from the Vendor creation BAPI, you may need to use some other BAPI's for Adress updation and Bank details Updation.
    Please refer the link for some more information [Re: Create Vendor;.  The same problem is mentioned there and was solved.

  • Need exit to add new fields for Vendor master creation

    Hi All,
            I have to add a new screen with some fields in Vendor master (Xk01) creation. Can any one suggest me
    any screen exit / user exit through which I can add these fields.
           Please explain the procedure to add the fields through exit.This will be of great help.
    Thanks
    Vinod.

    run the following program which ggives available exits for tcode
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir
           WHERE pgmid    = 'R3TR'
             AND object   = 'PROG'
             AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE * FROM trdir
             WHERE name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE * FROM tfdir
              WHERE pname = tstc-pgmna.
            SELECT SINGLE * FROM enlfdir
              WHERE funcname = tfdir-funcname.
            SELECT SINGLE * FROM tadir
              WHERE pgmid    = 'R3TR'
                AND object   = 'FUGR'
                AND obj_name = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    Find SAP Modifactions
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct
          WHERE sprsl EQ sy-langu
            AND tcode EQ p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        SKIP.
        IF NOT jtab[] IS INITIAL.
          WRITE:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

  • Need FM or BAPI for Vendor Master Update

    Hi Friends,
    I require a FM or BAPI to update the vendor master data, if i change the name of the vendor only that change should reflect all other data should remain the same.
    but ifi use VENDOR_UPDATE i have to pass all the data, other wise it will be blank.
    regards
    Kumar M

    First of all get details of the vendor using BAPI vendor get detail and then update.
    There is one bapi but this is online. BAPI_VENDOR_EDIT

  • Required BAPI for Vendor Invoice Creation

    Hi,
    The transaction code for creation a vendor invoice is FB60. Is there any BAPI to create VENDOR INVOICE.
    Regards!
    kannan

    check...
    <b>BAPI_ACC_INVOICE_RECEIPT_POST</b>

  • BAPI for Customer Master Creation

    Hi All,
           I am looking for bapi.Which can create/change  customer and also has the option of entering payment card details as the input. I looked at this bapi's BAPI_CUSTOMER_CREATEFROMDATA1 but these does not have  fields in import parameter where i can enter the payment credit card details.Anybody have come across the same scenario do let me know the bapi name which i can use for the above said process.Thanks in advance.
    Regards
    Skumar.

    it's not a bapi but fm SD_CUSTOMER_MAINTAIN_ALL might be ok. check it out.

  • User Exit for Vendor Master creation

    Hi SAP Gurus,
    We need to stop to create vendor using MK01 if there is no general data exist for it. I don't see any standard way for it.
    Does any one knows any user exit for it ?
    Thanks for your help.
    Regards,
    Manoj

    Hi Manoj, that's a very simple question. Before you save data, that record will not even exist in LFA1 table. so, you just need to check that table for the record. In case it doesn't exit, just give an error message.
    inclue some code in the user exit. something like
    if sy-tcode eq 'MK01'.
    select single from lfa1 where lifnr eq ???-lifnr. "check field name in exit
        if not sy-subrc eq 0.    "record doesn't exist
           message E 'Record ..........'
        endif.
    endif.
    if you want to use authorization, just include a mandatory field in a field group, like name1 (vendor name, you can create a vendor without a name) and that will only be open for maintenance for those who have the corresponding authorization value. Therefore, those who have authorization to create a vendor can create it using XK01/MK01/FK01, but those who can only maintain purchasing data cannot create a new vendor record.

  • Update Bapi for Vendor Master Characterstic & Classification

    Dear All,
    I am using the Bapi "BAPI_OBJCL_CREATE" While updating, in return parameter i got the following the message "Assignment exists and is valid" and is not update as well...
    Thanks in advance..

    Hai
    check the standard include "LCLBPAU14" this is using the following F.M
    call function 'BAPI_OBJCL_CREATE'
    exporting
    objectkeynew = l_object
    objecttablenew = l_objecttable
    classnumnew = classnum_new
    classtypenew = l_classtype
    status = status
    standardclass = standardclass
    changenumber = changenumber
    keydate = keydate
    no_default_values = no_default_values
    importing
    classif_status = classif_status
    tables
    allocvaluesnum = allocvaluesnum
    allocvalueschar = allocvalueschar
    allocvaluescurr = allocvaluescurr
    return = return.
    Regards
    Manjunath M

  • BAdi for Vendor Master Creation XK01

    Hello All ,
    I want to have a new subscreen in XK01 transaction .
    So i include it by implementing the Badi VENDOR_DATA_CS
    Now i can get a subscrenn in my transaction .
    But i couldn't transfer the value of the field from my subscreen to my main program ...
    Could someone guide me how i can proceed ...
    If the you know the exact coding what should be done and where should be done , Kinldy guide me
    DO i need to set some customization also ?

    Hi,
    Go thru this thread, this will help u with example...
    BADI ME21N
    Reagrds,
    Kumar

  • Reg the BDC for vendor master

    Hi All,
      Currently i have a requirement for the RFC where i need to create vendor. Currently iam using a BDC recording inside the RFC to create a vendor. But there are 5 account groups for my business where the vendor customizations are done. So the screen flow is getting changed. So how can i handle this scenario . There is no standard BAPI for vendor master creation. Please suggest on this

    Hello,
    First identify what are the fields available and those not avaliable in the screens for each of the 5 account groups you use. After you identify them, in the BDC you can control whether the field should be updated or not based on the checks on account group
    Vikranth

  • Validation for vendor master data creation

    Dear All,
    Can anybody suggest how to apply validation while creation of vendor master data. As this can not be done through GGB1 as it is ment for document level validation. Please suggest any user exit or badi or validation path for this.
    Thanks & Regards

    hi,
    the enhancement for vendor master is SAPMF02K, you can easily add your own check, pls. check in tcode SMOD!
    hope this helps
    ec
    >
    Srinivasa Maruvada wrote:
    > Hi
    >
    > Check TCode for validation OB28, for substitution OBBH
    > and also OKC9 which may helps you.
    > Cheers
    > Srinivas
    your post is rubbish, substitutions and validations are in use in document posting, not for master data creation. Even the OP told this, when he asked his question...

  • Error Message WY 030 . Vendor master creation

    Hi all
    The Error Messgae *WY 030 :Purchasing organization &1 assigned to company code &2, not &3*:+ Need to activate as a ERROR MESSAGE.+
    During Vendor creation ,if the wrong purchase organisation is selected, system is allowing to create the vendor master.
    Even though ,I have done the Setting in the following , the error message is not reflectiog
    1. Message Control for Vendor Master Data
    2.T.code : OBMSG
    3.T.code : OBA5
    Thanks & Regards
    DP

    strange.
    in my system WY 030 message is this: Entry & in table & does not exist
    what do you call a wrong purchasing organisation?
    I guess you have several organisations in the system.
    lets make an example:
    purchasing PORG1 is assigned to company code CC1
    purchasing PORG2  is assigned to company code CC2
    purchasing PORG3 is assigned to company code CC3
    and I guess
    you want prevent a user to create a vendor master with company code CC1 and purchasing org PORG2
    You just cannot do this.
    All company codes are valid and all purchasing orgs are valid.
    It is just to combination that would logically not make sense while creating.
    but if this vendor is used in all companies, then you have 3 CC views: for CC1, CC2 and CC3,
    and you have 3 purchasing views for PORG1, PORG2 and  PORG3
    would you still say that a vendor master with CC1 must not have PORG2 ?

  • Error in the LSMW for vendor master using standard batch/direct input

    I am facing the problem in the LSMW for the Vendor master data. The vendor is initially created for the company code 350 by using LSMW. NOw when I try to uploasd the same vendor using the same LSMW for the company code 450 then I get the error in the Bach input creation as follows:
    Batch Input Interface for Vendors
    FB012                    Session 1 : Special character for 'empty field' is /
    FB007                    Session 1 session name VNDR_CREATE_ was opened
    FB104                    Trans. 2 XK01 : Acct already exists; general area not being processed
    FB125                    ... Data in table BLFA1 cannot be processed
    FB016                    ... Last header record ...
    FB014                    ... BLF00-STYPE 1
    FB014                    ... BLF00-TCODE XK01
    FB014                    ... BLF00-LIFNR 300951
    FB014                    ... BLF00-BUKRS 402
    FB014                    ... BLF00-EKORG /
    FB014                    ... BLF00-KTOKK VEND
    FB017                    ... Last data record ...
    FB014                    ... BLFA1-STYPE 2
    FB014                    ... BLFA1-TBNAM BLFA1
    FB014                    ... BLFA1-ANRED /
    FB014                    ... BLFA1-NAME1 SAVOIE AUTOMATISME DEXIS
    This is because when we use XK01 to create the vendor by using the

    Please check this answered link:
    Re: LSMW for Vendor Master
    LSMW Upload vendor master data
    Edited by: Afshad Irani on May 5, 2010 12:42 PM

  • Can u tell me any predefined BAPI for change and creation of Material

    Hi,
        Can anybody tell me  predefined BAPI for change and creation of Materialmasterand Pricing?
    Thanks & regards,
    Gopianne.

    you can use the BAPI to BAPI_MATERIAL_SAVEDATA create as well as to change material master.
    When changing material master data, you need enter only the material
    number.
    In the header data, you must select at least one view for which data is
    to be created. Depending on the view selected, you must maintain other
    required parameters. If you do not enter values for all of the required
    parameters, the method is ended with an error message.
    The corresponding fields in the tables (such as CLIENTDATA) must first
    be supplied with data by the calling program. An indicator must also be
    set for each of these fields so that the data is written to the database
    by the method. This requires the calling program to supply the
    corresponding field with the indicator in a checkbox table (for example,
    CLIENTDATAX). Checkbox tables exist for tables that do not contain any
    language-dependent texts (MAKT, MLTX), International Article Numbers
    (MEAN), or tax classifications (MLAN). Several data records for a
    material can be created in these tables.
    regards
    vivek
    reward points if it helps

Maybe you are looking for