How can I set the invocation timeout in case of the TIBCO Adapter (TM) for SAP R/3 Request Response Invocation Service at runtime?

How can I set the invocation timeout in case of the TIBCO Adapter (TM) for SAP R/3 Request Response Invocation Service at runtime?

book

Article ID: KB0091922

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions -
Not Applicable -

Description

Resolution:
In case of Request Response Invocation Service, requests are being sent out from the SAP to the adapter. The adapter in turn sends out this request to the server (which can be a BW process or an IM process) and waits for the reply from this server. If the server for any reason delays in sending the reply the outbound instance can throw a  timeout error due to timeout at the SAP end or Adapter end. The default value for this timeout is 5 minutes at the SAP end and 0 (which means infinite) in case of the adapter.

The default invocation timeout of 5 mins set at the SAP end can be edited at runtime by specifying the following adapter property in the adapter properties file

adr3.&ltrfc name>.invocationTimeout

The timeout value should be in milliseconds.
E.g., to set the timeout for the Outbound Request-Response invocation adapter service to 10 minutes, make the following entry in the properties file:
adr3.RFC_CUSTOMER_GET.invocationTimeout=600000

The default invocation timeout of 0 at the adapter end can be edited in the Adapter project. In the R3 Adapter instance go to the Advanced-&gtSessions folder .In this folder go to the session which has the adapter endpoint reference in which you can see a field Invocation Timeout(ms). The default timeout set in the adapter is 0. Click the toggle button there and specify a global variable in this field for example as %%invocationTimeout%%.

Now in the (adr3.tra) properties file you can mention the value for this global variable as
tibco.clientVar.invocationTimeout=60000.

Issue/Introduction

How can I set the invocation timeout in case of the TIBCO Adapter (TM) for SAP R/3 Request Response Invocation Service at runtime?