Skip to Content
author's profile photo Former Member
Former Member

MessageExpiredException error in JDBC - RFC scenario using BPM.

<b>Scenario:</b> JDBC( Asynch)- RFC( Synch)- JDBC (Asyc)

We are using XI to read oracle table records to insert the records in R/3 and after the insert in R/3 we return a sap code to update in oracle db.

When we try to process 10 or less rows from db, the process is successfully running, but when we try processing more records we are getting the following error. We tried increase the timeout setting in RFC adapter as per the SAP note and forum.

<u>Detailed error: </u>

<b>com.sap.aii.af.ra.ms.api.MessageExpiredException: Message 443jdjsd-e432-2ec8-e100-000046eb2e5f(INBOUND) expired.</b>

If I use correlation in asynchronous RFC instead of synchronous RFC, will this solve the problem or is there any better solution for this ?

Any useful steps to change the synchronous RFC to asynchronous RFC in BPM would be great.

Thanks

Steve

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 12, 2006 at 11:16 PM

    Hi Steve,

    if your update can take more then 30 seconds

    and you can use correlation always use

    the correlation

    with correlation you will never (almost)

    get the timeout error and if this is your custom

    RFC do it...

    you jut need to pass a generated GUID to your RFC

    which you will also receive in the response

    that's definetely the best way

    Regards,

    michal

    -


    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      <i>1. Any suggestions to meet this requirement in XI ?</i>

      >>>One option is using ABAP Proxy . Instead of calling Sync. RFC, call synchronous Proxy. So your client proxy, should receive all 200-300 rows at a time, and inside the proxy, and call the RFC. Once all the reocrds are processed, send the response back to BPM

      You can try out this.

      I think, probably you may require to do looping for each Row.i.e For each row the call the RFC.. As of now try to go with Proxy.

      Also try to findout, why the RFC is taking that much of time.. So check for the provision of tuning in the RFC side..

      Hope this helps,

      regards,

      Moorthy

      Message was edited by: Krishna Moorthy P

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.