File to JDBC -  JDBC database not getting updated using UPDATE_INSERT

Hi ,
    I have a done a file to JDBC Scenario.File is successfully picked up by sender file channel and recieved by reciever JDBC channel.There is no error in receiver communication channel.I used UPDATE_INSERT action in mapping which has to update the database with all records it recieve.But,i found there is no update in Database table.I donot have access to database,so i made a sender jdbc channel querying all data in it to see what new value is populated.
I made a dummy sender jdbc channel to check what are the values updates on the run of above interface.But , i found no update occur.Please help me out of this problem.
Thanks
Deepak Jaiswal

The reason I ask , because you will see whether the message got successfully delivered to the target system.
I want  to see information like below
2010-04-14 14:31:35 Success Message successfully received by messaging system. Profile: XI URL: http://server:port/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
2010-04-14 14:31:35 Success Using connection JDBC_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
2010-04-14 14:31:35 Success Message successfully put into the queue.
2010-04-14 14:31:35 Success The message was successfully retrieved from the receive queue.
2010-04-14 14:31:35 Success The message status set to DLNG.
2010-04-14 14:31:35 Success Delivering to channel: Communuication channel
2010-04-14 14:31:35 Success MP: Entering module processor
2010-04-14 14:31:35 Success MP: Processing local module localejbs/CallSapAdapter
2010-04-14 14:31:35 Success Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
2010-04-14 14:31:35 Success JDBC adapter receiver channel CC: processing started; party  , service DB_BS
2010-04-14 14:31:35 Success Database request processed successfully
2010-04-14 14:31:35 Success MP: Leaving module processor
2010-04-14 14:31:35 Success The message was successfully delivered to the application using connection JDBC_http://sap.com/xi/XI/System.
2010-04-14 14:31:35 Success The message status set to DLVD.
raj.

