JDBC Adapter Configuration

Hello,
In JDBC Adapter, is there any other way to fetch the data other than select query?
Our Scenario is like Transferring Project Information (PS Module) from Primavera to SAP. We fetch data from Primavera Through JDBC adapter with writing a select query. And we also give poll interval so after every pollinterval JDBC adapter again run the query and send it to integration Engine.
But our requirement is once the project query executed next time only updated record transfer to SAP. IS XI gives this kind of feature?
Regards,
Gaurav Jain

Hi Giridhar,
Check out this
http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
also check this interesting blog by Bhavesh
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
/people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
Thanks,
Prakash
Message was edited by: Prakash Arunachalam

Similar Messages

  • JDBC Adapter configuration not initialized:null

    i
    we have a synchronous scenario with the following adapters , RFC <> XI <> JDBC.
    1.JDBC Driver installation is done
    2.RFC Destination type t is done in sap(sender) system.
    3.checking the jdbc in VA is done
    while running it is giving the following error.
    com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
    where we have to initialize JDBC Adapter configuration
    Thanks in advance
    Prasad Nemalikanti

    hi prasad
    There are 2 jar files that may be missing from your SQL JDBC driver --> msbase.jar and msutil.jar, I think once you add these to the driver it might work.
    also check  the driver string for the SQL  driver 2 parameters
    i.e 'com.microsoft.jdbc.sqlserver.SQLServerDriver' now becomes
    'com.microsoft.sqlserver.jdbc.SQLServerDriver'
    This will solve your problem
    follow this link
    Re: MS SQL Server jdbc Driver installation on XI .
    XI JDBC Adapter using stored procedures
    thanks
    sandeep
    Reward points if helpful

  • JDBC Adapter configuration not initialized Error

    Hi,
    I am doing a RFC to JDBC scenario in PI 7.1. I am getting the following error:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: JDBC Adapter configuration not initialized: null
    In communication channel monitoring, it shows the following,
    Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL '<URL>': SAPClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver
    The JDBC parameters for driver & connection are correct only.
    Is the problem related to deployment of JDBC driver or something else? How can i ensure that the JDBC driver deployment is succesful in PI 7.1?
    Edited by: senthil nathan on Mar 25, 2009 10:57 AM

    Hi Senthil,
    Your drivers are not installed properly. Please re-deploy them through SDM.
    Regards
    joel

  • JDBC Adapter configuration not initialized

    Hi,
        I have tested one scenario for WebService to JDBC. Integration engine shows success message.But i got some error in Adapter engine. It shows "JDBC Adapter configuration not initialized".
    So, plz anyone give the solution for this problem.
    Regards
    Vijay

    Hi,
    1.Check whether the JDBCAdapter is Activated.
    2.Check if any firewalls are there frm client side and open
    3.Check the password used to connect the Database is correct one.
    If all these are fine..do the complete cache refresh once.
    Please award marks if found useful.
    Thanks
    Hamja

  • RFC to JDBC JDBC Adapter configuration not initialized: null

    Hi Experts,
    My scenario is Proxy to JDBC scenario. I got this problem when executing the interface I got this problem all of a sudden where previously it was working fine.
    there is no problem with the User id or password.
    com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
    let me know how to solve this.
    Thanks,
    Prem.

    I got this problem when executing the interface I got this problem all of a sudden where previously it was working fine.
    there is no problem with the User id or password.
    com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
    Can you ensure that Drivers are properly installed and no problem with them?
    Also proper connection parameters are maintained in the JDBC receiver Channel.
    Regards,
    Abhishek.

  • Synchronus file to jdbc Adapter configuration.

    Hi ,
    I want to configure for Synchronus File to Jdbc Adapter.
    Can anyone tell me how to do it.
    hemant

    Hi,
    In this case you would definitely need one file sender and one jdbc receiver adapter.
    Create data taype and message type for file sender ,then create message interface for this message type.
    Then create datatype for receiver i.e. jdbc.
    For jdbc receiver there is one standard format as below:
    <root>
      <StatementName1>
    <dbTableName action=”UPDATE” | “UPDATE_INSERT”>
        <table>realDbTableName</table>
    <access>
    <col1>val1</col1>
    <col2>val2new</col2>
    </access>
    <key1>
    <col2>val2old</col2>
    <col4>val4</col4>
    </key1>
    </dbTableName>
    </StatementName1>
    Then create message type and message interface for this message type.This interface will be inbound and synchronous.
    Map your file message to jdbc receiver message.
    Then map interfaces.
    In ID create configuration scenario,assign file sending and jdbc receiver business system to this scenario.
    Then create file sender and jdbc receiver communication channel.Create receiver determination,sender agreement and receiver agreement.
    But if you want file synchronous scenario then,you need to use BPM for this.
    Thanks.

  • Error in JDBC Adapter Configuration....

    Hi,
      My scenario is like this FTP->XI->Oracle Database.
    The problem is that the files are not getting posted to the database though it is running well.
    In XI receiver comm channel in JDBC adapter, I have provided the Connection path as   jdbc:oracle:thin:@esealmw275.al.sw.ericsson.se:1521:S14. Whereas in channel monitoring it is taking jdbc:oracle:THIN:@esealmw275.al.sw.ericsson.se:1521:S14. Please note it is taking THIN as in caps.
    Can anybody suggest me is this the proposed error for that, if it is so, then pls provide me the suitable solution for that.
    BR
    Soumya

    Hi Soumya,
    Have a look at ths blog...
    <a href="/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 to JDBC Adapter using SAP XI 3.0</a> by Anirban Ghatak
    Also have a look at this wiki
    https://wiki.sdn.sap.com/wiki/display/XI/JDBCTOJDBC
    Regards
    Santi
    <a href="Remember to set the thread to solved when you have received a solution to set the thread to solved when you have received a solution</a>
    Where There is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16">blog</a> there is a Way.

  • JDBC adapter configuration problem while design

    Hi,
    I am connecting SAP TO THIRD PARTY using RFC and JDBC,which is using a stored procedure.
    I have mapped in such a way that
    table = is mapped with the stored procedure name.
    isinput = true.
    type = char.
    But If i look into the monitor its showing a problem with DATATYPE,which i have mentioned is char.The metioned below is log.
    Can any one help me,what changes I have to make.
    com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'STORED_PROCEDURE_NAME' (structure 'Statement'): java.sql.SQLException: ERROR: Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'MaterialNumber' (Setting a SQL-type (e.g. INTEGER, CHAR, DATE etc.) is mandatory !)</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
    With Regards,
    KishoreJ.

    hi kishore,
    <i>Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'MaterialNumber'</i>
    As the error implies, you have missed defining the TYPE attribute while for the field MATERIAL NUMBER. Assign a valid type to it , and it should work fine.
    From the online help,
    <i>The attribute type=<SQL-Datatype> , which describes the valid SQL data type, is mandatory for all parameter types (IN, OUT, INOUT).</i>
    <i>The following SQL data types are supported:
    INTEGER, BIT, TINYINT, SMALLINT, BIGINT, FLOAT, REAL, DOUBLE, NUMERIC, DECIMAL, CHAR, VARCHAR, STRING, LONGVARCHAR, DATE, TIME, TIMESTAMP, BINARY, VARBINARY, LONGVARBINARY, BLOB (input and output),CLOB (input and output), CURSOR (output; only in conjunction with the Oracle JDBC driver).</i>
    Also, check this blog for any help,
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
    Regards,
    Bhavesh

  • Error in JDBC Adapter Configuration...Pls help..

    Hi,
      My scenario is like that..XI has to pick up the xml files from FTP and has to insert them into a particular table "clientsystemlog"in database. From sxmb_moni I can see that it is success, but there are no data in the database.
    Here are the details of the error in the Channel Monitoring:-
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
    Any hlp would be appreciated
    BR
    Soumya

    Hi,
      Here is my table structure for DB:-
    ACK_RM_MT=>Action(INSERT)(attribute)->xsd.string
                        =>Table(clientsystemlog)(element)==>>GlobalID
                                                                          ==>>LocalID
                                                                          ==>>DistributedTime, etc etc
    That is what I have created in IR for DB.
    Can you pls check whether the structure is in correct format or not.I have to insert all the elements of Table(clientsystemlog) into the table clientsystemlog in oracle database.
    But still facing the error in Action. In channel monitoring Attribute Action contains error. It seems this Action cannot be performed in the DB table clientsystemlog.
    That is why I can see in sxmb_moni msg processed successfully, but in DB, there are no records at all.
    Tell me one thing, is the table name and the elements of the table are case sensitive?
    Please provide a solution to me, I was braeking my head since last week to sort it out, but unable to sort it out.
    BR
    Soumya

  • Jdbc adapter error on confirmation message in message monitor (rwb)

    I have the scenario iDoc -> PI 7 - > jdbc (AS400 odbc driver).
    When I do INSERT statements, the data is stored in the Database and the RWB message monitoring shows status Successfull.
    However, for every insert, an other message shows up in the message monitoring with reversed Sender and Receiver (so it looks like a confirmation message is trying to find its way back to XI). This message first is is Status "Waiting", and after some time gets in Status "System Error".
    As I am not expecting any responses in my XI configuration (as I have no place to send them to), I want to stop these messages showing up in the Adapter Engine (as there will be many Error Status messages that are of no interest to me).
    How can I stop these messages, or what should I do in XI to process them (and dump them in my receiver determination). I have NO  BPM involved .

    Hi,
    For each open connection a entry is made j2ee stack.So when the it reaches to max and execption is thrown.
    In Jdbc adapter configuration -> advance mode -> Set -> Disconnect from the database after processing each message.
    Should solve the prob
    <b>Cheers,
    *RAJ*
    *REWARD POINTS IF FOUND USEFULL*</b>

  • Response message timed out - JDBC adapter - PI 7.1

    Hi All,
    I have a synchronous Proxy <-> XI <-> JDBC scenario. The interface works fine in most of the cases, but when my proxy sends data to UPDATE the receiver SQL server 2000 with more than 1000 records, I do not find the response message in SXMB_MONI. But all the records have been successfully updated in SQL database. The response message in my case is the number of records that have been updated.
    Initially I got the message "Synchronous response expired" in RWB, and based on SAP note 791379 and 1078420 , I changed the xiadapter.inbound.timeout.default parameter from 180000 to 600000 and added the parameter 'sqlquerytimeout' in my receiver JDBC adapter configuration with value as 600 seconds.
    I have also enabled batch mode in my receiver adapter.
    Now my problem is I don't see any error message in RWB , but still in SXMB_MONI I am not able the response  message, but can see only the log version of my request message.
    Any idea on what needs to be done in this case ? Any help will be greatly appreciated.
    Regards,
    Sandeep

    Hello,
    Could you pease let us know how thiswas solved ?
    Same problem i am having.
    Thanks in advance

  • JDBC adapter can't find the jdbc driver class

    Hello, my jdbc driver give an very strange error
    11:46:13 (4207): JDBC adapter terminated
    Mon Aug 02 11:46:13 CEST 2004 *****
    11:46:13 (4210): ERROR: Attempt to load JDBC driver failed ("java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver")
    Attempt to intialize JDBC adapter failed
    11:46:13 (4203): Unable to start JDBC adapter (not initialized)
    I know that the jdbc driver is in the classpath, and to confirm that I have created a java program in the IB (repository) which import the class oracle.jdbc.driver.OracleDriver. I can compile and run that program without problems.
    Here you can see my jdbc adapter configuration file:
    jdbc adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleDB2XMB
    mode=DB2XMB
    Integration Engine address and document settings (example, see docu)
    XMB.TargetURL=http://<host>:<port>/sap/xi/engine?type=entry
    XMB.SenderBusinessSystem=ExtAdapterSender
    XMB.SenderInterfaceNamespace=http://sap.com/xi/xidemo
    XMB.SenderInterfaceName=ExtAdapterSenderIF
    XMB.QualityOfService=EO
    ##DB Adapter specific parameters (example for SQL-Server, see docu)
    db.jdbcDriver=oracle.jdbc.driver.OracleDriver
    db.connectionURL=jdbc:oracle:<user>:<password>/hello@<url>:<port>:<instance>
    db.processDBSQLStatement=Select * emp
    db.pollInterval=600
    xml.recordsetsPerMessage=1

    Hi Ernesto,
    Can you try to the following:
    1. Remove your JDBC driver entries from the CLASSPATH.
    2. Put those jars into your jre/lib/ext directory.
    3. Restart the whole adapter engine, and
    4. Config the driver java class for the adapter. the class name to be used can be found in your JDBC driver document.
    Let me know whether it works.
    Hart

  • Invoke stored procedure from JDBC Adapter

    Is there a tool that generates interfaces for stored procedure(ORACLE PL/SQL) like RFC or IDOC adapters?

    Hi Denis,
    I dont think there is any such tool.]
    To generate a Stored Procedure of your Oracle DB, all you will have to do in your <b>JDBC adapter configuration</b> is give the name of the Stored Procedure under <Table> and you will have to give "<b>execute</b>" as the value under action attribute.
    Just check this link. Hope it helps,
    http://help.sap.com/saphelp_nw04/helpdata/en/b0/676b3c255b1475e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/4d/8c103e05df2e4b95cbcc68fed61705/content.htm
    Just check this blog of Sriram wherein a stored procedure of a MaxDB Database is called.
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
    I have implemented a scenario which requires an Oracle stored procedure to be executed and so, if you do need any further info, let me know.
    Hope this info helps,
    Regards,
    Bhavesh

  • Need Help...........JDBC Adapter

    Hi All,
    We have installed SAP on OS/400.
    My scenario is IDOC XI JDBC.
    We have created a File JDBCTEST , member JDBCTEST and Field JDBCTEST.
    These are created under a lib QLGP.
    Then I did a message mapping between the IDOC and JDBCTEST by concatenation function.
    <b>IN THE JDBC ADAPTER CONFIGURATION I am getting the error
    Value missing for mandatory configuration attribute table EOColumnName Ts</b>
    In the EO JDBC ADAPTER Configuration, the DATABASE parameters:
    DBTABLE:JDBCTEST
    KEY COLUMN NAME:JDBCTEST
    Is there anything wrong I am doing?
    Any help is appreciated.
    Thank you.

    Hi Bhavesh,
    My XML structure after testing the mapping is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"><ns0:Message1><ns1:TEST_MT xmlns:ns1="http://mri.com/xi/IDOC2JDBC"><STATEMENTNAME><JDBCTEST action="INSERT"><access><JDBCTEST>567,23,2345,MRI</JDBCTEST></access></JDBCTEST></STATEMENTNAME></ns1:TEST_MT></ns0:Message1>
    I have tested by giving the PERSISTENCE as LOCAL,then intially there was no error but now I am getting the Transformation error.
    TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'JDBCTEST' (structure 'STATEMENTNAME'): java.sql.SQLException: [SQL0104] Token MOTOR was not valid. Valid tokens: ) ,.
    Am I doing anything wrong in the JDBC Adapter Configuration or Message Mapping?
    Please help me out with this issue.
    Thank you in advance.

  • Sender JDBC adapter donot want to update database..

    Hi,
    We have JDBC to RFC scenario. In This we need to read only database table , we should not update it. As in sender JDBC adapter configuration Update SQL Statement is mandatory, so what needs to be done in this case?

    Hi,
    In place of the SQL statement, you can also enter <TEST>. Once the data determined from Query SQL Statement has been successfully sent, the data in the database remains unaltered.
    This is recommended if the data has not only been read, but also changed by a stored procedure entered under Query SQL Statement.
    http://help.sap.com/saphelp_nw04/helpdata/EN/7e/5df96381ec72468a00815dd80f8b63/frameset.htm
    Regards,
    Manjusha

Maybe you are looking for