BAPI to update data in KNA1 and ADR* tables

Hi,
I have to change customer data via BAPI.
I'm searching for a BAPI that updates KNA1 and ADR* tables.
(so that data will be coherent).
I found BAPI_CUSTOMER_CHANGEFROMDATA1 but it seems to only update KNA1
and BAPI_ADDRESSORG_CHANGE that only updates ADR* tables.
Can you help me ?
Thanks,
Sandrine.

I came accross such a requirement but couldn't find a single function module.
I think try using both the FM's else BDC is the only option left.
you can use the FM "DEBITOR_BDCDATA" to get the BDC data for vendor and then edit it to add the address fields required.

Similar Messages

  • How can i update data in okc_k_items and csi_item_instances tables?

    How can i update data in okc_k_items and csi_item_instances tables?
    by EBS .
    Thanks.

    For csi_item_instances table, you can use the following API:
    CSI_ITEM_INSTANCE_PUB.UPDATE_ITEM_INSTANCE
    For okc_k_items, try using the following API:
    OKC_CONTRACT_ITEM_PUB.UPDATE_CONTRACT_ITEM
    Hope this helps!

  • Craeting data fiel for data from KNA1 and ADRC table...

    Hi,
    I want to create a data file (tab delimited) which will have data from two tables, KNA1 and ADRC. The customer number, Name1 and Name2 fields data will come from KNA1 but the Street field data will
    come from ADRC table. The ADRNR number will be a linkage between two tables KNA1 and ADRC.
    I don't want to write a reprot for this. Can someone tell me if I can use SQVI for this and then go to options download in excel sheet directly from the menu.
    Is there any other smarter way to do it ?
    Regards,
    Tushar.

    Use an inner join between KNA1 and ADRC...The use <b>GUI_DOWNLOAD</b> FM to download the file...
    Greetings,
    Blag.

  • Bapi for updating data

    I am using a bapi for getting data into infotype BAPI_EMPLOYEE_GETDATA.
    Is there any BAPI for updating data ?
    regards
    Balaji

    these links might be useful...
    http://help.sap.com/saphelp_nw70/helpdata/EN/44/b78765378b56a5e10000000a1553f6/content.htm

  • Profit center data in GLPCA and GLPCT Tables

    Hi ,
    We are in ECC 6 but with classic GL and profit center accounting.
    We have the documents posted with profit center as the assignment object. When i check the documents through document display i could see the profit center in it , but when i execute the transactions 5KEZ , 2KEE i couldnt fetch any data. Actually there is no data updated to the GLPCA and GLPCT Tables.
    These accounts are Frieght clearing , benefits clearing etc...
    My actual requirement is the ending balances of GL accounts by profit center subtotals/  GL Trial balance by profit center .
    Thank you.

    Hi
    If these are balance sheet accounts, you need to run period end transactions like 1KE* to transfer the balances to EC-PCA
    also, Tick the "Online Transfer" in EC-PCA config & Specify these accounts in 3KEH and then post a transaction.... It should get transferred online on real time basis
    Br, Ajay M

  • How to load data to dimensions and fact table is it simialr to sql server

    How to load data to dimensions and fact table in a data ware house environment, is it simialr to sql server, oracle?
    Never migrated or loaded data to datawarehouse server.
    I have an interview and am really confused if they ask anything related to the dataware house side elements.
    Coudl you please if you don't mind provide me some steps and dimension and fact table info, an example only.
    Atleast for my knowledge.
    Thank you very much for the helpful info.

    Some discussions in previous forums should help you
    http://forums.sdn.sap.com/thread.jspa?threadID=2019448
    http://forums.sdn.sap.com/thread.jspa?threadID=1908902
    In the SAP tutorial, you can see a sample example of making fact tables.
    http://help.sap.com/businessobject/product_guides/boexir32SP1/en/xi321_ds_tutorial_en.pdf
    Arun

  • Which field we would put join in kna1 and  likp table.

    Hi,
           which field we would put join in kna1 and  likp table.
    With thanks Regards.

    >        which field we would put join in kna1 and  likp table.
    >
    JoiN:
    table KNA1-KUNNR  WITH LIKP-KNKLI
    Rwd points if reoslved
    regards

  • Tcode to enter data in estmj and estrh tables?

    can any one know which tcode i have to use to enter data in estrh and estmj tables?

    It is actually telling me that CG01 is obselete in my 46c system, it will not l let me do anything else with that transaction.  I go to CG02, and I am able to create there.
    Regards,
    Rich Heilman

  • Can I use one infosource to update data to CUBE and ODS???

    Hi all,
    Can anyone tell me if I can load data to OSD and Cube from one the same InfoSource? As I know, I have to have "0recordmode"(update mode) in communication structure for ODS not for Cube.  So how can ODS and Cube use the same Infosucre to update data?
    Thank you

    John,
    Depending on the volume of data and the type of infosource, sometime one update to ODS first and then subsequently update to the Cube or update both cube and ODS in parallel.
    For example, if you use AR or AP line item datasources, since you are extracting from both open line and closed line items tables, there could be multiple records for the same thing coming through.  First when it appears as an open line item, and when it is paid, it appears again as a paid line item so if you update directly to the cube, you can have multiples of the real value.  Thus in this instance you update from infosource to ODS then subsequently use delta update from ODS to cube.   CCA and C0-PA on delta mode are example where there are no overlapping, thus you can update both ODS and Cube at the same time.
    Hope this helps,
    Mary

  • How can i update data of DSO and Cube using ABAP??

    Hello Experts
    I have a requrement in which i need to update/ delete data from DSO and cube based on certain keys using ABAP.
    Please let me know how can i modify contets of cube or active table of DSO.
    Thanks
    Sudeep

    Hi
    I have requirement such that i need to update certain key figures in DSO after certain time.
    for eg. say record with key a is loaded to DSO and currospoding key figure was loaded with value 10
    after few days because of certain parameters changing in system i need to modify key figure value.
    currently i am doing same using 1 self transformation i.e. by loading same data again in same DSO.
    Amount of data is very huge and causing performance issues in system.
    now A is not key but i need to modify record for few combinations which apperar multiple times in DSO.
    Same DSO data is loaded into Cube regularly.
    I may need to update data after gap of few weeks as well.
    This design will be used as template and needto keep whole logic generic.
    So wring Function module can make it generic.
    Thanks
    Sudeep

  • Error while updating data using session and call transaction method

    Hi all,
        i have to update data using MM01 transaction from flat file to database.i have used both session method and call transaction method to do that.in both the methods data has been transferred from internal tables to screens but while updating the data that is by clicking the ok-code at the end of the transaction iam getting a dialogue box stating
       SAP EXPRESS DOCUMENT "UPDATE WAS TERMINATED" RECEIVED FROM AUTHOR "SAP".
      please tell whether the problem lies and solution for that.
                                       thanks and regards.

    hi,
    check your recording.check whether u saved your material no in recording or not.
    once again record the transacton mm01.
           MATNR LIKE RMMG1-MATNR,
           MBRSH LIKE RMMG1-MBRSH,
           MTART LIKE RMMG1-MTART,
           MAKTX LIKE MAKT-MAKTX,
           MEINS LIKE MARA-MEINS,
           MATKL LIKE MARA-MATKL,
           BISMT LIKE MARA-BISMT,
           EXTWG LIKE MARA-EXTWG,
    these are the fields which u have to take in internal table.
    this is the record which i took in my flatfile.use filetype as asc and hasfieldseperator as 'X'.
    SUDHU-6     R     ROH     MATSUDHU     "     001     7890     AA
    i did the same.but i didn't get any error.

  • Not able to fetch updated data using jdbc and oracle 10g

    Whenever i m updating the data and fetching the same record after updating i m not able to get the fresh/new updated data , old record is fetched every time, but when i checked in database the record gets updated successfully , even if i fire the query two times after 10 seconds using Thread.sleep even then problem persist.
    Please help me out!!!!!!!!
    Implementation has been stucked up!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :(

    Well its okWhat is OK? Your stuff working now?
    i m doing the same thing Apparently not.
    please go thru the below code fragment:
    code for Update :::
    DataAccessBean1 partsHistoryDataAccessBean = new
    DataAccessBean1(context);
    partsHistoryDataAccessBean.setData(data);
    partsHistoryDataAccessBean.update();
    After Updating i m forwading it to the other servletForwarding what? Why do you need another servlet? Just do the query, put the new data into the response object, and return.
    According to your assumption i should get the updated
    data on the other screen but Nope, you don't understand what I'm saying.
    %

  • BADI for MIGO update - Data not getting saved in table sometimes

    Hi,
    This is regarding automatic update of material document number to our Z Table for Gate entry in MM.
    Steps for Generating  GR throu2019 MIGO:-
    1) the user has to key in the gate entry number and plant,
    2) then after giving i/p values the user has to click the save button,
    3) MIGO number is generated by the system which is updated in gate entry header table.
    For updating the MIGO number BADI is used . But some time the system is not updating the GR number in gate entry header table.
    Can we use COMMIT WORK statement in BADI? Hope its not advisable to use it.
    What else can we do if data is not getting stored in table while updating throu2019 BADI?
    Inside the Method : IF_EX_MB_MIGO_BADI~POST_DOCUMENT the below code is written,
    Instead Of Updating The Gate Entry Item Table Now
    Update The Gate Entry Header Table. Update The
    Value Of The Field MBLNR With Current Document Number
    Generated Updating the header table ZMM_GATE_ENTRY
        SELECT SINGLE *
          FROM ZMM_GATE_ENTRY
          INTO WA_ZMM_GATE_ENTRY
         WHERE GATEENTRYNO EQ GS_EXDATA_HEADER-GATEENTRYNO
           AND WERKS       EQ GS_EXDATA_HEADER-WERKS
           AND GYEAR       EQ GS_EXDATA_HEADER-ENTRY_DATE+0(4).
    Check To Ensure That Once A Gate Entry Number
    Is Associated With A GR It Cannot Be Reused
        IF WA_ZMM_GATE_ENTRY-GR_NUMBER IS INITIAL.
          WA_ZMM_GATE_ENTRY-REFERENCE = GS_EXDATA_HEADER-REFERENCE.
          WA_ZMM_GATE_ENTRY-REFWERKS  = GS_EXDATA_HEADER-WERKS.
          WA_ZMM_GATE_ENTRY-GR_NUMBER = IS_MKPF-MBLNR.
          WA_ZMM_GATE_ENTRY-GR_YEAR   = IS_MKPF-MJAHR.
    MODIFY ZMM_GATE_ENTRY FROM WA_ZMM_GATE_ENTRY .u201Dupdating the workarea
    u201CThe above modify stmt updates data sometimes and does not updates the data sometimes
        ELSE.
          MESSAGE E901(ZMM) WITH GS_EXDATA_HEADER-GATEENTRYNO WA_ZMM_GATE_ENTRY-GR_NUMBER.
        ENDIF.
    Plz suggest some soln?
    Regards,
    P.S.Chitra

    Hi,
    This is regarding automatic update of material document number to our Z Table for Gate entry in MM.
    Steps for Generating  GR throu2019 MIGO:-
    1) the user has to key in the gate entry number and plant,
    2) then after giving i/p values the user has to click the save button,
    3) MIGO number is generated by the system which is updated in gate entry header table.
    For updating the MIGO number BADI is used . But some time the system is not updating the GR number in gate entry header table.
    Can we use COMMIT WORK statement in BADI? Hope its not advisable to use it.
    What else can we do if data is not getting stored in table while updating throu2019 BADI?
    Inside the Method : IF_EX_MB_MIGO_BADI~POST_DOCUMENT the below code is written,
    MODIFY ZMM_GATE_ENTRY FROM WA_ZMM_GATE_ENTRY .u201Dupdating the workarea
    u201CThe above modify stmt in code updates data sometimes and does not updates the data sometimes
    Moderator message: duplicate post locked.
    Edited by: Thomas Zloch on Aug 10, 2010 11:33 AM

  • No data in cube,but there is data in F and E table, also in dimension table

    Hi, gurus,
         I successfully loaded more than 100,000 records of data into an infocube, but when I check the content of the infocube(without any restriction),  unexpectedly no data displayed, also after I checked the F and E table, still no data, but there is data in dimendsion tables. what happened?
        please help. thanks a lot.

    Hi Kulun Rao,
    Try the following options.
    Check in the selection screen
    Go to infocube through LISTCUBE t.code
    Check the compression and roll-up statuses.
    Check the reporting status in request tab.
    Refresh the cube ( u already do it)
    Check the index status in Request tab**
    might be these things will help u.
    Regards,
    HARI GUPTA

  • Problem in Selecting the data from EKPO and KONV tables

    Hi Experts,
    Presently I am working on Report with Comparision-Sheet Between the vendor's Quotations. I have to display the Discount, Freight, Packing and Forwarding, Vat in Item level data based on the conditions made in PO.
    As per my Knowledge, Condition Types are stored in KONV Table. But there is no relation between KONV and EKPO tables.  So, I am unable to print the data for Discount, Freight, Packing and Forwarding, Vat... How can I get the values from EKPO and KONV tables?
    Thanks in Advance.
    Thanks n Regards,
    Muralikrishna.

    Don't recall if this is correct, but you may need the condition number from the header (EKKO) combined with EKPO-EBELP or other field as you key to access KONV (KNUMH and KPOSN).  My site doesn't run PP, so can't verify if the data is actually stored that, so just a possibility.

Maybe you are looking for

  • My ipod touch is not recognizing any charger including computer.  It is only 2 months old

    My Ipod touch 5th generation is not being recognized by any charger or by the computer.  This is only 2 mos old

  • Tax jurisdiction for taxinj vs taxinn procedure

    Hello, I am trying to configure CIN, and would like know how system will determine the tax jurisdiction for taxinn procedure. As if we use procedure taxinj then for tax code we can maintain the tax jurisdiction but if we use the procedure Taxinn then

  • Unable to share files over the local network, OS X Lion

    About two weeks ago, my coworker and I realized that we were no longer able to share files over the local network. We have not made any changes to our preference settings. We are able to access FileMaker Pro databases files located on another compute

  • Trouble w/iPhone 3g and Mircosoft Exchange

    Since I got my iPhone on July 11 I've been connected to my office Exchange server w/no problems. Last night, our company's IT department "upgraded" our server and since then my iPhone (and other iPhones) can't connect to the server...we keep getting

  • Basic question about Java, UNIX and OAS

    Hi, Can I create an appication that contains GUI components like testbox and textfields etc...and then load/import it into OAS? Can I again, create such an GUI application and then load it UNIX platform and run it? The reason I asked because I did cr