File---- XI----- JDBC(synchronus)---- transformation-------- Proxy ??

can  u tell me,
if i have scenario with multiple receivers,
file-->XI->JDBC(synchronus)>transformation--
>Proxy
i want to make it without BPM,
how can i do that,
coz, without BPM, how will the sequence of those two receivers(JDBC and Proxy) be specified, coz in my ID, when i do receiver determionation for the two receivers, how will the sequence be maintained....

Your scenario isn't simply multiple receivers, as you have also multiple senders (JDBC here plays as receiver and sender).
You can't do it properly without BPM.
And by properly I mean maintaing all the correct logical routing steps (receiver/interface determination etc).
What you could do is a File2Proxy async scenario and in mapping you could perform Lookup in DB. That is only way of achieving it without BPM.
Regards,
Henrique.

Similar Messages

  • 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.

  • Proxy to JDBC Synchronus with ccBPM

    Hi  Experts,
    my scenario is : Proxy to JDBC Synchronus with ccBPM
    we are fetting data from ECC to PI and same data inserting into DataBase Table Name : ABC  via JDBC
    after 2 mins i need to get same data from DataBase Table Name : ABC  and sending back to ECC with ccBPM.
    what are BPM steps required for this requirement and i need to handle the exception handling with control step also.
    Table name is same Table Name : ABC in DataBase for request data and response data.
    Please anybody help me on this requirement, i am new to BPM scenarios.
    Thanks,
    Aadi

    Hi,
    Have you checked the JDBC XML request?, you need to check that the XML has all the company codes in the SELECT.
    Regards.

  • XI Flat File to JDBC Mapping Error

    Hi,
    I have been trying to insert some records from a flat file into a sybase database using the FILE adapter (with file content conversion) as a sender and the JDBC adapter as a reciever, but I keep getting mapping errors like:
    RuntimeException during appliction Java mapping com/sap/xi/tf/_mm_hh_file__hh_sybase_nombres_</Trace>
      <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:mt_hh_sybase_nombres/STATEMENTNAME. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start
    I have read through some blogs and I still can't figure out what is wrong.
    Flat pipe separated file:
    Hans|Robert|Hahn|Gallegos
    Karina|Maria|Cordoba|Gutierrez
    Datatype for this file looks like this:
       Record                         1
          Row                          1...Unbounded
             Nombre                  1
             SegundoNombre     1
             ApPaterno              1
             ApMaterno             1
    Because the FILE adapter uses Content conversion, the file translates to:
      <?xml version="1.0" encoding="utf-8" ?>
      <ns:hh_test xmlns:ns="http://me.com">
      <Record>
         <Row>
          <Nombre>Hans</Nombre>
            <SegundoNombre>Robert</SegundoNombre>
            <ApPaterno>Hahn</ApPaterno>
            <ApMaterno>Gallegos</ApMaterno>
         </Row>
         <Row>
           <Nombre>Karina</Nombre>
           <SegundoNombre>Maria</SegundoNombre>
           <ApPaterno>Cordoba</ApPaterno>
           <ApMaterno>Gutierrez</ApMaterno>
         </Row>
        </Record>
      </ns:hh_test>
    My database table looks like this:
    Nombres
    ApPaterno
    ApMaterno
    Datatype for this table looks like this:
    STATEMENTNAME    1..Unbounded
      nombres                  1
        action                    optional
        TABLE                  1
        access                  1
          Nombres             1
          ApPaterno           1
          ApMaterno           1
    MAPPINGS as follows:
    Record ------> no mapping
    Row ------> STATEMENTNAME
    Constant ------> action
    Constant ------> TABLE
    Nombre + SegundoNombre ------> Nombres
    ApPaterno ----> ApPaterno
    ApMaterno ----> ApMaterno
    How do I do the mapping ? I've been through a lot of blogs and threads but I haven't found an example like this, a flat pipe separeted multiline file with records to be inserted in a database.
    Message was edited by:
            Hans Hahn

    Hans,
    The error shows you have an error in mapping. Also you have mapped constant for ACTION and TABLE. Here you have to hardcode the value INSERT or UPDATE etc for ACTION and the name of the table for TABLE.
    Check this weblog where he has mentioned everything what you are looking for:
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Also once when you are done with mapping try to execute it in the test tab of mapping editor.
    ---Satish

  • 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

  • Error while usinjg the JDBC to ABAP Proxy Scenario

    Hello Rocks,
    This is my scenario like JDBC --- Pi --- ABAP Proxy
    while i am given a sender side jdbc XSD structure is like this
    VWENTITYAGGREMENT
      Row             1-unbound  occurence
          POOL_ID   0-1 occurence
          CUST_ID
          AGREEMENT
           PRODUCT_ID
            CONTRACT_TYPE
            CONTRACT_TYPE_DESCR
            AGRMNT_STATUS
            STATUS_DESCR
              EFFDT
             TERMINATION_DT
             ADD_DT
             ADD_TM
    while i am writing a select query in Sender JDBC CC is like this
    SELECT POOL_ID,CUST_ID,AGREEMENT,PRODUCT_ID,CONTRACT_TYPE,CONTRACT_TYPE_DESCR,AGRMNT_STATUS,STATUS_DESCR,EFFDT,TERMINATION_DT,ADD_DT,ADD_TM FROM vwEntityAgreement.
    Here i am getting this Error message like this :
    Error Description: Database-level error reported by JDBC driver while executing statement 'SELECT POOL_ID,CUST_ID,AGREEMENT,PRODUCT_ID,CONTRACT_TYPE,CONTRACT_TYPE_DESCR,AGRMNT_STATUS,STATUS_DESCR,EFFDT,TERMINATION_DT,ADD_DT,ADD_TM FROM vwEntityAgreement'. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'POOL_ID'.'. For details, contact your database server vendor.
    So please give me your valuable inputs !
    Regards,
    Ravi.

    Invalid column name 'POOL_ID'.'. For details, contact your database server vendor.
    Did you confirmed the name POOL_ID as suggested?
    Why is the tablename different (check the case) in the query that you make and in the XSD structure that you mentioned......check if this is causing the problem.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Jun 4, 2010 10:24 AM

  • Can't read special characters in an excel file using JDBC

    Hi! I 've a code to read an excel file using JDBC-ODBC bridge. I can read the values, but any special characters is readed wrong, just symbols. The special characters are of spanish language. This is my code:
                    Locale currentLocale;
              currentLocale = new Locale("es", "MX");
              Locale.setDefault(currentLocale);
                   Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
                   c = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ=comisionesperfiles.xls");
                   stmnt = c.createStatement();
                   String query = "Select * from [Hoja1$]" ;
                   ResultSet rs = stmnt.executeQuery( query );
                   while( rs.next() ){
                        String valor = rs.getString(2) ;
                        if(valor != null && !"null".equalsIgnoreCase(valor)){
                             if(!comisiones.contains(valor)){
                                  System.out.println(valor);
                                  comisiones.add( valor );
                   rs.close();
                   stmnt.close();As you can see, I've tried to set the locale, but it didn't work.
    I'm using Excel 2003, Java Version 1.4.2_07 and Windows XP Professional (in latin american spanish).
    Hope someone can help me!

    FYI: Apache's POI can read/write Excel files in Java:
    http://jakarta.apache.org/poi/index.html

  • Test cases for File to JDBC scenario?

    Hi Experts,
    I would like to know what are the things needs to be tested to ensure that the File to JDBC scenario holds good in the PI box. Your valuable inputs are required to verify /check my scenario configuration is free of errors.
    Thanks & Regards,
    Pcv.

    Hi,
    You can try the following:
    1) If the end systems require authentication and the same is not provided in PI then it should throw an error.
    2) Check what happens when you dont give a mandatory field.
    3) check what result you will get when you give a wrong input.
    4) Check whether all your restrictions (in mapping and/or in receiver determination) are working properly.
    5) Check what you need to do when the target system is down.
    6) If using any FCC then check whether the conversion is done properly.....
    7) See to it that you have defined a proper DB structure when you are communication with JDBC
    8) Check with the end system whether your statement (Insert/Update/Delete etc) is performed properly
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Dec 4, 2008 9:58 AM

  • 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.

  • Error in File-XI-JDBC Scenario

    Dear All,
    I am working on File-XI-JDBC scenario which is using stored procedure (SP_UPDATE). When I am processing the file it is giving me the following error in the message monitoring:
    Unable to execute statement for table or stored procedure. 'SP_UPDATE' (Structure 'Statement') due to java.sql.SQLException: ERROR: Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'access' (Setting a SQL-type (e.g. INTEGER, CHAR, DATE etc.) is mandatory !)
    Please guide me what is this error all about and how this can be resolved.
    Warm Regards,
    N.Jain

    Dear All,
    Now, I am able to update the SQL Server database but only one record is coming at the target. Can anyone please guide me what is he error in my Data types o in my mappings. Following is the source Data Type:
    MT_TEST_FILE_T179T      1..1     DT_TEST_FILE_T179T
         ROOT                         1..unbounded
            PRODH                    1..unbounded     xsd:string
            VTEXT                      1..unbounded     xsd:string
            DATUM                     1..unbounded     xsd:string
    Following is the target Data Type:
    MT_TEST_JDBC_T179T      1..1     DT_TEST_JDBC_T179T
         STATEMENT                1..1
            SP_UPDATE             1..1
                action                    required     xsd:string
                TABLE                  1..1                     xsd:string     
                    PRODH             1..unbounded     xsd:string
                       type               optional            xsd:string
                    VTEXT               1..unbounded     xsd:string
                       type               optional            xsd:string
                    DATUM              1..unbounded     xsd:string
                       type               optional            xsd:string
    Following are the mappings done:
    EXECUTE-->@action
    storedprocedurename-->TABLE
    PRODH-->PRODH
    VTEXT-->VTEXT
    DATUM-->DATUM
    CHAR-->@type.
    With this stucture and mapping i am able to insert only one recored in the database even though there are multiple entries in the file.
    Please guide me in solving this error so that multiple records can be inserted.
    Warm Regards,
    N.Jain

  • Strange error in File-XI-JDBC scenario

    Dear All,
    I am working currently on File-XI-JDBC scenario and is facing with a stange problem.
    I have writtern one simple query which is downloading the data from R/3 and is sending to XI Server local folder. From that folder File is getting picked by XI and is posted into SQL database.
    Now, when I am generating the required file from R/3-DEV server then my scenario is getting executed successfully but if file is generated thru R/3-QAS Server then the scenario is giving the following error "Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'MARA_UPDATE' (structure 'Statement'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Error converting data type nvarchar to smalldatetime."
    Also, if I am copying the complete data from the error file and paste it into a new file and executing again then the scenario is executing correctly.
    I have checked the payload and didn't find anything there.
    Kindly help me in solving this error.
    Regards,
    N.J

    Hi Farooq,
    Thanx for your reply. But this scenario is running when we are sending the file from R/3-DEV Server and also if I am copying all the contents of the error file and pasting it into a new file and then processing the file then the scenario is getting executed and I am getting no error with the same data which I have processed earlier and has thrown error.
    Reg,

  • File to Jdbc Scenario

    Hi All,
           I am doing a File to JDBC scenario, where sender side message type occurance is 0..unbounded and receiver side message type occurance is 1 in message mapping. The whole scenario working fine when both sender and receiver side message type occurance is 1 in message mapping.
    When Sender side occurance is 1.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:mt_smtjdbc_sender xmlns:ns0="http://SmartJDBC">
       <NAME>A</NAME>
       <DEPT>B</DEPT>
    </ns0:mt_smtjdbc_sender>
    When Sender side occurance is 0..unbounded.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:mt_smtjdbc_sender xmlns:ns1="http://SmartJDBC">
             <NAME>Dip</NAME>
             <DEPT>xi</DEPT>
          </ns1:mt_smtjdbc_sender>
       </ns0:Message1>
    </ns0:Messages>
    If I use Sender side occurance as 0..unbounded I am getting the following error in adapter engine Communication channel monitor (for receiver communication channel)
    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)
    Can anybody please help me how to solve this problem?
    Dipankar

    Hi,
    My Sender side structure as follows.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:mt_smtjdbc_sender xmlns:ns1="http://SmartJDBC">
             <NAME>DIp</NAME>
             <DEPT>XI</DEPT>
          </ns1:mt_smtjdbc_sender>
       </ns0:Message1>
    </ns0:Messages>
    My corresponding Receiver side structure as follows.
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
    <ns1:mt_smtjdbc_receiver xmlns:ns1="http://SmartJDBC">
    <Statement>
    <dbTableName action="INSERT">
    <TABLE>SMARTOP</TABLE>
    <access>
      <NAME>DIp</NAME>
      <DEPT>XI</DEPT>
      </access>
      </dbTableName>
      </Statement>
      </ns1:mt_smtjdbc_receiver>
      </ns0:Message1>
      </ns0:Messages>

  • File-XI-JDBC error

    Hello XI Gurus,
         Thanks for all the help so far. Right now I am in the process of doing file to jdbc scenario. I am following this link: /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    <b>I am getting the follwoing error in the JDBC adapter monitoring:</b>
    Receiver Adapter v2606 for Party '', Service 'JDBC_Service':
    Configured at 16:31:32 2006-09-08
    Last message processing started 16:47:07 2006-09-08, Error: TransformException error in xml processor class, rollback:
    Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
    SXMB_Moni says that the message has been processed succesfully.
    Here are my data:
    <b>Here is my Source XML(XI is picks this xml file thru file adapter):</b>
    <p2:data_filesender_MT xmlns:p2="http://filetojdbc">
       <EMPID>JDK</EMPID>
       <EMPNAME>JohnDoe</EMPNAME>
       <EMPAGE>3</EMPAGE>
       <FLAG>Yes</FLAG>
    </p2:data_filesender_MT>
    <b>Here is my target XML (in the message mapping test window)</b>
    <p2:data_jdbcreceiver_MT xmlns:p2="http://filetojdbc">
       <STATEMENTNAME>
          <Table1>
             <action>INSERT</action>
             <TABLE>Table1</TABLE>
             <access>
                <EMPID>JDK</EMPID>
                <EMPNAME>JohnDoe</EMPNAME>
                <EMPAGE>3</EMPAGE>
                <FLAG>Yes</FLAG>
             </access>
          </Table1>
       </STATEMENTNAME>
    </p2:data_jdbcreceiver_MT>
    Please let me know what I am doing wrong:
    Regards,
    N.S

    Hi Swamy,
    As Bhavesh mentioned check the  mapped xml message i.e JDBC message structure. By seeing the your post, you mentioned action as a element. It should be attribute.
    <p2:data_jdbcreceiver_MT xmlns:p2="http://filetojdbc">
    <STATEMENTNAME>
    <Table1 action = INSERT</Table1>
    <TABLE>Table1</TABLE>
    <access>
    <EMPID>JDK</EMPID>
    <EMPNAME>JohnDoe</EMPNAME>
    <EMPAGE>3</EMPAGE>
    <FLAG>Yes</FLAG>
    </access>
    </Table1>
    </STATEMENTNAME>
    </p2:data_jdbcreceiver_MT>
    In this Table1 should be your Table Name.
    To know more
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    btw what is the error in the RWB->message monitoring->Message DisplaY tool . also check JDBC communication channel in the Adapter monitoring
    Regards,
    Moorthy

  • File to JDBC error

    Dear All,
    I have working on a file to JDBC scenario, while i am executing the scenario I am getting the following error message in receiver JDBC.
    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)
    Regards,
    Nithiyanandam

    Dear All,
    Now that I able to insert the record into the oracle database. But the problem is I am able to insert only one record at a time and not multiple records.
    My mapping is like this
    Source                                                Target
    MT_Sender_File(1 to1)                          MT_Receiver_JDBC(1 to 1)
           row (1 to unbound)                            Statement(1 to 1 Not mapped to any field
               EMPNAME(1 to unbound)                 EMPLOYEE(1 to 1 Tablename mapped to row)
               EMPNUMBER(1 to unbound)               action(Attribute required mapped to INSERT)
               AGE(1 to unbound)                                  access(1 to unbound mapped to row)
               ***(1 to unbound)                                        EMPNAME(1 to unbound mapped to EMPNAME)                                                                               
    EMPNUMBER(1-unbnd map to EMPNUMBER)                                                                               
    AGE(1 to unbound mapped to AGE)                                                                               
    ***(1 to unbound mapped to ***)
    But stl im not able to insert multiple records.please let me know how to insert multiple records in this structure.
    Regards,
    Nithiyanandam

  • File to JDBC Adapter

    Hi All
    I am trying to configure File to JDBC Adapter to insert data in the database .I am having problem with message mapping.I  get the error with the statement field in mapping .Please can anyone let me know what mapping changes need to be done
    My Mapping is as follow
    SOURCE                                                          TARGET
    MT_INFO_DATA----
    >MT_JDBC_REC
    Header----
    > Statement
                                                               TABLENAME
    Update_insert----
    >Action
      T_EMPLOYEE(TABLE NAME)----
    > TABLE
                                                                   ACCESS
    EMP_NO----
    >EMP_NO
    COMP_ID----
    >COMP_ID
    BRANCH----
    >BRANCH
    Error: TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'T_EMPLOYEE' (structure 'STATEMENT'): java.sql.SQLException: FATAL ERROR document format: structure 'STATEMENT', no key element found
    Please can anyone let me know what is to be mapped with the field STATEMENT.
    Thanks
    Amit

    Hi Bhavesh
    I did as suggested but still i am getting the following error
    Error: TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'T_EMPLOYEE' (structure 'STATEMENT'): java.sql.SQLException: ORA-01861: literal does not match format string
    - 2007-05-24 06:21:17 IST: Processing started
    - 2007-05-24 06:07:48 IST: Error: TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'T_EMPLOYEE' (structure 'STATEMENT'): java.sql.SQLException: FATAL ERROR document format: structure 'STATEMENT', no key element found
    - 2007-05-24 06:07:48 IST: Processing started
    - 2007-05-24 06:05:48 IST: Error: TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'T_EMPLOYEE' (structure 'STATEMENT'): java.sql.SQLException: FATAL ERROR document format: structure 'STATEMENT', no key element found

Maybe you are looking for

  • On Click of Search button, display the results in new tab or window

    When i click on the search button on the top right in sharepoint 2010, i want to open the search page in either new tab or window, By default, when we click on search icon it redirects to the OOB search result page. the only thing i need to change is

  • About Pre-Mapping

    Here my problem: I use Pre-Mapping which contains a function turning over a value. Until nothing very difficult... Now, which I must try to make is to stop or not my mapping (RAISE) according to the value of return and to thus be able to use this fun

  • Look at Message using Gmail but doesn't recongize on Mail

    When im home i use Apple Mail but anytime on the road i use Gmail. When ever I look at a message on gmail it doesn't recongize that the message has been read on Mail I have set IMAP on both Gmail & Mail. What should i do?

  • ISight-Cam-Status-LED

    Since FaceTime quitted a conversation on its own, the litte green status-LED of the camera is shining all the time, even in stand by and to restarts. If I open FaceTime now, it can not find a camera. Does anyone know this problem? What can I do again

  • Error code -51 (try to copy from win to mac)

    Hi, I have a problem with copying files FROM Windows to my Mac. I am connected through the VPN, I can see files on Windows server, I can copy TO server, I can create folders etc (on Win), but if I try to copy from Windows I always get "errorr code -5