Skip to Content
In this weblog I’ll try to provide a few tips for one a few one of the most popular questions
from the XI forum on SDN concerning the timeout issues.

As you probably know XI (through ICM – Internet Communication Meanger – Release 6.40
or higher in case of XI 7.0) communicates with many adapters via HTTP.
On one hand XI can accept http calls but it can also forward those calls to some other HTTP receivers.
These HTTP calls can sometimes be disrupted by timeout errors:

ICM_HTTP_TIMEOUT

ICM_HTTP_CONNECTION_FAILED.

How you can try to deal with those errors:

1. you can try increasing the HTTP_TIMEOUT of the Integration Engine:

a) go to TCODE – SXMB_ADM

b) Integration Engine Configuration

c) Change specific configuration

d) Increase the HTTP_TIMEOUT parameter value – this value depends on your specific needs
the picture below is only for demonstration purposes and it does not present the recommended value

if you click on the Information about this value you’ll see the description below:

****************Description taken from SAP help – F1****************************
Specifies the timeout for http connections (time between two data
packages at line level). This value overrides the system profile
parameter icm/server_port_n (for example, icm/server_port_0 : PROT=HTTP,
PORT=50044, TIMEOUT=900). If you do not set the parameter HTTP_TIMEOUT
or if you set the parameter to 0, then the setting for the system
profile parameter is used.
**************************************************************************

image

2. As you can see from the description above this is not the only place
where you can set this timeout and you can also use profile parameter – icm/server_port_n:

a) go to RZ10

b) change the icm/server_port_n parameter

before you try to change this paramter you need to have a look at SAP note – 824554
which explains in detail all parts of this parameter.

Other timeouts

Apart from timeouts described above you can also find some other timeout errors
when you’re dealing with synchronous messages.

1. RFC adapter

If you’re using the synchronous messages and you notice the timeout error
you may check the syncMessageDeliveryTimeoutMsec in the RFC adapter in the Visual Administrator

image

If you need more information about this parameter have a look question 14 in the RFC adapter FAQ note: 730870

2. XI adapter

XI adapter uses some other parameter – xiadapter.inbound.timeout.default to control sync messages ( Visual Administrator )

image

In order to find out more about this parameter have a look at SAP note: 791379 XI Adapter service properties documentation

Keep in mind that You should never modify properties for the SAP XI Adapter: XI service – from SAP note 791379.

To report this post you need to login first.

11 Comments

You must be Logged on to comment or reply to a post.

  1. Aamir Suhail
    Hey Michal thanx for the blog,i waz having connection timeout issues and had no entries in SXMB_ADM for HTTP_TIMEOUT,so i made a new entry for it and now my scenarios are working fine.
    thanx
    ahmad
    (0) 
  2. Archana Singhai
    Hi,
    I checked the names and imported the latest certificate for the customer and the connection worked. However the XI production server goes down every weekend for Oracle offline backup and last Monday when I restarted the ICM server, it worked. Today it is just now orking and I now get the same error of ICM_HTTP_Connection failed. Please help.
    Regards,
    Archana
    (0) 
    1. Michal Krawczyk Post author
      Hi,

      there are three things you can do:
      1. ask XI consultant which has access to your system for help
      2. post an OSS message
      3. ask on XI forum on sdn

      Regards,
      Michal

      (0) 
  3. Alejandro Ferrara
    Hello Guru!
    I have a question:
    I have many “receiver plain HTTP adapters” (pointing to a different services) and I want to configure different timeouts for each one. Is that possible? I’m searching but I cannot find the way.

    Thank you in advance!

    Alejandro

    (0) 
  4. senthil kumar
    hi Michal,
       we have a scenario SOAP to RFC(customized bapi) through XI.we are sending more than 20 items to create sales order no in R/3.RFC will take time (approximate 5 min) to create sales order no.
    Now we got the error:
    1.”com.sap.aii.af.ra.ms.api.DeliveryException: 
       No response available” in sxmb_moni.

    Error in Request interface message monitoring:
    1.”Returning synchronous error notification 
       to calling application:
      com.sap.aii.af.ra.ms.api.DeliveryException:
      XIAdapterFramework:GENERAL:
      com.sap.aii.af.ra.ms.api.DeliveryException:
      No response available..

    Error in Response interface message monitoring:
      1.SOAP: error occured: 
    com.sap.aii.af.ra.ms.api.RecoverableException:   XIAdapterFramework:GENERAL:
    com.sap.aii.af.ra.ms.api.DeliveryException: No response available.: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: No response available

      2.Success MP: Leaving module processor

      3.Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.MessageExpiredException: Sync application request expired.. Setting message to status failed.

    we can see the RFC adapter properity
    “syncMessageDeliveryTimeoutMsec” value=300000 in visual admin(as per ur blog)

    can u tell me the solution for this issue? if i need to increate the message delivery timeout value in visual admin,what is the maximum time i can.

    Regards,
    Senthilkumar.

    (0) 
    1. Magnus Öhlund
      Hi.
      I have the same scenario SOAP to RFC and the same problem I think… I got the error “No response available”.
      At first I received errors that were fixed by following this blog, but I haven’t been able to solve this new error.
      So please, if anyone has solved this, please let me know how

      Regards
      Magnus

      (0) 
  5. GOPAL BALIGA
    Hi Michal,

    I have a synchronous Webservice to RFC scenarios.

    Request message: Webservice (SOAP Adapter) —> XI ———-> RFc Adapter —> ECC Function modules

    Response message: Webservice (SOAP Adapter) <— XI <———- RFc Adapter <— ECC Function modules

    As you can see above, external system calls XI web service via SOAP Adapter. The input data is then sent from SOAP Adapter to RFC adapter to call RFC function module in the receiving side. The receiving system is SAP ECC system.

    But sometimes I get com.sap.engine.interfaces.messaging.api.exception.MessagingException: No response available and in other occasions I get com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message(INBOUND) expired

    I have checked the RFC function module in development environment and it works fine. I also don’t see any issue in the input data.

    But not able to understand why getting these errors?
    Can you please tell the root cause of it?

    Thanks & Regards
    Gopal

    (0) 
  6. john j
    Hi Michal,

    The ICM_HTTP_TIMEOUT in the note 824544 and the HTTP_TIMEOUT to be configured via SXMB_ADM seems to be different. First one is for synchronous calls via ICM and the other for time between two data packages.

    I am getting a timeout in ICM. Hence, going to SMICM->GOTO->Services->HTTP->Change seems to be the appropriate option.

    Please confirm.

    Thanks,
    John

    (0) 

Leave a Reply