cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello,

I have a HTTP --> RFC Synchronous scenario.

However I need to return timeout error in case RFC takes more than 30 secs as HTTP Response otherwise RFC Response will be sent as HTTP Response.

I tried using sync-async bridge in BPM and configured CHECK_FOR_ASYNC_RESPONSE_TIMEOUT = 30 sec.

I got a pipeline Timeout Error as a Response.

Can I catch this error as exception in BPM as I need to send Error Code for Timeout as Response in this case.

Or is there any other way I can set this timeout.

I dont want to apply this at Global level as for other interfaces it is 60 secs.

Is there any way to set the Timeout for particular interface?

Thanks in advance...

Thanks

Beena.

0 Likes
View Entire Topic
Former Member
0 Likes

Beena,

I posted this answer to a similar request a couple of weeks ago

I had a similar issue some time back and used the following three parameters

1. Visual Administrator

SAP XI Adapter: RFC parameter syncMessageDeliveryTimeoutMsec

This parameter is explained in SAP Note 730870 Q14 and SAP Note 791379

2. Alert Configuration

SA_COMM parameter CHECK_FOR_ASYNC_RESPONSE_TIMEOUT

This parameter specifies the maximum time in seconds that can pass between the arrival of the synchronous request message on the Integration Server and the asynchronous response message. If this time period is exceeded, a system error is returned to the caller.

The alert is set up with recipients, text etc via transaction ALRTCATDEF, also in RWB Alert Configuration. An email is sent when the alert is triggered

3. Integration Process TimeoutControlStep

My design is such that timeout parameter 3 which is set in the Integration Process will be triggered first. This will give me control to handle the timeout via my own tailored SMTP email (sent from within the BPM) prior to either of the other timeouts taking effect

Regards,

Mike

Former Member
0 Likes

Thanks Mike,

But these parameters will apply at global level and for all interfaces. I have another HTTP --> RFC scenarios where I dont want to apply these settings.

Beena.