Problem in back to back interface calls using JDBC adpater

Hi,
I am facing a problem while using the JDBC adapter from XI to oracle for back to back iterface calls.
as my scenario is as follows i am doing synchronus call with the first interface which is working fine, immediately after the synchronus call i am doing a asynchronus call which is showing as successfull in XI but it is not at all reaching to oracle side as it is supposed to update a table in oracle using a stored procedure.
any idea what could be the problem?
Shravan

Hi Shravan,
It would be helpful if you could tell us the error thrown
by your JDBC adapter in the <b>RWB--> ADAPTER MONITORING</b>.
Also, if possible can you give us the message being passed to your JDBC adapter.
meanwhile, just check your JDBC adapter document format against the formats in this link.
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
For execution of a stored procedure using JDBC adapter, make sure that the action attribute is
<b>EXECUTE</b> and the table name provided is the name of the STORED PROCEDURE.
Regards,
Bhavesh

Similar Messages

  • Problem with back button when using task flow to navigate through pages

    I am using unbounded task flow to navigate through my pages
    in page2 I added back button so I can back to page1 using the action A2
    task flow 1
    page 1 -----A1-------> page 2
    page2 ----A2--------> page1
    the problem when I used page2 in another task flow
    task flow 2
    page 3 -----A3------> page2
    page 2 -----A4 -----> page3
    here when I click on back button he take me to page1
    how can I back to page3 ???????

    For this you have to know where the user came from when he navigated to page2. You can e.g. store the back target in a variable in the session or pageflow scope (when the user navigates from page1 or page3 to page2), then you bind the back button of page 2 to the stored variable.
    Timo

  • BAPI Sync Call using JDBC Staging Table..

    Hello..  (a bit of a newbie so I apologize in advance)
    I'm having a problem with an integration.  It looks like the xml is coming into XI fine from the JDBC source, but not getting to the correct mapping program.   In Runtime Workbench, I get two messages in the Adapter engine.  One says successful and has the payload of the JDBC pull data.  The other is at a Waiting status and has the same data structure.  The error messages says unable to find channel ID.  Here are the details.
    Synchronous Integration:
    - JDBC table Source (polled every 5 mins)
    - Mapped to BAPI_PO_CREATE1 (request)
    - BAPI call to BAPI_PO_CREATE1
    - BAPI resonse BAPI_PO_CREATE1.Response (for PO number)
    - Mapped to custom message for JDBC insert command.
    - JDBC table updated with PO number from BAPI_PO_CREATE1.Response
    I have created two separate Interface Mappings for this, one is a Synch interface outbound with the JDBC source message type output and the JDBC target (with PO number) message type input.   The second Interface Mapping is also outbound and has the BAPI CREATE1 as output and the BAPI Response as input.

    I have gotten this to work and submit to the adapter.  As it turns out, I had a problem in my source data structure.  The JDBC call (sql) was pulling in the format below.  I was missing the subelement "row"
    Now I am onto more mapping questions.  Thank you for your help though!
    <?xml version="1.0" encoding="utf-8" ?>
    - <PO_Combined_in>
    - <row>
      <MANDT />
      <EBELN>D02</EBELN>
      <EBELP>00010</EBELP>
      <ACTION_KEY>A</ACTION_KEY>
      <CR_DATE>2005-12-12 00:00:00.0</CR_DATE>
      <CR_TIME>12000000</CR_TIME>
      <BSART />
      <SEQUENCE>1</SEQUENCE

  • How to update two tables in a single call using JDBC Sender adapter

    Hello All,
    The scenario is, database entries have to be selected from two tables and at the same time those tables have to be udpated with the flag.
    We are using JDBC sender adapter and in Select Query, we are fetching the data by joinin the two tables.
    Update Statemtent: We can only update one table using this statement.
    Is it possible to update two tables using the Update Statement without using Stored Procedures.
    Let me know.
    Regards,
    Sreenivas.

    Hi Sreenivas,
    > Is it possible to update two tables using the Update Statement without using Stored Procedures.
    Yes its possible through join statement
    Check this links
    Update in JDBC Sender adapter for more than one table
    data from 2 tables for jdbc sender adapter
    Regards
    Ramesh

  • Problem:I can't get oracle MajorVersion using jdbc in 9.2.0.1.0!

    I can't get oracle MajorVersion using jdbc in 9.2.0.1.0,how can i do and how many oracl version can't get MajorVersion?
    thanks,erveryone! online waiting

    What errors are you getting? Can you post the codew you are using to get MajorVersion.

  • Problems embedding in HTML an Applet that uses jdbc connection

    Dear Everyone,
    I'm having some problems deploying an applet that loads image paths from a mysql database. I manage to run the applet in appletviewer through netbeans but can't get to run it embedded in HTML code. The error I get from the java console is:
    load: class imagedisplay/MainApplet.class not found.
    java.lang.ClassNotFoundException: imagedisplay.MainApplet.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: E:\My Documents\NetBeansProjects\imagedisplay\src\imagedisplay\MainApplet\class.class (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: imagedisplay.MainApplet.class...where MainApplet.class is the applet class file. I surely don't know what class.class is but I suspect that it might be related to the mysql jdbc driver as I'm totally clueless about where to put it.
    In all I have MainApplet.class (applet) and DoubleBufferApplet.class (applet related), Data.class and ImagePaths.class (to load data from the database) and the mysql jdbc driver jar file. DoubleBufferApplet, Data and ImagePaths are in a package called imagedisplay.
    The HTML is as follows
    <HTML>
    <HEAD>
       <TITLE>Applet HTML Page</TITLE>
    </HEAD>
    <BODY>
      <applet code="MainApplet.class" width="500" height="140">
      </applet>
    </BODY>
    </HTML>Help is much appreciated.
    Regards,
    William.

    Hello Everyone,
    I sorted it out by a series of changes to the file structure, packages and HTML code. I still can't get it to work, but I'll start another thread for that
    Regards,
    William.

  • Problem using JDBC to connect to WBEM ODBC driver

    Hello,
    I've got a problem to connect to WBEM ODBC driver using JDBC. The error is:
    exception due a la requetejava.sql.SQLException: [Microsoft][WBEM ODBC Driver]Unable to connect
    When I try to connect to a MS access database, replacing only the ODBC source name, it's working. I can access to the MS access db. But when I put the WMI ODBC source name, WMI, I've got this error.
    Does anybody know what could happened? Is it possible to access to WMI through JDBC? With MS access, accessing WMI ODBC is working !
    Thanks very much for your help.
    Here is the part of the source code :
    import java.sql.*;
    import java.io.*;
    public class Main_1 {
    /** Creates a new instance of Main_1 */
    public Main_1() {
    * @param args the command line arguments
    public static void main(String[] args) {
    try {
    String url = "jdbc:odbc:WMI";
    Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection(url);     
    String query = "Select * from Win32_Processor";
    //String query = "Select * from test;";
    ResultSet results;
    Statement stmt = con.createStatement();
    results = stmt.executeQuery(query);
    //System.out.println (results);
    catch(Exception e){
         System.out.println("exception due a la requete" + e);
    e.printStackTrace();
    }

    you have to first start the network listener before you can run the program
    start TNSLSNR before running the jdbc program

  • Unable to stablish connection using JDBC

    I can not stablish a connection using JDBC.
    Oracle Server (8.1.7) SuSE Linux 7.1 kernel 2.4 AMD 650 with 750MB of memory.
    Client: Win2000 (JDBC driver thin (The last one that you can download from OTN)
    I can connect using ODBC or the JDBC-ODBC bridge without any problem, but when I try to connect using JDBC I got an exception:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection. If I restart the listener then the connection can be stablished, after the connection is closed, and before any other connection can be made the listener must be stoped and restarted.
    any suggestions :)

    Thank you very much, seeing that document it was much easier to solve the problem.
    Now I am facing other problem:
    When I try to execute a query(for example : select * from
    ) I get this error:
    Error occurred while executing init statements
    java.rmi.RemoteException: com.sap.engine.services.dbpool.exceptions.BaseRemoteException: SQL statement(s) cannot be executed over DataSource "TEST". If you are using an Open SQL DataSource, you must register your tables using JDDI before you request them. Reason: com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: com.microsoft.sqlserver.jdbc.SQLServerException: La conexión a la instancia con nombre  ha fallado. Error: java.net.SocketTimeoutException: Receive timed out.
    Do you have any idea how to solve this?
    thanks again
    Bye!

  • In Iphoto 11 all 7000 of my photos show the same thumbnail.  I rebuilt the thumbnail using ctr alt and opening iPhoto. This worked and rebuilt the thumbnails correctly. Then when I reopened iPhoto the problem came back? Help please?

    In Iphoto 11 all 7000 of my photos show the same thumbnail.  I rebuilt the thumbnail using ctr alt and opening iPhoto. This worked and rebuilt the thumbnails correctly. Then when I reopened iPhoto the problem came back? Help please?

    Where is your Library stored?

  • Call a backing bean method using h:selectBooleanCheckbox of jsf on select

    I want to call a backing bean method using h:selectBooleanCheckbox of jsf on select and deselect.
    I cannot use af:selectBooleancheckBox of adf and h:selectBooleanCheckbox doesnot have the property of autosubmit="true"

    User,
    please don't duplicate your posts on this forum ({thread:id=2369739})
    If you don't get an answer right away it might be that there is some information missing or nobody had time to work on the issue. Pleas be patience...
    We all have other work to do to get our bills paid.
    If you can't wait open a support request with support.oracle.com
    Timo

  • Problem with BAPI_DOCUMENT_CHECKOUTVIEW2 while calling using JCO of XMII

    Hi DMS Gurus,
    The above FM is successfully executing and creating a local copy in temp folder of where the FM running using SAP GUI.
    But when i call using jco,i am getting some problems.
    1. If i execute the FM with default values for http dest and ftp dest, i am getting error saying << c:\temp\....file could not be created.
    2. When i changed the HTTP destination to <<SAPHTTPA>, it is executing fm successfully but dont know in which system the file is downloaded.
    My client application or xMII server ( where jco service is running ) or ABAP server.
    I checked in the first 2,i didn't find.
    SAP GUI is not installed in xMII server.
    But my requirement is to download to the physical server of xMII ( jco ).
    Is this any thing to do with creating http destinations??
    If that is the case, can any body help me in creating http destinations..
    and i heard something about SAPFTP.EXE ,is that should be some where in client or any servers??
    Please help me.
    Thanks
    Vansi

    Vamsi,
    As I mentioned in this forum thread, bapi_document_checkoutview2.  You have to use the POST action in BLS to communicate with the HTTP Interface of Content Mgmt. directly.  The only other alternative is to write your own BAPI to retrieve the content and send it back to xMII via the JCo action (Hint: The data will be base64 encoded and can be saved to the filesystem via the Image Saver action even though it is not an image).
    Sam

  • Problem with BAPI_DOCUMENT_CHECKOUTVIEW2 while calling using JCO

    Hi DMS Gurus,
    The above FM is successfully executing and creating a local copy in temp folder of where the FM running using SAP GUI.
    But when i call using jco,i am getting some problems.
    1. If i execute the FM with default values for http dest and ftp dest, i am getting error saying << c:\temp\....file could not be created.
    2. When i changed the HTTP destination to <<SAPHTTPA>, it is executing fm successfully but dont know in which system the file is downloaded.
    My client application or xMII server ( where jco service is running ) or ABAP server.
    I checked in the first 2,i didn't find.
    SAP GUI is not installed in xMII server.
    But my requirement is to download to the physical server of xMII ( jco ).
    Is this any thing to do with creating http destinations??
    If that is the case, can any body help me in creating http destinations..
    and i heard something about SAPFTP.EXE ,is that should be some where in client or any servers??
    Please help me.
    Thanks
    Vansi

    Vamsi,
    As I mentioned in this forum thread, bapi_document_checkoutview2.  You have to use the POST action in BLS to communicate with the HTTP Interface of Content Mgmt. directly.  The only other alternative is to write your own BAPI to retrieve the content and send it back to xMII via the JCo action (Hint: The data will be base64 encoded and can be saved to the filesystem via the Image Saver action even though it is not an image).
    Sam

  • Back To Back Webservice Calls

    Hi,
    I want to make back to back web service calls using WS data controls. I am using a web service proxy, and a Java class as a wrapper around the web service proxy data control.
    Step 1: I am able to successfully make the first web service call.
    Problem:
    The result from step1 is displayed in a table. How would i bind the selection (single for now) and pipe it as an input to make a second call.
    I have looked up an example (Thanks to Shay) at http://blogs.oracle.com/shay/2011/03/passing_parameters_between_web.html, and tried to mimic. However, in my case there is no page after the selection from result of step 1. I just want to make the call for the single selection.
    By the way, I have received the following error, evidently I am doing something wrong:
    ADF_FACES-60074:attempting to add setPropertyListener with type set to action to component that is not actionSource
    Any suggestions/help?
    Thank you,

    Frank,
    Thank you for replying.
    I tried 070 example, and I am getting a "Base Data Source and List Data Source cannot be bound to same view" error message. Also, the return collection from my java bean (this wraps a ws proxy and is exposed as a data control ) is not an orange icon, however I do see it displays a collection on drag & dropping on the page.
    I got the "Base Data Source....." message while replicating page 6/15.
    just read your comment at: Reg: ADF Select One List box..
    researching this issue further..
    Thank you,
    Edited by: 843190 on Apr 4, 2011 7:05 AM
    Edited by: 843190 on Apr 4, 2011 7:10 AM

  • Logout problem and back button

    Hi all,
    i have a backing bean called NaviBean which contains navigation in my application:...
    public String showBuchung() {
              result = NavigationResults.UEBERSICHT;
              return result;
         public String showJahresUebersicht() {
              result = NavigationResults.JAHRESUEBERSICHT;
              return result;
         public String logout() {
              servicefacade.logout();
              return NavigationResults.LOGOUT;
         }Bean for Jahresuebersicht and Buchung are with session scope. When the user navigates to Buchung hits the back button and then uses the logout button all works fine. Whe he tries the same with Jahresuebersicht the page Jahresuebersicht is shown again...
    Here the Logout method:
    public boolean logout(){
              FacesUtils.resetManagedBean(BeanNames.USER_BEAN, null);
              FacesUtils.resetManagedBean(BeanNames.JAHR_BEAN,null);
              FacesUtils.resetManagedBean(BeanNames.UEBERSICHT_BEAN, null);
              HttpServletRequest request = (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
              FacesContext context = FacesContext.getCurrentInstance();
              context.getApplication().getNavigationHandler().handleNavigation(context, "","User logged out successfully!");
              HttpSession session = request.getSession();
              session.invalidate();
              return true;
         }What is wrong with my navigation? Why this behaviour only for one page/bean? Can anybody help? Regards,
    ak
    Message was edited by:
    barnti

    I have seen this as well. Only the problem does not seem to be resolved by logging out and back in. The machine must be restarted.
    Nor will lowering the color settings make a difference once the behavior is exhibited.
    Mostly see this when first starting up Workgroup Manager on Xserve running 10.3.8 -- screen fails to refresh after some point during WM's attempt to list network users (7k+ users on network).

  • Purchased items not showing in App Store - Problem is BACK

    I post a question earlier, the problem seemed solved, but it is back agin, how frustrating !! here it is the story
    I am using iPad 3rd generation, iOS6.0.1. I just recently restored it due to a few crashes and shut down.
    I can get most of my app back from restoration, but I can't see any items purchased in App Store in Purchased tab. There is nothing, I tried many steps suggested in the forum, (sign out, shut off, sign back, update all info in my apple ID, etc.) but none of them seems to work.
    Later...
    Problem solved... The difference is I signed back in not in Setting -> iTunes & App Store, but directly open App Store, and sign in at pop up windown. the order of sign in seems "stupid", it doesn't make sense no matter how you sign in to app store, but it does make the difference. Sigh....
    Now...
      Problem is back again... I have no clue what's going on here with iTune and App Store... thing seems screw pretty bad... any one can help??
    Thanks a lot
    H

    Problem solved... The difference is I signed back in not in Setting -> iTunes & App Store, but directly open App Store, and sign in at pop up windown. the order of sign in seems "stupid", it doesn't make sense no matter how you sign in to app store, but it does make the difference. Sigh....

Maybe you are looking for

  • Power adapter flashing

    Hi I have a problem with my PowerBook G4. I have it for 4 years now, but this problem came out a month ago. The power adapter usually lights green when the battery is full or orange when it's charging. And mine is flashing dark orange. And i cannot t

  • Someone Deleted my Recently Added Playlist, How do I get it back?

    Someone else who was using my computer accidently deleted my recently added playlist. How do I get it back? I've already updated to the newest version of ITunes, but I still don't have it.

  • Custom Importer Support in AE

    Hi All, I have a quick question. Does Premiere Pro custom importers and synthetic importers are  supported by After Effects CS4? I noticed that imInit, imShutdown and imGetPrefs8 are not invoked by AE. Thanks, Chandan

  • Depreciation run after adjustment in period 14,2007

    Hi, My user has posted adjustment to an asset in period 14. All other periods are closed. Period 13 is already closed and cannot be opened again. And actually, we have run depreciation in period 13. However, when we want to run depreciation in period

  • Megaglest - Moving to bottom of screen instead of where I click

    Anyone else having issues similar to this? When I click on a resource, character, or existing building everything works as it should. However if I click on empty space to build something, set rally point,  or just to move the character then the click