About R/3-XI-JDBC

Hi all.....
Iam learning XI now ..so iam having some doubts can anybody explain......
In the scenario R/3->XI---->JDBC.
Iam sending an idoc of customer data from R/3  to database by using stored procedure.Is ther any need to use File content conversion.if yes can anybody explain this scenario.
Thanks in Advance....

>Is there any need to use File content conversion.
FCC will be used in case of file adapter only..
No Need buddy,
Just push the data from R/3 either by proxy or RFC adapter( even you can use Idoc but no adapter configuration will be required for Idoc).
Other side you have to use JDBC adapter ...for triggering the Stored Procedure..
Regards,

Similar Messages

  • About 2 questions for jdbc adapter.

    1.
        which transaction isolation level should i set for jdbc sender adapter to guarantee data to be selected correctly?
        not error occurs.
    2.
        how to reslove time_out error for jdbc adapter. especially sync query in volume data case.

    Hi,
    If you want to maintain the sequence and data consistency, then use isolation level "serializable" and QoS as EOIO.
    Set / Increase the time_out parameter in the adapter module.
    Regards,
    Neetesh

  • About the Lock of JDBC Adapter

    Hello Experts,
    Im confused for the Lock.
    If it will be locked when I stop the JDBC receiver channel but the insert statement doesnt complete ??
    I mean whether the sql statement will be hang and not execute forward?
    I presume  will it possibly autocommit while I stop the sneder / receiver channel ?
    THX for ur time and effort,
    Brian
    Edited by: brian Luo on Nov 16, 2009 11:34 AM

    Hi,
    It depends on your JDBC Drivers features support for your transactions, check the features of JDBC Drivers you installed on to
    Adapter Engine, If you doesn't check this option also it will committ, if drivers had transaction handling features.
    based on the features of drivers it will rollback the inserted records or otherwise it will committ for the inserted records.
    for reference see the link below:
    [http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm]

  • About JDBC

    Hi, I am a fresher studying about JDBC. I wanted to know about the basics of JDBC. i wanted to know for what purpose JDBC is used..

    hi
    there r diffrent types of jdbc connection.hope u kmow jdbc is use to connect to database.if u need jdbc -mysql connection
    1.download a mysql connector from apache site
    2.edit .bash profile and add patf of connector to classpath
    3.follow this link http://www.kitebird.com/articles/jdbc.html#TOC_1

  • How to use JDBC Connection Pools in a standalone application?

    Hi, there,
    I have a question about how to use JDBC Connection Pools in an application. I know well about connection pool itself, but I am not quite sure how to keep the pool management object alive all the time to avoid being destroyed by garbage collection.
    for example, at the website: http://www.developer.com/java/other/article.php/626291, there is a simple connection pool implementation. there are three classes:JDBCConnection, the application's gateway to the database; JDBCConnectionImpl, the real class/object to provide connection; and JDBCPool, the management class to manage connection pool composed by JDBCConnectionImpl. JDBCPool is designed by Singleton pattern to make sure only one instance. supposing there is only one client to use connection for many times, I guess it's ok because this client first needs instantiate JDBCPool and JDBCConnectionImpl and then will hold the reference to JDBCPool all the time. but how about many clients want to use this JDBCPool? supposing client1 finishes using JDBCPool and quits, then JDBCPool will be destroyed by garbage collection since there is no reference to it, also all the connections of JDBCConnectionImpl in this pool will be destroyed too. that means the next client needs recreate pool and connections! so my question is that if there is a way to keep pool management instance alive all the time to provide connection to any client at any time. I guess maybe I can set the pool management class as daemon thread to solve this problem, but I am not quite sure. besides, there is some other problems about daemon thread, for example, how to make sure there is only one daemon instance? how to quit it gracefully? because once the whole application quits, the daemon thread also quits by force. in that case, all the connections in the pool won't get chance to close.
    I know there is another solution by JNDI if we develop servlet application. Tomcat provides an easy way to setup JNDI database pooling source that is available to JSP and Servlet. but how about a standalone application? I mean there is no JNDI service provider. it seems a good solution to combine Commons DBCP with JNID or Apache's Naming (http://jakarta.apache.org/commons/dbcp/index.html). but still, I don't know how to keep pool management instance alive all the time. once we create a JNDI enviroment or naming, if it will save in the memory automatically all the time? or we must implement it as a daemon thread?
    any hint will be great apprieciated!
    Sam

    To my knoledge the pool management instance stays alive as long as the pool is alive. What you have to figure out is how to keep a reference to it if you need to later access it.

  • SAP XI JDBC Adapter

    Hi,
    I have few question and I am requesting you to answer my questions.
    1. What is the purpose of Program ID to specify when we configure the Sender RFC communication Channel?
    2. How to get the JDBC Driver name , connection parameters, Host and Port for the JDBC Communication channel configuration. My Basis consultant said, he has not aware this JDBC Adapter?
    I need to use JDBC Adapter for my JDBCXIFile Scenario. Please explain me the step by step procedure. Please explain me from where we need to get the above parameters and JDBC Driver already configued in XI. I need the Driver name with syntax and connection parameters, host and port.
    3. Where we need to write the SQL Query for SELECT, INSERT, DELETE, and UPDATE in configuring the Receiver JDBC Communication channel?
    I am very thankful to you in advance.
    Nagarjuna.

    Hi,
    I have few question and I am requesting you to answer my questions.
    1. What is the purpose of Program ID to specify when we configure the Sender RFC communication Channel?
    Program ID : Program ID of the registered server program. The selected program ID must uniquely describe the RFC sender channel in the configured gateway (Application Server (Gateway) and Application Server Service (Gateway) parameters). Also this program where you execute your RFC function with specified RFC destination.
    2. How to get the JDBC Driver name , connection parameters, Host and Port for the JDBC Communication channel configuration. My Basis consultant said, he has not aware this JDBC Adapter?
    I need to use JDBC Adapter for my JDBCXIFile Scenario. Please explain me the step by step procedure. Please explain me from where we need to get the above parameters and JDBC Driver already configued in XI. I need the Driver name with syntax and connection parameters, host and port.
    Host and Port for the JDBC Communication channel configuration: there are DB parameters which you are using.
    info about installation drivers for JDBC & JMS adapters
    FIRST: drivertool you can find at https://www.sdn.sap.com/irj/sdn/howtoguides
    Then Exchange Infrastructure How-to Guides for SAP NetWeaver 2004 How to Install and Configure External Drivers for JDBC & JMS AdaptersDownload attached system files (ZIP 16KB)
    SECOND:installation guiade:
    External Driver Configuration for Process Integration 7.0
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60237e74-ef19-2b10-5a9b-b35cc6a28e83
    Tips and Tutorial for Sender JDBC Adapter
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
    File-to-JDBC(Receiver JDBC)
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    3. Where we need to write the SQL Query for SELECT, INSERT, DELETE, and UPDATE in configuring the Receiver JDBC Communication channel?
    You write them in action tag in Message Mapping.
    For the details find "Document Formats for the Receiver JDBC Adapter" on help.sap.com
    BR,
    Dzmitry

  • JDBC Driver: MS Access

    I need to connect locally to a mdb file on a Windows OS and manipulate its data. I have tried the sun.jdbc.odbc.JdbcOdbcDriver but it does not support primary keys manipulation. I have read numerous topics about JDBC drivers for MS Access, some of them also in this forum. The suggested drivers I found so far are commercial; I definitely need a non-commercial one for testing purposes. So please do not respond to this post, advertising commercial drivers (like HXTT for example).
    I've had a look at http://jackcess.sourceforge.net/ but it requires specific code syntax and I would like to use a driver without rewriting my application. Then I've found http://rmijdbc.objectweb.org/ but it only allows remote access to an already existent JDBC driver.
    Any suggestion about a non-commercial JDBC driver for MS Access? Thanks in advance.

    When I try:java.sql.ResultSet rs_PrimaryKeys =
    Database_MetaData.getPrimaryKeys(null, null,
    for_TableName); with the
    sun.jdbc.odbc.JdbcOdbcDriver, it's reported that "the
    driver does not support this operation yet". Right, but that doesn't mean you can't work around it.
    Besides,
    it does not allow to do
    rs_Columns.getString("sameIntValueHere");more than one time within the same rowwise iteration
    of rs_Columns.next()
    There's no workaround for that. It's just the nature of streams/iterators/cursors.
    Any
    ideas/suggestions for a workaround will be more than
    gladly received! This issue is causing me headaches
    for days and I've finally decided to share my
    struggle here...You can work around the primary key problem.
    As far as the ResultSet question goes, you should not be using ResultSets that way. Iterate through the ResultSet, load the data into an object or data structure, and close it right away in the narrowest scope possible.
    %

  • Mm.mysql JDBC Driver and the WHERE clause

    Anybody has succesfully performed a MySQL/JDBC query in a JSP application using more than one variable in the WHERE clause?
    It works fine when I run queries with one fixed value assigned to a column and one variable assigned to the other column in the WHERE clause; but when I do it with more than one variable in the WHERE clause, it screws up throwing an error.
    I wonder if it is a code error, a syntax error or if it is something tricky about the mm.mysql JDBC Driver. Following is a section of the code and the error. The variables are s_description and s_status. I read some examples in a book but they use SQL Server. Thank you in advance for any information.
    CODE:
    <% String sqlStatement = "" ; %>
    <% String s_description = "Mexican Style Rice" ; %>
    <% String s_status = "available" ; %>
    <% java.sql.Statement stmt = con.createStatement(java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE, java.sql.ResultSet.CONCUR_UPDATABLE); %>
    <% java.sql.ResultSet rs ; %>
    <% sqlStatement = "SELECT code, description, status FROM products WHERE products.description =" + s_description + " AND products.status =" + s_status + ";" ;%>
    <% rs = stmt.executeQuery(sqlStatement); %>
    <% rs.beforeFirst(); %>
    <% while (rs.next()) { %>
    <% rs.updateString(3, "sold"); %>
    <% rs.updateRow(); %>
    <% }%>
    <% rs.close(); %>
    This is the ERROR it throws
    java.sql.SQLException: Column not found: Unknown column 'available' in 'where clause'
         at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java:497)
         at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java:550)
         at org.gjt.mm.mysql.MysqlIO.sqlQuery(MysqlIO.java:635)
         at org.gjt.mm.mysql.Connection.execSQL(Connection.java:882)
         at org.gjt.mm.mysql.Connection.execSQL(Connection.java:815)
         at org.gjt.mm.mysql.Statement.executeQuery(Statement.java:169)
         at org.gjt.mm.mysql.jdbc2.Statement.executeQuery(Statement.java:78)
         at pagecompile._GetFood_xjsp._jspService(_GetFood_xjsp.java:45)
         at com.newatlanta.servletexec.JSP10HttpJspPage.service(JSP10HttpJspPage.java:41)
         at com.newatlanta.servletexec.JSP10Servlet.service(JSP10Servlet.java:779)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.newatlanta.servletexec.ServletExec.CallServletService(ServletExec.java:1679)
         at com.newatlanta.servletexec.ServletExec.processServletRequest(ServletExec.java:1654)
         at com.newatlanta.servletexec.ServletExec.processServletAlias(ServletExec.java:1602)
         at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1343)
         at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1113)

    I think perhaps this sentence has problems:
    <% sqlStatement = "SELECT code, description, status FROM products WHERE products.description =" + s_description + " AND products.status =" + s_status + ";" ;%>
    You can
    <% sqlStatement = "SELECT code, description, status FROM products WHERE products.description ='" + s_description + "' AND products.status = '" + s_status + "'" ;%>
    You perhaps ignore the ���� when using String variable s_description and s_status.
    Hope this will help you. Good lucky!

  • JDBC and ABAP proxy

    Hello guys , need help with the following scenario :
    ZTable as sender through Xi to db. i have never worked on this type before . Need some help in any blogs or scenarios dealing with the same . Interfacing ztable through a abap proxy.
    I am also confused on the concept of client and server proxy . Please suggest
    Krishnah

    Hi Krishna,
    <u><b>
    CLIENT PROXY:</b></u>
    A WSDL description from a UDDI server (or an Internet page) is usually used to make a service executable in the Internet and to describe the interface of this service. You require a client proxy and not a server proxy to call this service by using the Web service infrastructure.
    <u><b>SERVER PROXY:</b></u>
    You can only generate ABAP server proxies from a WSDL description if they originate in the Integration Repository.You can also generate server proxies for Java and client proxies for ABAP from message interfaces.
    To Know more about Client and Server Proxy Please go through these links:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm">Proxy Generation</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/62/8a5f3c31727d59e10000000a114084/content.htm">Implementing a Server Proxy</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/9b/821140d72dc442e10000000a1550b0/content.htm">Data Transfer Using SAP XI</a>
    Also look at these Blogs which explain in detail about the Proxies.
    <a href="/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy Proxy</a>
    <a href="/people/siva.maranani/blog/2005/04/03/abap-server-proxies Proxies</a>
    This pdf should help you...It talks about implementing the various JDBC scenarios:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b">Step-By-Step Approach for Implementing XI Scenarios</a>
    To configure your JDBC adapter you can navigater thru this link:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm">JDBC Adapter</a>
    Configuring sender JDBC adapter:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/frameset.htm">Configuring the Sender JDBC Adapter</a>
    Configuring receiver JDBC adapter:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm">Configuring the Receiver JDBC Adapter</a>
    This weblog deals with a complete JDBC scenario and is ideal for beginners:
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Regards,
    abhy

  • Pooled jdbc connection(s), and server resources

    Hello All,
    I am curious about the difference between jdbc connections in a connections pool, and 'stand alone' connection. I have Oracle 9.2
    To describe...
    In my application server (WebLogic) I have a connection pool, with 10 connections. Does this take less server resources than 10 separate connections? I notice that there are still 10 server processes appearing.
    thanks!
    JM
    the jdbc Programmer's Guide and Reference says...
    (( start quote ))
    A pooled connection instance encapsulates a physical connection to a database. This
    database would be the one specified in the connection properties of the connection
    pool data source instance used to produce the pooled connection instance.
    A pooled connection instance is an instance of a class that implements the standard
    javax.sql.PooledConnection interface. The getConnection() method
    specified by this interface returns a logical connection instance that acts as a
    temporary handle to the physical connection, as opposed to encapsulating the
    physical connection, as does a non-pooling connection instance:
    (( end quote ))
    ...I had the impression that a connection pool of 10, results in one 'physical' connection. But it appears not!

    No, and yes...
    A pool of 10 connections creates 10 physical database connections, which require exactly the same resources as 10 connections from a standalone Java app or 10 connections from SQL*Plus.
    The connection pool, however, allows those 10 physical connections to server one the order of 100 logical connections (in an average OLTP application). If you have a JSP page that opens a connection, runs a couple of DML statements, and closes the connection, having a connection pool greatly reduces the load on the database because it does not have to create a new physical connection for every JSP page-- the JSP page gets a connection from the pool, uses it for a bit, and returns it to the pool where it can be assigned to another JSP page. Because each user only needs the connection a small percentage of the time, you can server many physical users with only 1 physical database connection.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Modifiy and maximize performance of Oracle JDBC driver

    Hello all,
    due to some boring errors I'm trying to modify and maximize my JDBC driver for oracle connection... in particular I've two questions:
    1. to substitute oracle driver with a newer version you have simply to upgrade the JDBC driver in $ODI_HOME/drivers/ORACLE or you have to add/modify the file named DriverRefV3.xml in sunopsis.zip. In particular I've checked DriverRefV3.xml but there's not reference to the file used for oracle connection so I do not know if ODI is using the ojdbc5.jar updated present in ODI_HOME/drivers/ORACLE
    2. Oracle JDBC driver supports some properties as inactivity-timeout. Usually these are related to connection pool opened to the database. I want to change these properties...it's possible?
    Thanks
    Stefano

    Hi Stefano ,
    If you have only 1 Oracle JDBC driver ie. ojdbc5.jar in $ODI_HOME/drivers the ODI have to use that driver only (provided you are using correct JDK for that driver )
    DriverRefV3.xml is for listing down the driver in the JDBC connection URL
    Unless and until you have the driver in $ODI_HOME/drivers , DriverRefV3.xml will not help you.
    Have no idea about timeout setting in JDBC .
    If you find answer then it will be very helpful if you can share the same in this forum .
    Thanks,
    Sutirtha

  • MSSQL JDBC 2.0 driver configuration

    Hi ALL
    I am using PI7.0 with database MSQL 2005
    for JDBC scenario i have downloaded MSSQL JDBC 2.0 driver from microsoft website
    But as per the deployement guides available on SDN and help section , i have to add files
    msbase.jar,mssqlserver.jar and msutility.jar to aii_af_jmsprovider.sda
    but i cant see anyone of the three file inside the downloaded driver.
    downloaded Driver path is  
    http://www.microsoft.com/downloads/details.aspx?FamilyID=f914793a-6fb4-475f-9537-b8fcb776befd&DisplayLang=en
    Is there different procedure to install MSSQL JDBC2.0 driver?
    or have i downloaded the wrong driver?
    If any JDBC driver is already deployed on XI server then How to confirm that driver is installed and which version?
    Thanks
    Sandeep Sharma
    Edited by: sandeep sharma on Jan 23, 2009 10:49 AM

    Hi Sandeep,
    Below I provide info about installation drivers for JDBC & JMS adapters
    FIRST: drivertool you can find at https://www.sdn.sap.com/irj/sdn/howtoguides
    Then Exchange Infrastructure How-to Guides for SAP NetWeaver 2004 How to Install and Configure External Drivers for JDBC & JMS AdaptersDownload attached system files (ZIP 16KB)
    SECOND:
    New version of installation guiade:
    External Driver Configuration for Process Integration 7.0
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60237e74-ef19-2b10-5a9b-b35cc6a28e83
    BR,
    Dzmirty

  • Test JDBC connection problem

    Hi all,
    I got a very weird problem when I click Test Connection Button.
    I installed xml publisher Enterprise 5.6.2 in the server, I attempt to configure Jdbc connection in this server. once I click the Test Connection Button after I input all information, all information will be cleaned in this server, i can not get any message if the connection works well.But if i use url like http://serverIP:15101/xmlpserver/ to login xml publisher on other machine, I will get successful or error message.
    who has same experience in JDBC configuration?how to solve it ,thanks in advance.

    Apologies ... not really sure what the issue is. I assume you are talking about setting up the JDBC connection for a data source?
    In that case the entries would be something like:
    connection string: jdbc:oracle:thin:@host.company.com:1525:ora10g
    un: oe
    pw oe
    driver class: oracle.jdbc.driver.OracleDriver

  • JDBC and MTS server

    Hi every body.
    I'd alread looked for documentation about how does the JDBC thin driver(package classes12.zip) works whith MTS server.
    I'm using this package to connect to the MTS server 8i and discovered that the connections do not work if a change the "hosts" file that is in winnt/system32/drivers/etc.
    If this package is a plataform independent why it needs that file?
    Thanks for any Help!

    Since java extracts away the platform dependence it is less important what platform you work on.
    In theory an application (web or not) should work with out modification on a solaris machine a windows pc or even a mac. That is not to say that you would want to run your web server off a mac g4 though. Use the best machine for the job. It is not the machine but all the software that goes with it that matters more.
    The database is also much less of a problem because you interact with it through JDBC rather then directly. Hence, in theory (again), you should be able to switch the database and not change any code. This means the choice of SQLServer over Oracle over MySQL is less of an issue again. Databases are not as well extracted as the machine and often you have to change code to switch database but if you understand this from the start even that will mean only minor changes.

  • Can't find example source for Secure Thin JDBC Connection Sample

    I've found information about an aspect of JDBC usage that I desperately need, but can't find the example source associated with it. The page is:
    http://www.oracle.com/technology/sample_code/deploy/security/files/secure_thin_driver/readme.html
    It would be useful to have the link to the example source JAR directly on the page.
    Any assistance you could provide would be greatly appreciated.
    Regards,
    Peter

    Hi Peter,
    the page you post has a link to jar file at http://www.oracle.com/technology/sample_code/deploy/security/files/secure_thin_driver/secure_thin_driver.jar
    this jar has many example source codes. Just unzip it... or unjar it typing jar xvf SecureThinDriver.jar

