JDBC Adapter message order

Hello experts,
I want to ask one question.
If I use JDBC adapter for processing outgoing message (receiver JDBC adapter) - Is processing of message guaranteed in order how I received it on sender side or processing order can change and I will insert messages in changed order.
Example:
I have messages 1 and 2 which comes at sender side in this order.
Is it guaranteed, that on receiver side, they will be inserted in DB in order 1, 2 or is it possible that I will find them in DB in order 2, 1.
I hope that I wrote it clear.
Thank you
VB

Hi Vladimir
if you use EO quality of service then you will get messages in any order.
if you use EOIO, then you will get ordered messages at receiver side. To use EOIO QoS set "Maintain Order at Runtime" checkbox in interface determination object of your scenario.
regards, Mikhail

Similar Messages

  • The Communications Channel based in JDBC Adapter in order to Receive

    We have a several communication channel based in jdbc adapter connecting to Oracle database in order to receive information from our R3 System, but now is not working i do not see any message error in our XI, i see that the message was succefull procesed but when you see the oracle database is empty. When you see the jdbc adapter in the runtime workbench i see only this message
    "Receiver Adapter v2112 for Party '', Service 'SIOPRO':
    Configured at 16:12:31 2006-07-18
    Up and running - no message processing until now"
    Somebody know what is happening?

    Is the message monitoring is showing success ? If there is no error in SXMB_MONI, Message Monitoring->Audit Log (i.e
    http://hostname:portnumber/MessagingSystem/monitor/monitor.jsp ), then I think, it is unable to find the Adapter channel.
    Anyway try to restart the Adapter engine. It may help you.
    Regards,
    Moorthy

  • JDBC Adapter Message Monitoring

    Hi All,
    I have configured a sender JDBC adapter. The adapter status is green. The message is Processing finished sucessfully. But I can not find any msg in SXMB_MONI.
    I can not see any msg in msg monitoring also.
    Any input on this will be highly appreciated.
    Regards,
    Jai Shankar.

    If that does not work , then do this
    Can you check the following,
    1. Check the SELECT query in your Sender JDBC adapter. Does it actually return any rows?
    2. The values enterd for Documentname and DocumentNamespace in your Sender JDBC adapter. You have to enter the name of the Datatype and the namespace in these fields.
    3.Have you enterd these details while doing the adapter configuration,
    jdbc:oracle:thin:@<IP adress>:<listener port>:<instance name (database name)>
    Driver oracle.jdbc.driver.OracleDriver
    Another thing that is to be checked is, if the table strucutre has changed in the database, if yes, deactivate and activate the Sender Adapter once again and it should work.

  • Do we have any Acknowledgement concept At receiver side of JDBC Adapter

    Helo,
    Do we have any Acknowledgement concept At receiver side of JDBC Adapter?
    Thanks,
    Soorya

    Hi venkat,
    For receiver JDBC adapter message can be sent synchronously and asynchronously.
    In case of SELECT  statement only synchronous makes sense..since the JDBC adapter will select some rows/columns and return it.
    In case of other statements (UPDATE,INSERT,DELETE) if the message is sent synchornously.. u will get only the no of rows affected..so these can be treated as acknowledgement...
    Regards
    Biplab
    **Reward points if it helps u**

  • Only 5 messages at a time being delivered thru JDBC adapter

    We have an XI interface that is delivering updates to a SQL Server database through the JDBC adapter.  Our problem is only 5 will deliver at a time, and we have thousands to deliver so it takes forever.  The messages queue up in 'To Be Delivered' status and eventually get through. Is there a parameter to set which controls how many messages can be delivered through a JDBC adapter at one time ?
    Thanks in advance.

    How do you deliver these updates? I mean, with a single message or one update per message?
    I think that you should try to put all the update in a single JDBC message in order to have them delivered at the same time.
    HTH
    Alessandro

  • Order By clause in Receiver JDBC adapter

    Hello All,
    Is it possible to construct a select statement that uses an Order by clause in JDBC receiver adapter?
    ex : I would like the JDBC adapter to from a query as follows:
    <b>Select * from EMP where sal = 10000 order by empid</b>
    We are able to construct the select statement without order by clause but not with it.
    Can any one suggest me how to do it. This is bit urgent for us.
    Thanks
    Abinash

    hi,
    did you try with
    SQL_DML
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    Regards,
    michal

  • 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 and message split

    Hello, does anybody know how I can make a split of a document created by the JDBC adapter and that should look like
    <resultset>
      <row>
         <column-name1>column-value</ column-name1>
         <column-name2>column-value</ column-name2>
         <column-name3>column-value</ column-name3>
      </row>
      <row>
         <column-name1>column-value</ column-name1>
         <column-name2>column-value</ column-name2>
         <column-name3>column-value</ column-name3>
      </row>
    </resultset>
    into several's independent documents of type:
      <row>
         <column-name1>column-value</ column-name1>
         <column-name2>column-value</ column-name2>
         <column-name3>column-value</ column-name3>
      </row>
    May I create the messages in the dispatcher?
    Thank you
    Ernesto Duran

    Hello, isn't it possible to create an inbound abap Proxy in XI that wait for the message then this inbound proxy loops into the message and call and outbound proxy for each entry(row).
    The outbound proxy is working well for me but I'm having problems routing the message back to XI... I get the problem "SAP:Code p1="No inbound interface found for sender" But when I route the message to a business systems everything is ok.????
    Anyway what I want to do is:
    jdbc adapter --> XI --> inbound proxy --> XI --> outbound proxy --> XI --> Idoc adapter --> R3
    And the steps inbound proxy --> XI --> outbound proxy --> XI are used only to split the message.
    The reason why I try to use this approach is that I don't understand how I can split a message in java or XSLT maybe someone know???
    Thank you
    Ernesto Duran

  • Messages are in hold state due to one message at receiver JDBC adapter

    Hello,
    I am using a receiver JDBC adapter and trying to send an XML file which has an insert query to insert some data into the database i.e., Oracle 9i.
    Here at the receiver side due to one message (  which is in to be delivered state) all other messages are got hold and waiting for long time.
    I am getting the exceptions as this,
    JDBC Adapter processing failed with Error processing request in sax parser: Error when executing statement for table/stored proc. 'FSASMGR.XTBL_KL06_IINQUIRY' (structure 'REC01'): java.sql.SQLException: ORA-12899: value too large for column "FSASMGR"."XTBL_KL06_IINQUIRY"."CASE_TITLE" (actual: 81, maximum: 80)
    Exception caught when executing statement for table/stored proc. 'FSASMGR.XTBL_KL01_ISTAFF_MST' (structure 'REC1'):
    java.sql.SQLException: ORA-00001: unique constraint (FSASMGR.XTBL_KL01_ISTAFF_MST) violated
    Can anyone help me out in solving this issue.
    THanks,
    Soorya

    hi surya,
    jdbc channel tries a request for n number of times(no of rettries),if that request fails it will take up the following requests,its not like it will process a request forever.
    to be delivered will be resulting if reciever is down or network between XI and database server is bad.
    try to ping databse server from XI host system.
    if everything is fine then look at the channel configuration->advanced->no of retries of database transaction on sql server.
    just redue the count to 1 and recheck.
    Regards,
    rama Krishna

  • Passing JDBC adapter error message back to SOAP fault message

    I have a JDBC adapter that is returning an error in the response message:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAPINS' (structure 'StatementName1'): java.sql.SQLException: ORA-01843: not a valid month ORA-06512: at "SAP.SAPINS", line 129 ORA-06512: at line 1</SAP:AdditionalText>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I would like to pass the error message back to the fault section of a SOAP adapter.
    Is there an easy way to do this using fault messages, or is there some other way to do this?
    BR,
    Tony.

    HI,
    DId you install JDBC driver ?
    If not check this guide-https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    Thread-
    Legacy_XI_MySQL
    Regards,
    Moorthy

  • "Recordsets per Message" for jdbc adapter

    Hi all,
    is "Recordsets per Message" kind of option is available for JDBC adapter.
    Any help will be appriciated
    Thanks
    -Kulwant

    Hi Kulwant,
    its not available.
    You can a stored procedure whick picks only certain number of records per each call.
    Regards
    Inder

  • Message error ORA-00936 when using JDBC adapter

    Hi all,
    I'm using the folow scenario:
    RFC --> XI --> JDBC
    RFC <-- XI <-- JDBC (response)
    It's a SYNCHRONOUS interface.
    RFC call without COMMIT WORK:
    CALL FUNCTION 'Y_TESTE_NEI'
        DESTINATION 'RFC_XI'
    EXPORTING
       DATE_FROM       =  v_data_from
       DATE_TO         =  v_data_to
      TABLES
        t_return        = t_dados.
    I'm not using KEY in JDBC message, because for test I want to get entiry table, and I set the communication channel JDBC to KEY not mandatory.
    I'm not having mapping error, in SXMB_MONI I can see the two messages of interface, but both with SYSTEM ERROR.
    In JDBC adapter in Runtime Workbench apears the follow message error:
    com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 't7_productionorder' (structure 't7_productionorder'): java.sql.SQLException: ORA-00936: missing expression
    And DUMP in function call in R/3: CALL_FUNCTION_REMOTE_ERROR
    Could anyone help me about this problem ?
    Thanks in advance.
    Regis Ferrato

    Hi Regis,
    I did the same scenario just now. The error you get is, you need to check whether the fields you are entering into the database have correct datatypes.
    Check out your database structure with your structure in XI, and also test in Message Mapping, to make sure you are sending correct values.
    In my case I was sending date like this '10-12-06', but my DB accepts only '101206'. So I removed the '-'. It was fine .
    The Dumping error is not due to your ABAP, due to the DB operation.
    Let me know Whether I am correct.
    Raj.

  • JDBC adapter started but no message is created

    I am not able to read data through JDBC adapter.
    When we are starting our inbound JDBC adapter it get started and does not give any error
    but no message is created in XI.When we check status of adapters by clicking main menu it is red.
    Log of adapter shows.
    JDBC adapter initializd succesfully.
    JDBC adapter started.
    Process query select * from ??????.
    JDBC adapter processing complete.Restart for next processing.
    But no message is created in XI.
    Can the no of records be the cause of this problem.
    Any help appericiated

    Hi,
    You can change the logging and tracing level of the JDBC adapter using the trace and log properties.
    Some errors may appear in the adapter_x.log file (see traces from the main menu).
    Goodluck

  • Output from JDBC Adapter mapped to multiple message types

    Hi!
    I face to a problem with the message mapping.. I do select with the JDBC adapter. This statement selects one field of clob type and it already contains a message - XML document. Depending of the type of this message will be done the message mapping and also the target message type depends on this XML document type. But when u define message mapping, there must be always a target message type... But in the design time, I don't know the exact type! It is dynamic...
    And not just with the message, the same situation is also with the target interface...
    Any ideas how to solve this?
    Thanx, Peter
    Message was edited by: Peter Jarsunek

    Hi,
    I saw the weblog, but I think more important is the 'XI in action' mentioned in this one..
    /people/ravikumar.allampallam/blog/2005/06/22/sap-xi-in-action
    What I just can not understand from that blog is the step 2/4:
    Receive XML file of any format and route to interface specific BPM..
    How is it possible? On the output from the 1st BPM must be exact interface defined... How can different messages go out and than into the 2nd BPM?
    Can you please write me, how the individual steps could follow after each other to achieve this?
    Message was edited by: Peter Jarsunek

Maybe you are looking for