Similar Messages

  • Database not getting updated

    package com.sandy.servlets;
    import javax.servlet.*;
    import java.sql.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class FirstServlet extends HttpServlet
         Connection con;
         PreparedStatement ps;
         public void init(ServletConfig config) throws ServletException
         String driver=config.getInitParameter("driver");
         String cs = config.getInitParameter("url");
         String user=config.getInitParameter("user");
         String password=config.getInitParameter("pwd");
         try
              Class.forName(driver);
              con=DriverManager.getConnection(cs,user,password);
              ps=con.prepareStatement("INSERT INTO USER2 VALUES(?,?)");
         catch (ClassNotFoundException e)
              e.printStackTrace();
    catch(SQLException e)
    e.printStackTrace();
    }//init()
    public void destroy()
    try
         if(ps!=null)
              ps.close();
         if(con!=null)
              con.close();
    catch (SQLException e)
         e.printStackTrace();
    public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException,IOException
    String a = request.getParameter("FirstName");
    String b = request.getParameter("LastName");
    try
       if(a!=null)
            if(b!=null)
         ps.setString(1,a);
         ps.setString(2,b);
         ps.executeUpdate();
    catch (SQLException e)
         e.printStackTrace();
    response.sendRedirect("user.html");
    I ran the above program in tomcat,i didn't get any error but unfortunately database is not getting updated which is the sole purpose of this application
    Edited by: sandy on Feb 8, 2011 12:33 AM

    do you have some kind of auto commit? I don't see you commit the transaction anywhere.
    By the way: this is terrible design. Perhaps you can open a connection on servlet init (still not a good design, but you seem to be in the learning phase so lets not focus on that now), but you should create the PreparedStatement, use it, commit it and then close it inside your doPost() method.

  • Delivery Header Text not getting updated using Inbound DELVRY03 IDOC

    Hello,
    I am using inbound iDOC delivery DELVRY03. I am attempting to populate a text field with segment E1TXTH8, but I can not get it to work properly. The iDOC gets posted successfully in status 53, but text does not get updated.
    Does anyone know what the values for field FUNCTION are supposed to be?
    Any other suggestions?

    Following are the values
    E1TXTH8
    Function             001
    Text Object          VBBK
    Text Name            0080000210
    Text ID              Z112
    Language             EN
    Text format
    LANGUA_ISO           EN
    Item
    E1TXTP8                     * 12343468912334445424
    E1TXTP8                     * 12343468912334445423
    E1TXTP8                     * 12343468912334445422

  • Flat file to Asynch RFC: R3 not getting updated

    hi all,
             I have a flat file to asynch RFC scenario.I can see the file getting deleted and the chequered flag in MONI.In adapter monitoring i can see the message being processed for the RFC.But it has to update an R3 table which is not getting done.
    Can anybody give ideas where the problem lies...in earlier blogs someone had suggested to check sm58 but dnt know what to give the inputs for this...
    help highly appreciated and points will be awarded
    regards,'
    Nisheeta

    Hi Nisheeta,
    1)I hope your Receiver RFC adpater is working fine (In adapter monitoring it should be green)
    2) As you mentioned that your RFC is working correctly with the given inputs (which in this case you are passing thru file, right?). Just check oncemore.
    3) Call transaction SM58 . This tool lists only those transactonal RFCs that could not be carried out successfully or that had to be planned as batch jobs. The list includes the LUW ID and an error message. Error messages displayed in SM58 are taken from the <b>target system</b>. To display the text of the message, double-click on the message.
    so u have to check in sap29...
    Regards
    Suraj
    PS: <b>Guyz stop asking for points, let her problem get solved first... Thanks</b>

  • Price Adjustment is not getting updated using OE_ORDER_PUB.PROCESS_ORDER

    Hi Gurus,
    I am trying to create a price adjsument at line level for SERVICE lines using OE_ORDER_PUB.PROCESS_ORDER, but it does not update/create. Please let me know the key pointers to accomplish this.
    OE_ORDER_PUB.PROCESS_ORDER(p_api_version_number => l_api_version_number
    ,p_header_rec => l_header_rec
    ,p_line_tbl => l_line_tbl
    ,p_action_request_tbl => l_action_request_tbl
    ,p_line_adj_tbl => l_line_adj_tbl --I am passing price adjustment record type here
    -- OUT variables
    ,x_header_rec => l_header_rec_out
    ,x_header_val_rec => l_header_val_rec_out
    ,x_header_adj_tbl => l_header_adj_tbl_out
    ,x_header_adj_val_tbl => l_header_adj_val_tbl_out
    ,x_header_price_att_tbl => l_header_price_att_tbl_out
    ,x_header_adj_att_tbl => l_header_adj_att_tbl_out
    ,x_header_adj_assoc_tbl => l_header_adj_assoc_tbl_out
    ,x_header_scredit_tbl => l_header_scredit_tbl_out
    ,x_header_scredit_val_tbl => l_header_scredit_val_tbl_out
    ,x_line_tbl => l_line_tbl_out
    ,x_line_val_tbl => l_line_val_tbl_out
    ,x_line_adj_tbl => l_line_adj_tbl_out
    ,x_line_adj_val_tbl => l_line_adj_val_tbl_out
    ,x_line_price_att_tbl => l_line_price_att_tbl_out
    ,x_line_adj_att_tbl => l_line_adj_att_tbl_out
    ,x_line_adj_assoc_tbl => l_line_adj_assoc_tbl_out
    ,x_line_scredit_tbl => l_line_scredit_tbl_out
    ,x_line_scredit_val_tbl => l_line_scredit_val_tbl_out
    ,x_lot_serial_tbl => l_lot_serial_tbl_out
    ,x_lot_serial_val_tbl => l_lot_serial_val_tbl_out
    ,x_action_request_tbl => l_action_request_tbl_out
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data);
    COMMIT;
    Thanks in advance!
    Regards,
    Sumir

    Hi,
    The function you are using is not suitable, it is not intended to be used stand-alone without further code to complete the order close process.
    The best option would be to use BAPI_ALM_ORDER_MAINTAIN to perform technical completion (Method TECHNICALCOMPLETE). Transaction CO99 could then be used to mass close these orders.
    -Paul

  • File to Proxy----Tables not getting updated.

    Hi all,
    I have File to proxy scnerio, where Data from file is uploaded in to BAPI in turn
    updated in to tables.
    If i take pay load from Moni  and test in SPROXY then tables is getting updated.
    But when i run Scnerio form XI tables are not getting updated.
    Please help......

    Hi ,
    Check this out if you missed any step.. This is exactly on your senario.
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    hope this will help you.
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • File does not get updated in document library

    I'm encountering weird behavior which I hope you can suggest on how to further troubleshoot. There are some document libraries that whenever I upload a new version of a file, the file's contents do not get updated (when I open the file after check-in,
    it still shows the old content) but the Modified By and Modified fields get updated.
    Remote Blob Storage is turned on for our site; could it be RBS-related? However, only a few document libraries exhibit this kind of behavior.

    Hi Kev,
    There's no particular pattern in the differences between libraries exhibiting the behavior and those that do not. If it matters, the Style Library is experiencing this kind of behavior. We also have a document library renamed to "Images" (its URL
    is /Images) that also exhibits this behavior. I also tried disabling and enabling versioning, still the same behavior. I even tried deleting the file and reuploading with the same file name, still the same behavior!

  • Changes to Excel files are not getting updated

    File updates not reflected. I modified content, added data validation and saved the file back - next day file is still the way it was before modification.
    Other file, another site but similar situation.
    Content changed - form added but next day the change is not reflected. File updates not reflected. I modified content, added data validation and saved the file back - next day file is still the way it was before modification.
    Other file, another site but similar situation.
    Content changed - form added but next day the change is not reflected.

    Hi,
    According to your post, my understanding is that changes to Excel files are not getting updated.
    I recommend to configure Excel Services data refresh by using Secure Store and an external Office Data Connection (ODC) file.
    For more information, you can refe to:
    Configure Excel Services data refresh by using external data connections in SharePoint Server 2013
    If you use PowerPivot, you can refer to:
    Refreshing PowerPivot Data in SharePoint 2013
    If you use Office Web Apps, you can use New-SPWOPISuppressionSetting -extension xlsx -action view to refresh data.
    You can refer to:
    PowerPivot for SharePoint - Browser Refresh Fails (Data Refresh not supported in Office Web Apps)
    In addition, here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/office/en-US/2c4009f3-62bc-4af0-9e16-e40e9d418e3b/user-changes-to-sharepoint-documents-lost
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Matlab workspace not getting updated while labview mex file is running

    Hi,
    Let me start from the overview of the system for better understanding.
    The system is to acquire data from a DAQ6070e using labview 7.1 . this data is then to be used in matlab for processing. All this needs to happen in real time hence the data is to be acquired from labview and outputted into matlab in real time.
    in order to do this we generated the labview and the matlab codes seperately. After days of hard work we managed to import the labview vi into matlab using a math interface toolkit, but now have run into another interesting problem.
    the workspace in matlab is not getting updated during the time the labview vi is running inside matlab. it only updates after the vi has run . for example if i need to monitor the system for 300 seconds then ideally the labview vi should output the samples for each acquisition and output it to matlab, what actually is happening is that the labview keeps running for 300 seconds without outputting any data during those 300 seconds and only outputs the last set of acquisition values at the end of the 300 seconds. Which beats the purpose of the whole program.
    Kindly help
    Regards
    Manuj

    Thanks Mate,
    What you said about "MEX file will not be able to "store" data between runs" ,i realised in the morning. as a result i dont think your suggestion of for loop will also be effective as labview mex file will not acquire data during matalb code execution and vice versa.
    Hence i have decided to do it the other way...we will now try to run the matlab code in labview.
    this leads to other problem
    As this is a real time operation i need to find out a way of storing the data into computer memory and then reading from it(when i say memory i do not mean writing it to a file and readin from it as that is slow) becasue i think the buffer i am specifying in my AI config is not big enough.
    I was thinking maybe i should use a RT FIFO queue but then i have not been able to find out the difference between buffer memory and fifo memory. ie is buffer memory supposed to be the ram memory or is it the hard disk memory?
    I am posting the vi here for easy understanding
    All help is very much appreciated
    Attachments:
    RT-loop2ver21.vi ‏231 KB

  • OpenScript 12.2.0.1 Failed to access the databanks,CSV index file not getting updated

    Hi,
    I have been working on OATS for quite sometime,Off late i'm facing a unique problem out of nowhere
    when i run web functional script i'm getting the error "oracle.oats.scripting.modules.basic.api.exceptions.VariableNotFoundException:"
    Even though i have added the required databank,These were working fine for past 6 months suddenly started give me problem.
    1 thing i noticed was if i do any modification in the databank CSV file the corresponding INDEX file is not getting updated.Hence the system is unable to read the databank data i guess.
    Has anyone faced the same problem?Please help.

    Hi,
    I have been working on OATS for quite sometime,Off late i'm facing a unique problem out of nowhere
    when i run web functional script i'm getting the error "oracle.oats.scripting.modules.basic.api.exceptions.VariableNotFoundException:"
    Even though i have added the required databank,These were working fine for past 6 months suddenly started give me problem.
    1 thing i noticed was if i do any modification in the databank CSV file the corresponding INDEX file is not getting updated.Hence the system is unable to read the databank data i guess.
    Has anyone faced the same problem?Please help.

  • APEX-The manullay created column is not getting updated in the database

    Dear all
    I have a form on page, which is created along with a report using Form on a Table with Report option. From the form I have deleted one field and recreated manullay as set the property as database column. When I am calling from the report page (using defualt edit option) the value is showing there, but if I am 'Apply Changes' , the column value in database is get updated with null.
    Please help
    DJ.

    This is the SQL and PL/SQL forum.
    Please re-post this on the APEX forum.
    Oracle Application Express (APEX)

  • Data is not getting updated in DB table

    hi all
    i am doing IDOC to jdbc scenario
    i am triggering idoc from R/3 and the data is going into DB table
    sender side:       ZVendorIdoc
    receiver side:
    DT_testVendor
      Table
        tblVendor
          action       UPDATE_INSERT
          access      1:unbounded
            cVendorName 1
            cVendorCode 1
         fromdate    1
         todate      1
          Key
            cVendorName  1
    if i trigger idoc for example vendor 2005,2006 and 2010 data is getting updated in the table
    but again if i trigger idoc for same vendor nos data does not get updated in DB table while message is successfull in moni and RWB both
    plz suggest if any change need to be done to update the data
    Regards
    sandeep sharma

    Hi Ravi
    you are right, vendor no is my key field . problem is when i send data again then it should Update the data but it's not updating the data again
    i did on exp with this : i deleted all the record from the table and then  triggered idoc for vendor 2005 , 2006,2010 after this data is updated in the table i deleted the rows for vendor no 2006 and 2010 and kept the row for vendor 2005
    then i again trigered the idoc for vendor no 2005,2006 and 2010 now this should update and it should insert rows for vendor no 2006 and 2010 but i am surprised its not updating the data
    Thanks
    sandeep

  • CPS parameters are not getting updated in SAP

    We have recently migrated our SAP and CPs servers, after that we are  facing few CPS issues  and it is affecting lot of key batch jobs. One typical example is given below.
    CPS is supposed to trigger a job  DD simulation, by copying the SOURCE_DATE_ID -1-Dec-2006  and modifies the parameters BUDAT and FAEDA_HIGH. The parameter FAEDA_HIGH is calculated as time.now()+ 5 working days as defined in the expression. When we try to run the job today with the date 24 Dec 2010, CPS has calculated the FAEDS_HIGH correctly as 2-Jan-2011. IN SAP the variant gets created but for the field FAEDA_HIGH the date value is not getting updated properly it is display some other date. (e.g)  It is showing as 4-jan-2011,  I removed the xpression and gave another date for the FAEDA_HIGH field as 10/01/2011, but in SAP it is not getting updated.
    Has anyone faced similar kind of issue. share you experience
    Regards,
    Ramprasad.

    Hi ,
    PLease find attached out XBP version
    XBP connection pool for SAP system ISU
      XMI interface version           : 2.0
    Since we have taken backup and restored the SAP Database, the CPs transport file already exists in the System.
    Basically what happens is
    So actually what is happening is, the CPS parameter FAEDS_HIGH expressions are  not used for due date calculation.. CPS just copies the source date-id to target id  and similarly for the due date based on the difference
    source_id variant date 01-12-2006   due date 02-12-2006  ( Next day)
    Target_id Variant date 25-12-2010  due date 26-12-21010  ( Next Day)
    I tried changing the Source date id from 01-12-2006 to 24-12-2010.
    Source Variant date 24-12-2010   due date 04-01-2011 ( 10 Days)
    Target Variant date 25-12-2010  due date 05-01-2011 ( 10 Days)
    Regards,
    Ram

  • Error in Proxy- Table not getting updated

    Hi,
    This is an Interface between Oracle and SAP SRM. The Middleware used is
    SAP XI.XI is fetching the data based on the SQL condition in the JDBC Adapter. The SAP XI JDBC Adapter picks up the
    data with a poll interval of 600 seconds and do the required mapping
    transformation in SAP XI and it gives XML to SAP SRM. The
    receiver XI Adapter used is XI Adapter since there is a Inbound Proxy
    program in the SRM system which when receives the XML from SAP X,
    updates table . The data which is getting updated is of Bid
    Invitation in SRM. I am able to see xml messages in SXMB_MONI in SRM system. But data is not getting updated in the tables.Any idea why this happening.
    Thanks

    have you created  the sales order through  BDC .... or manually ....check  first ...
    if it is  through BDC  ...then error in the Program ...
    if it is throught  Manual   check with  function People  in  SD they would have  defined in the Customisation  upto 130 lines  of  Line  item ...
    orelse   the  patch should  be  applied ...
    if  you ask anydoubt in this  message  ....please mention your  sap version which you are working ...
    Girish

  • Values not getting updated in table mvke

    Hi,
    I am working on a module pool program.In the o/p screen there are many records.If the user wants to change the field values of a particular record,he clicks on the checkbox besides that record and when he click on the change button,control goes to update screen.In this screen when the user changes the value of one particular field and click on the checkbox beside and then click on the execute button,the changed value of that field should get updated in that particular record in the database table.Here I want to update mvke and marc tables.
    I have used FM BAPI_MATERIAL_SAVEDATA to update the database tables.
    Only marc table is getting updated with changed values.mvke table is not getting updated.What would be the reason for this.
    I am sending a part of my code.Please check it.
    form move_mat_data .
    *Header
    gt_bapi_head-material = gs_output1-matnr.
    gt_bapi_head-ind_sector = gs_output1-mbrsh.
    gt_bapi_head-matl_type = gs_output1-mtart.
    gt_bapi_head-basic_view = 'X'.
    gt_bapi_head-purchase_view = 'X'.
    gt_bapi_head-account_view = 'X'.
    gt_bapi_head-sales_view = 'X'.
    *Client
    gt_bapi_client-matl_group = gs_output1-matkl.
    gt_bapi_client-base_uom = gs_output1-meins.
    gt_bapi_clientx-matl_group = 'X'.
    gt_bapi_clientx-base_uom = 'X'.
    *Plant
    gt_bapi_marc1-plant = gs_output1-werks.
    gt_bapi_marc1-pur_status = gs_output1-mmsta.
    gt_bapi_marc1-mrp_type = gs_output1-dismm.
    gt_bapi_marc1-mrp_ctrler = gs_output1-dispo.
    gt_bapi_marc1-serv_level = gs_output1-zserclass.
    gt_bapi_marc1-availcheck = gs_output1-mtvfp.
    gt_bapi_marcx-plant = gs_output1-werks .
    gt_bapi_marcx-pur_status = 'X'.
    gt_bapi_marcx-mrp_type = 'X'.
    gt_bapi_marcx-mrp_ctrler = 'X'.
    gt_bapi_marcx-serv_level = 'X'.
    gt_bapi_marcx-availcheck = 'X'.
    Material Description
    REFRESH gt_materialdesc.
    gt_materialdesc-langu = gs_output1-spras.
    gt_materialdesc-matl_desc = gs_output1-maktx.
    append gt_materialdesc.
    *Sales
    gt_bapi_mvke1-sales_org = gs_output1-vkorg.
    gt_bapi_mvke1-distr_chan = gs_output1-vtweg.
    gt_bapi_mvke1-sal_status = gs_output1-vmsta.
    gt_bapi_mvke1-valid_from = gs_output1-vmstd.
    gt_bapi_mvkex-sales_org = 'X'.
    gt_bapi_mvkex-distr_chan = 'X'.
    gt_bapi_mvkex-sal_status = 'X'.
    gt_bapi_mvkex-valid_from = 'X'.
    endform. " move_mat_data

    Hello Hema,
    Find the fields which you need to populate with values:
    As an example i'm trying to update DISPO from MARC and VKORG from MVKE.
    No need to fill clientdata and clienddatax.
    * Header data
          MOVE g_wa_mat_out-s_matnr TO g_r_headdata-material.
          MOVE 'X' TO g_r_headdata-mrp_view.
    * Plant data
          MOVE g_wa_mat_out-t_werks TO: g_r_plantdata-plant,
                                        g_r_plantdatax-plant.
              MOVE g_wa_mat_out-t_dispo_new TO g_r_plantdata-mrp_ctrler.
              MOVE 'X' TO g_r_plantdatax-mrp_ctrler.
              MOVE g_wa_mat_out-t_vkorg_new TO g_r_salesdata-sales_org.
              MOVE 'X' TO g_r_salesdatax-sales_org.
    Reward If Helpful.
    Regards
    Sasidhar Reddy Matli.
    Edited by: Sasidhar Reddy Matli on Feb 7, 2008 11:49 AM

Maybe you are looking for