Maybe you are looking for

  • 1st Generation Apple TV No Longer Appears as Device

    Since the latest iTunes update, my Apple TV no longer appears as a device in iTunes on my Mac Pro even though it does on my MacBook despite both are completely up to date and are running on the same network (AirPort Extreme Dual Band) with EXACTLY th

  • Nokia C3-01.5 Screen Symbols..?

    Hey. I've got this little symbol on the screen which not are shown in the manuel. Its look like a Post-Letter.. Or a visit-card and the GPRS [G] are shown online all the time. Anyone know what this is, and how to get it off?. /zt4r.

  • If I use more than 1 skype name and password, do I...

    I have several skype names, and if I want to use more than 1, do I need to have a separate account for each name, or do the minutes purchased apply to my email address, not to the skype name?

  • Writing score without recording in garageband

    i'm trying to write my own score on GB, but i can't get notes on the manuscript. I would like to write the music, then hear it played back, not play the music then see it written, if that makes sense. I;ve tried command click and clicking on the edit

  • Save copy delete is failed

    Dear All, When i try to run this script /usr/sap/GQR/SYS/exe/run/brarchive -d util_file -scd -c -u  <username>/<password>@GQR in  ORASID, i got this error BR0006I Start of offline redo log processing: aeakekpv.cpd 2009-04-21 16.08.59 BR0484I BRARCHIV