Cmp connection over XI with jdbc adapter to sap r/3

Hi,
hope the subject is possible!
Is there some documentation which describe a successful appilication, that can get data from sap, and can write it back?
Thanks
PPeter
Message was edited by: Péter Papp

Hi,
U can go through the following steps to perform an RFC call to SAP system
Steps:
<b>Design time:</b>1) Import the RFC into design time.
2) perfrom the required message mapping between source message and RFC .
3) perfrom the imterface mapping.
<b>
Configuration time :</b>
1) Create a sender agreement, receiver determination, interface determination and interface mapping, and receiver agreement.
In receiver agreement, use an RFC adapter ( receiver channel ) and provide the necessary parameters to connect to sAP system.
Links of help:
http://help.sap.com/saphelp_nw04/helpdata/en/25/76cd3bae738826e10000000a11402f/content.htm
hope this helps you,
Cheers,
Siva Maranani.

Similar Messages

  • How to connect mySQL database with jdbc

    Who can tell me how to connect mySQL database with jdbc? Thanks

    http://onesearch.sun.com/search/developers/index.jsp?and=connect+mysql&nh=10&phr=&qt=&not=&field=title&since=&col=devforums&rf=0&Search.x=24&Search.y=16

  • Connecting Oracle 8i with JDBC

    Hi Friends,
    I am facing a problem while doing a connection to my DB which is ORACLE 8i with JDBC communication channels thorugh xi.
    I am getting an error "Error during database connection to the database URL 'jdbc:oracle:thin:@hostname:ORCL' using the JDBC driver 'oracle.jdbc.driver.OracleDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@hostname:ORCL': SAPClassNotFoundException: oracle.jdbc.driver.OracleDriver"
    In one of the SAP notes:867176 its mentioned .....
    3. Which JDBC driver version is certified to connect to which database version?
                  From the Oracle side:
                  The Oracle 10g JDBC drivers are certified to work with currently-supported versions of the database.
                  JDBC 8i/9i Thin drivers are certified to work with supported (previous) versions of the database.
                  Existing and supported JDBC drivers are certified to work with Oracle Database 10g.
                  From the SAP side:
                  SAP only supports homogeneus setups. The oracle driver major version must match the database major version, and the driver version must not be smaller than the database version.
                  SAP does not support Oracle 8i drivers.
    Is it not possible to connect to my DB?  Is SAP supports the connection to 8i oracle database? any idea,,,
    Regards,
    Sunil.

    Hi,
    Following is the connection string that we are currently using for connecting to Oracle 8i.
    This setting has been working for us. give it a try.
    connection string : jdbc:oracle:oci8:userid/password@server
    Note that this connection string is only if you use the Oracle OCI driver. The OCI driver requires a shared library or DLL on the server.
    The thin driver for Oracle is more commonly used as it doesn't require any additional libraries. The connection string is as already listed above:
    jdbc.oracle.thin:@server:port:SID
    There is no need to put the user and password into the connection string in the adapter config, putting it into the user and password fields works just fine.
    Regards,
    Suryanarayana

  • CLOB Datatype with JDBC Adapter

    Hi,
    we try to fill a Clob Datatype to JDBC Database.
    We try 2 ways with the JDBC Adapter:
    action="SQL_DML" with an SQL Statment and $placeholders$
    But how can i say the key element that it is a CLOB type?
    He used this a VARCHAR and there a not more than 4k Chars allowed.
    second way is action="EXECUTE" to call a Stored Procedure, but there we got the error that CLOB type is an Unsupported feature.
    Any Idea?
    Regards,
    Robin
    Message was edited by: Robin Schroeder

    Ok i will check this...
    But i'm right when i say that the only way to fill CLOB Type is to use a Stored Procedure ?
    or is there any possibility to do this with action="SQL_DML" ?
    Regards,
    Robin

  • I need Help for Connect To DB2 with JDBC

    I'd like to know why I Have this problem.
    The DB2 v 5.10 is in a IBM OS/390
    I know the IP, PORt, DBNAME and I'd like to connect to DB2 with my windows XP using JDCB from IBM.
    I use JDBC Universal for DB2 type 4.
    Class.forName("com.ibm.db2.jcc.DB2Driver");
    Url = "jdbc:db2://IP:PORT/BDNAME";
    DriverManager.getConnection.... (url, user, pass)..
    If I execute this, I have next problem
    SQL state = null
    Error code = -4499
    There is no available conversion for the source code page, 1208, to the target code page, "". DB2ConnectionCorrelator: null
    Why is this?
    Finally, the web application will running in a AIX IBM with machine, It could be that this machine (aix) can connect with the IBM OS/390 with JDBC for iBM?
    Thankss!!!

    Check how you configured the IP on the laptop and computers, assigned by router with DHCP feature enabled? Or configure manually? If it's assigned by wireless router, then make sure you assign big enough IP range in DHCP setting. Take a look on using ping to troubleshoot network and wireless router configuration articles to help you more..

  • Calling a Stored Procedure with JDBC Adapter ?

    I'm trying to call a Stored Procedure in my XI 3.0 JDBC adapter, but I get an "...invalid number of parameters...." error.
    Does anyone have an example of a Query SQL Statement and the corresponding Stored procedure?
    This is my test code. Eventually I would like to return a resultsett from the stored procedure.
    Query SQL Statement:
    call Sp_sapxi( 'F1' , 'xx' )
    Stored Procedure:
    CREATE OR REPLACE PROCEDURE Sp_sapxi (
      transtype_in IN      xi_flaggtest.TRANSTYPE%TYPE,
      status_in    IN      xi_flaggtest.STATUS%TYPE)
    IS
    BEGIN
      UPDATE xi_flaggtest
                 SET status = status_in
               WHERE transtype = transtype_in;
    END;
    Regards,
    Elling

    you can clear the field key tags mandatory in the XML Schema interpreter parameter and make the Empty string value to Empty string from null value.
    For mapping : you can pass a value that is of the same format of date; but you can take your own value in the database since you are parsing the date format from one to other
    thanks
    nikhil

  • Problem in JDBC Adapter in SAP PI 7.0

    Hi Everyone,
    I have scenario JDBC to JDBC......I Designed and Configured the Scenario....When I executed the scenario my connection to the
    PI dev server is lost........
    Then in Config tool I setting jdbc adapter option to "manual" which is "always".....and deactivated the JDBC communication
    channel.....then I set the option to "always" from "manual" in config tool.......
    I am not getting exact problem.....Please help me out.....
    Regards,
    Sudheer

    Hi,
    I explain you my scenario once again...................i.e JDBC to JDBC......
    I am using MS-Access as database............
    I have completed IR part and in ID part I configured Sender Communication channel by giving the  following Connection details
    sun.jdbc.odbc.JdbcOdbcDriver
    jdbc:odbc:Driver= {Microsoft Access Driver (.mdb)};DBQ=C:\XI_FILES\SENDER\Student_Database.mdb*
    After completing RD/ID/SA/RA....as soon as I activated CC.....there gone connection to Server and cannot open the IR or ID or
    Runtime Work Bench.......
    If I enter SXMB_IFR in Dev sever...it is giving error "Enterprise Service Repository address not maintained"......
    After that with some discussions with Basis people they have found that J2ee engine stoped. then in Config tool they
    changed jdbc adapter settings to "Manual" so that we can deactive CC that is activated.......Then after that "manual" is
    changed to "Always" and now Server is running fine.....
    My probelm is......
    When I am activating CC, the server is going down immediatledy.....and I dont know exactly where the problem is
    occurring........
    Regards,
    Sudheer

  • Regarding JDBC Adapter in SAP XI

    Hi
    I have done one scenario in SAP XI using JDBC Lookup it is working fine thanks for all who were helped me ......
    I need a clarification on following
    What is
    Generic Lookup API
    Special Lookup API
    and while i am  configuring i have given
    Persistence : Local
    Confilct Resolution : Redo
    In what situation we will give  Presistence : Local and in what situation we will give Persistence : Database means i need to know where we will use LOCAL and where we will use DATABASE
    and what is the difference between REDO and ERROR...........?
    In Message Protocol we have two protocols
          XML SQL Format
          Native XML Format
    what is the difference between these two
    I have gone through some blogs which i got in my previous posts but i am not able to understand clearly..... can any one clarify my doubts please........?
    Best Regards
    Ravi Shanakar B

    Generic Lookup API
    In the case of generic access, before executing the lookup, developers first need to both build the payload that the adapter expects and parse the result payload themselves.
    To access an application system generically, developers use the SystemAccessor class. For generic calls, developers of a method must pass a stream with the payload, which is then sent to the adapter. The result of the call is a payload object, which you can use to both read the payload as a stream and parse the payload.
    The generic lookup API is part of the mapping API (see LookupService class in the Javadoc documentation). For more information about these APIs, see SAP Developer Network at https://www.sdn.sap.com/irj/sdn/javadocs
    You can obtain the schema to call an RFC by simply importing the RFC into the Integration Repository. (See Importing IDocs and RFCs.)
    Special Lookup API
    For access using the special lookup API, developers do not require any knowledge of the structure of the payload. Instead, they pass the API string commands that are to be executed in the application system called.
    Currently, there is one special lookup API for the JDBC adapter. To use this API, developers use the DataBaseAccessor class instead of the SystemAccessor class.
    The special lookup API is part of the mapping API (see the getDataBaseAccessor method of the LookupService class in the Javadoc documentation). For more information about these APIs, see SAP Developer Network at https://www.sdn.sap.com/irj/sdn/javadocs
    XML SQL Format
    Table values can be inserted, updated, or deleted in one or more tables. In the database, stored procedures can be called using transfer parameters. In the case of synchronous queries, results from database queries or return values of stored procedures can also be transferred.
    Native SQL String
    An arbitrary SQL statement is expected as the message content. This statement is transferred unaltered to the database for processing
    Please see the below link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    Regards
    Chilla..

  • JDBC adapter to SAP: select & join from multiple tables ???

    Hello,
    I have a task to get an aggregating information from two tables and send it into SAP.
    I use XI JDBC sender adapter to access to MSSQL DB.
    I know how to construct SQL quiery:
    (something like that)
    SELECT  table1.Date  SUM(table1.sum) from table1
    INNER JOIN table2
    ON table1.Number = table2.Number
    But I don't understand how to construct  Data Type for this complex select operator?
    How does it look like?
    Where to store and how to map the selected data?
    Please give me an example or an advice.
    Thank You.

    Hi,
    Use your structure like this.
    <StatementName4>
    <dbTableName action=”SELECT”>
    <table>realDbTableName</table>
    <access>
    <col1/>
    <col2/>
    <col3/>
    </access>
    <key1>
    <col2>val2old</col2>
    <col4>val4</col4>
    </key1>
    <key2>
    <col2>val2old2</col2>
    </key2>
    </dbTableName>
    </StatementName4>
    action=SELECT
    Statements with this action cause existing table values to be selected. Therefore, the statement corresponds to an SQL SELECT statement.
    The <access> block contains the column names to be selected, a <key> element contains the columns whose values must be identical with the specified value to get the new column values. The name of the <key> element is arbitrary. Column values within a <key> element are combined with a logical AND; different <key> elements are combined with a logical OR.
    A statement with the action SELECT must have exactly one <access> element. The number of <key> elements with arbitrary names is not restricted.
    The corresponding SQL statement for StatementName4 in the example above is as follows:
    SELECT col1,col2,col3 FROM dbTableName WHERE ((col2=’val2old’ AND col4=’val4’) OR (col2=’val2old2’))
    If there is no <key> element, or if there is a <key> element but it is empty, then no condition is specified and the entire table is to be selected. This may not be permitted by the configuration of the JDBC adapter for security reasons and will therefore result in an error during message processing and an appropriate error message.
    The response document contains the result of the action in XML format as follows:
    <row>
    <column1>value11</column1>
    <column2>value12</column2>
    </row>
    <row>
    <column1>valueN1</column1>
    <column2>valueN2</column2>
    </row>
    This will help you.
    regards
    Aashish Sinha
    PS : reward points if helpful

  • Trouble connecting to internet with usb adapter

    I have a D-Link wireless usb adapter (DWL-122) that I have had for nearly a year with no problems until just recently. In the wireless preferences window it shows that I have a connection to my wireless network. However, when I try to open my web browser I get a message saying the server is not found. I am unable to access the internet in any way (itunes, instant messengers, etc.) as if i have no connection. If anyone has any idea as to what the problem would be I would appreciate any feedback. I am at a loss for ideas because as far as I can tell I appear to be connected to my network.
    iMac   Mac OS X (10.2.x)  

    Hi Lauren,
    I was about to order the very same USB solution you are using, but then checked with a friend who's a network admin for the local diocese. He advised against this as a reliable solution & wanted me to just string a long wire. The wife acceptance factor nixxed that.
    After checking the user reviews for this device on the Amazon site I found that there were many other Mac users who had been experiencing dropped connections using several different USB units like this one.
    Your post doesn't say how far away from your router your iMac is positioned. Distance might be an issue for you, but not likely.
    I presume you've already done the things your ISP would have suggested -- like resetting your modem, diagnosing software setup on your computer to see if anything there has changed, or repositioning the router?

  • How do I connect to Oracle with JDBC using "dedicated processor".

    Because of performance problems we want to try to connect to
    oracle using dedicated processor. We can do this from SQL Plus,
    does anybody know what we need to set up in order to utilize
    this from JDBC?

    Which Java runtime error? (stack trace?)

  • Connecting to MySQL with JDBC in Reports

    Hi,
    I need help connecting to a MySQL db through oracle reports using a jdbc connection.
    I have downloaded the MySQL JDBC driver:mysql-connector-java-3.0.17-ga-bin.jar.
    I can succesfully use it to connect if I write a simple java program. So I know the driver works.
    I have set it in my classpath & edited the jdbcpds.conf file by adding the following:
    <driver name = "mysql-merant"
    sourceDatabase = "other"
    subProtocol = "mysql"
    connectString = "mainProtocol:subProtocol://databaseName"
    class = "com.mysql.jdbc.Driver"
    connection = "oracle.reports.plugin.datasource.jdbcpds.JDBCConnectionHandling">
    </driver>
    When I try to connect, I get the following error, ERR 62002 failed to connect to the data source.
    What do I have to do to connect? Is there a way to directly give the connect string?
    I can connect to an oracle DB using a the Oracle drivers no problem, why does forms not accept the MySQL driver? What can I do to make this work?
    Any help would be appreciated.
    Michael Baran
    [email protected]

    Michael,
    there is a Reports forum here on OTN as well. Posting your question there might be a better chance.
    Frank

  • Labview connect over sockets with php

    Hello, i´ve a simply led.
    I would control value of led over sockets using PHP programming language. My question is, where are documentation and examples? I found many examples between 2 or more Labview applications but not in PHP. I don´t found documentation that explins information to send to Labview application from PHP sockets...
    It´s possible? 
    Thanks!

    Hello, it work! I changed the number of bytes that TCP READ read. When string is equals "a", it set led to true:
    PHP Code:
             $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
            socket_bind($socket, "127.0.0.1");
            socket_connect($socket, "127.0.0.1", 4005);
            if(strcmp($data,"")==0){
                $msg = "Default msg";
            } else {
                $msg = $data;
            $size = strlen($msg);
            $sock_data = socket_write($socket, $msg, strlen($msg));
            $res = "Data sended ($size) with response $sock_data.";
    But now, a get this error when TCP close:
    But i don´t understand because i´ve defined my IP in VI Server:Machine Access .
    Any idea?

  • Connecting a guitar with an adapter and 1/8" audio cable...

    I went out and bought a stero to stereo headphone adapter that plugs into to my guitar with a 1/4" plug and comes out the other side with a 1/8" plug which I put into my macbook pro. When I go to system preferences and do audio in, it shows the volume go up every time I play my guitar like it should, but for some reason garageband won't recognize it at all and I can't make any sound come out of the computer. Is there something I'm doing wrong? I already went into garageband preferences and changed the out so I don't think that's it...
    Please help, I really want to try this out...

    Just changed the GB preferences that your link told me too. I added a new real instrument track and now even on GB it shows the volume thing go up when I play my guitar, but still no sound comes out of the computer.

  • Jdbc adapter in sap netweaver pi 7.3

    Hi All,
    My system details:
    SAP NET WEAVER PI 7.3  and database MYSQL 10.00.2531
    Can you pls let me know
    1. what are all the drivers I need to download ?
    2. from where I can download JDBC drivers ?
    3. how to deploy JDBC drivers into our PI 7.3 server.
    Regards,
    Rajesh.

    >what are all the drivers I need to download ?
    You need just jdbc driver
    >from where I can download JDBC drivers ?
    http://www.mysql.com/products/connector/
    >how to deploy JDBC drivers into our PI 7.3 server.
    Use JSPM to deploy jdbc and jms drivers. It is pretty much similar to PI 7.1. No big difference.

Maybe you are looking for

  • WCF-Custom performance problem with large response messages

    We're trying to debug a performance issue in Biztalk 2013 when using a WCF-Custom adapter to call en external WCF-enpoint. From a Biztalk orchestration we're calling en external WCF-service to retrieve an xml message sometimes containing a lot of Bas

  • How to deactivate part appriser//PMS processess

    Hi experts, I am unable to complete entire pms process. Im struck at end of mid year rating process. In our system there is no concept of part appriser. But some how system is showing the part appriser button as push button. I can t able to save or c

  • Enable Session Timeout with 802.1X authentication help

    I have a scenario where there are 3 controllers with flex connect enabled.  I am broadcasting an 802.1x WLAN through all 3 controllers, "WLAN A". WLAN A on Controller 1 and Controller 2 have "enable session timeout" checked and set for 1800s.  Contro

  • ** End-to-End Monitoring - RFC destination error while save config in RWB

    Hi Friends, We have 2 RFC destinations in our XI server. 1) PMI<client>001 2) PMI<client><client>800. First one is for XI server. Next one is for Sender/Receiver System. We want to activate End-to-End Monitoring in RWB. For this, when I save configur

  • MacBook Pro will not shut down properly

    MacBook Pro will not shut down properly. Gray screen appears with spinning gear but will not shut down completely.