Bapi's or Fun Modules to update vendor related tables

Hi All,
       Can any one tell me the Bapi's or funtion modules to update,create or modify vendor related tables without using any call transaction.
Best answers will be rewarded nicely.
Regards,
praveen.

Hi
Did below code work for you?
If not the best way to manage Vendor information for UPDATING and CREATING check below class
VMD_EI_API
Which you just use methods INITIALISE and MAINTAIN with the populated structures of vendor tables.
Regards
Tumelo Modise

Similar Messages

  • Function module for updating vendor:ADRC table

    Hi all,
    Please guide me how to update the database ADRC with using function module.
    I need to use this function module in IDOC inbound.
    Thanks.

    I am not sure about dependent database tables....but definitely the following BAPI will update dependent database tables also...
    BAPI_ADDRESSORG_CHANGE
    Refer the below link for using this BAPI...or search in SCN..
    http://abap.wikiprog.com/wiki/BAPI_ADDRESSORG_CHANGE

  • 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...

  • Function module to update vendor communication address

    Hi Experts,
        Can anyone give me an idea,which function module is used to update vendor communication address details.
    **points will be rewarded
    Regards,
    Naresh.

    Hi,
    Try this FM.
    ADDR_COMM_GET
    Thanks,
    Sandeep.

  • Function module to update a database table

    please give me the name of the function module which will update a hr table from an infotype.

    Hi,
    The FM 'HR_INFOTYPE_OPERATION' is used to update the HR infotype.
    U can lock the pernr using 'BAPI_EMPLOYEE_ENQUEUE' FM. After that, u can unlock it using 'BAPI_EMPLOYEE_DEQUEUE' .
    see this sample code...
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
    EXPORTING
    NUMBER = P2013-pernr
    IMPORTING
    RETURN = wf_returne.
    Test Mode
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
    EXPORTING
    INFTY = '2013'
    NUMBER = P2013-PERNR
    SUBTYPE = P2013-SUBTY
    OBJECTID = P2013-OBJPS
    LOCKINDICATOR = P2013-SPRPS
    VALIDITYEND = P2013-ENDDA
    VALIDITYBEGIN = P2013-BEGDA
    RECORDNUMBER = P2013-SEQNR
    RECORD = P2013
    OPERATION = 'INS'
    TCLAS = 'A'
    DIALOG_MODE = '0'
    NOCOMMIT = 'X'
    IMPORTING
    RETURN = wf_return.
    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
    EXPORTING
    NUMBER = P2013-PERNR.
    Reward points if useful
    Cheers,
    Shanthi.
    Edited by: shanthi ps on Jan 29, 2008 5:24 AM

  • Function module to update Vendor address using address number from  KNVK

    Hi ,
        I need to update the Vendor contact information in tables ADRC,ADR2,ADR3,ADR6 and KNVK.
    Could any one suggest me a function module or BAPI?
    It is bit urgent requirement. Please advice.
    Thanks in advance for your help.
    Kumar

    Hi,
    Please try this BAPI and FM.
    BAPI_BUPA_ADDRESS_CHANGE.
    BAPI_VENDOR_CHANGE
    BAPI_VENDOR_EDIT
    VENDOR_UPDATE
    Regards,
    Ferry Lianto

  • Updating Vendor Confirmations in PO

    Hi Friends,
    I am trying to update Vendor Confirmations(TABLE EKES) in PO using FM ME_CONFIRMATION_UPDATE.  Even checking for EKPO-BSTAE.
    But i could not able to update EKES table, its throwing an error 'SYSEM ERROR:ERROR DURING UPDATING TABLE EKES'.
    Any suggestions please
    Regards,
    Sunil
    Message was edited by:
            sunilkumar sankineni

    I'm also trying to update the EKES table using the same function module, but not able to update. Did your problem get solved. Can you give me the code, on how to update the EKES table.
    Message was edited by:
            P K Ch

  • SAP beginner !! steps to create a fun module which accept int table

    steps to create a fun module
    1. which accept internal  table and a flag value
    2. based on flag value it calls screen.
    3. if flag value is ' D' it displays the internal table in Table Control in Display Mode
    4. if flag value is ' E' it edits the table control also the internal table,
        it can also append a new row in table control or delete it.
    5. the function module should then send the output the internal table which has changed.
    plz if any one can provide solution to this do it for me
    thnk u

    Hi Shailesh,
        U just create 2 table control (one in Display Mode & the another in Change Mode ).While sending the Internal Table values, u send the values to the corresponding Table Control based on the Flag Value.

  • XML PARASE and insert /update in corresponding tables

    Hi,
    I have a XML in which master details tables 3 tables.I want to separate element and insert/update in corresponding tables dynamically.
    Table invlovled in A,B,C
    Thanks
    Reena

    Reena
    The easiest way to do this is along the following lines..
    (1) register an XML Schema that describes the XML you wish to process with theh database.
    (2). create a relational view for the top level elements and for each repeating element (element where maxOccurs > 1 in the XML Schema)
    (3) Use 'insert as select' or other SQL type processing to update your relational tables from the contents of the view
    It is normally recommended that you add the following annotations to the XML Schema before registering it with the database
    (1) At the schema level set xdb:storeVarrayAsTable="true".
    (2) At the complexType level set xdb:maintainDOM="fasle".
    If you search the forum you will find a lot of examples of creating relational views of XML content stored in the XML database. Typically these examples will include key words like 'create or replace view' and 'table(xmlsequence(extract' or 'xmltable'.
    Hope this helps...
    -Mark

  • Insert/Update related tables

    Hello,
    I am attempting to take XML data - and using a transform, map it to a DB Adapter "merge" (insert if new, update if not) on two related tables. I have set up my db tables as follows...
    Table A
    ID (unique, primary key)
    param1
    param2
    Table B
    ID (foreign key related to Table A - ID)
    paramA
    There is a "TableA 1:M Table B" relationship set up in the DB as well as in the DB adapter TopLink project.
    If I do an initial "merge" (insert), everything works fine - and I get my new record in Table A - and several new related records inserted into Table B (way cool!).
    However, if I then try to repeat the merge after modifying something in the incoming data that is associated with Table B data, Table B records associated with that ID all get set to the last instance of Table B data in the input. I know that's confusing - here's an example...
    Initial input:
    <CAR>
    <ID>7</ID>
    <param1>Chevrolet</param1>
    <param2>Corvette</param2>
    <paramA>T-top</paramA>
    <paramA>Mag Wheels</paramA>
    <paramA>Hood Scoop</paramA>
    </CAR>
    Resulting Table Data:
    Table A:
    ID param1 param2
    7 Chevrolet Corvette
    Table B:
    ID paramA
    7 T-top
    7 Mag Wheels
    7 Hood Scoop
    Second run with the following input:
    <CAR>
    <ID>7</ID>
    <param1>Chevrolet</param1>
    <param2>Corvette</param2>
    <paramA>T-top</paramA>
    <paramA>Mag Wheels</paramA>
    <paramA>Front Hood Scoop</paramA>
    </CAR>
    Resulting data in DB...
    Resulting Table Data:
    Table A:
    ID param1 param2
    7 Chevrolet Corvette
    Table B:
    ID paramA
    7 Front Hood Scoop
    7 Front Hood Scoop
    7 Front Hood Scoop
    I have verified that my XSL transform appears to be working correctly.
    Am I using the db adapter "merge" function for something it's not designed to handle (i.e. related tables)? Do I have to code separate update adapter instances to update my related tables individually? I hope not - I was hoping TopLink would just take care of this for me. Maybe I'm too optimistic... ;-)
    Thanks for any help!
    Lon

    Nevermind. I'm an idiot.
    Obviously, Table B needs another column to form a unique key - so an update can change just that row. Sorry for wasting your time. :(
    Lon

  • 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.

  • HR-ABAP Any BAPI or Function module to update infotypes 167 & 170

    Hi,
        Can anyone let me know is there any BAPI or Function module to update infotypes 167(Health Plans) & 170(Flexible Spending Accounts).
    Thanks,
    Sandeep

    Hi,
       U can use HR_BEN_CREATE_PLANS internally it calls HR infotype operation as specified by suresh.
    Suresh  : If there are approximately 3000 records to be updated on regular basis do u think is it better to use BAPI's or BDC
    regards
    Vick

  • BAPI or Function Module to Update the Alternative Payer  (KNZA) of Customer

    Hi Experts,
    My client requirement is to update the Customer Permitted Alternative Payer during creation of BP
    Would you please let me know the any BAPI or Fictional Module available to UPDATE the u201CPermitted Alternative Payer (KNZA)u201D of Customer Master.
    iam trying  SD_CUSTOMER_MAINTAIN_ALL function module, its failed to update the  KNZA tables. please help to close the issue. 
    Thanks in Advance.
    Venkatesh M.

    Hi Ravi,
    Thanks for the quick reply.
    The Function Module, what you are given is BTE. it will not trigger when creating of contract.
    My Requirement is when creating the contract for the particular BP, we need to UPDATE the Alternative Payer of Customer.
    Here i required BAPI or Function Module to change or Update the customer master Alternative Payer (KNZA).   
    Regards,
    Venkatesh M

  • Bapi Or Function Module for Updating a table

    Can u Plz let me know , is there any bapi or function module to update few fields of a standard table using an internable.

    Hi Shiva Kumar Tirumalasetty ,
         There is no FM / BAPI to update directly to any SAP tables . SAP won't suggests to develop a FM/BAPI like that , as it will cause some data inconsistency problem .
    We have to search and find BAPI's/ FM's for requirement specific if not exists then need to think about the alternate options (LSMW/ BDC etc..)
    Hope this answers your question.
    Thanks,
    Greetson

  • Bapi function module to update PRPS table

    Hi ,
    Presently i have a requirement which needs to update some data from ZIOS table  into PRPS table. Can any one tell me what is the Bapi function module for updating data into PRPS table.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Thanks,
    Satish Raju
    Edited by: Alvaro Tejada Galindo on Jan 12, 2010 11:46 AM

    These ZZ fields are specific to your application, use the EXTENSION parameters.
    Look in BAPI_PS_INITIALIZATION documentation, there is an explanation how-to fill specific fields.
    For the BAPIs used to create and change project definitions, WBS       
    elements, networks, activities, and activity elements, you can         
    automatically fill the fields of the tables PROJ, PRPS, AUFK, and AFVU 
    that have been defined for customer enhancements in the standard system.
    For this purpose, help structures that contain the respective key      
    fields, as well as the CI include of the table are supplied. The BAPIs 
    contain the parameter ExtensionIN in which the enhancement fields can be
    entered and also provide BAdIs in which the entered values can be      
    checked and, if required, processed further.                           
    CI Include  Help Structure                      Key                  
    CI_PRPS     BAPI_TE_WBS_ELEMENT                 WBS_ELEMENT
    Procedure for Filling Standard Enhancements                                                                               
    Before you call the BAPI for each object that is to be created or     
    changed, for which you want to enter customer-specific table enhancemen
    fields, add a data record to the container ExtensionIn:                                                                               
    o   STRUCTURE:    Name of the corresponding help structure                                                                               
    +o   VALUEPART1:   Key of the object + start of the data part+                                                                               
    o   VALUEPART2-4: If required, the continuation of the data part                                                                               
    VALUPART1 to VALUPART4 are therefore filled consecutively, first with 
    the keys that identify the table rows and then with the values of the 
    customer-specific fields. By structuring the container in this way, it
    is possible to transfer its content with one MOVE command to the      
    structure of the BAPI table extension.                                                                               
    Note that when objects are changed, all fields of the enhancements are
    overwritten (as opposed to the standard fields, where only those fields
    for which the respective update indicator is set are changed).        
    Therefore, even if you only want to change one field, all the fields  
    that you transfer in ExtensionIn must be filled.                      
    You have to use these parameters in BAPI_BUS2054_GETDATA as well as in BAPI_BUS2054_CHANGE_MULTI.
    Regards

Maybe you are looking for

  • I am getting error in report.

    Please search the forums before posting Hi Xperts, When i am executing the report,i am getting the report with unit ERR.Which is not correct. Instead of ERR i should get some units. Can any one help me on this? Regards, satish Edited by: Arun Varadar

  • Please help me diagnose my computer! I'm getting quite desperate...

    Hello, I've had my macbook pro (snow leopard) for 2 years now. I rarely download anything on it, nor do I save files other then school documents and pictures. I had 230GB out of 256 GB still remaining. Everything was going smoothly, when quite sudden

  • IOS 8 Photos events out of order

    Is there a way to get the photo events sorted in the photos app ? When selecting a background photo the events are sorted correctly, also in other photo apps. It seems to be only with the photos app the events and faces are not sorted.

  • Web Service with Complex Results and Flex

    I have created a Enterprise Java Bean that has one "test" method that returns a String[]. I have compiled, deployed and registered this bean in Sun's Application Server 8.1. I am using NetBeans 5.0 to develop this project. I try to load this web serv

  • Interface to Payables

    I only use gl and ar. Now going to implement ap. Interfaces are required from our purchase system which is developed using VB. To interface to AP, what are the required tables/columns in 11i?