Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Introduction:

With the introduction of the 'retry' inbuilt feature to the HTTP receiver adapter in the recent release, we can explicitly set the flow to retry the network connection based on the received response code. This is being achieved by polling for the defined retry count at a defined time interval.

Benefit:

This feature targets to overcome the following:

  • Operational load on a system, example any temporary server unavailability for short duration like server overload, will no longer cause the flow to go into an error state.

  • No more hassle to restart the flow manually.


Customer Scenario:

Imagine a salesperson approaches a potential lead. On visit gets the details of the business or the organization from the merchant, who requested for point-of-sale equipment.

And then process's the details into his mobile app and submits the contract.

Meanwhile, the salesperson now need not await the server confirmation and can proceed to the next lead visit.

Sample Flow Design Logic


Sample Design


Configuration:

At the HTTP Receiver Adapter end,

  • The feature is only available when the checkbox is checked (by default)

  • Check the checkbox

  • And then one can specify, for what all different kind of response code the Inbuilt Retry should be done in the below field.


(One can mention code between 400-599, but any special character not supported like * or 5*)

  • Retry Interval can be set within the defined range of 5-60 sec.


 

  • Max Retry Iterations can only be defined 1-3, to avoid reaching retry rate limit.


 

 

Monitoring:

The Flow can be monitored in below following ways.

  • The open text view log explicitly defines the number of retries tried.

  • For every Retry triggered the header of request and response and the response body is captured as attachments for reference


 

  • One can also monitor the retry tried in Debug /Trace Mode by HTTP Reattempt Counter


Conclusion:

This feature would be helpful to overcome intermittent network connection to server and would help to manage message processing failures.

Please do share your thoughts and feedback over comments.

Also, would love to know other use cases, where you feel this feature could be used.
5 Comments
0 Kudos
Nice Blog Mintu,

From which integration version this feature is available ? currently not available for our version 6.46.5
Hi Sai

Thanks for your comment

 

This feature is available as part of software version 7.18.* in NEO and in CF should be available in 6.46.* for runtime 8.10.*

You can verify the runtime under About section.


Note*: Currently Cloud Integration software rollout for both CF and Neo is being done in a phased manner and started for some Data Centers.
As of now, there is a delay in rolling out to pending Data Centers due to unforeseen circumstances.
Hence, we are unable to provide tentative timeline for this matter. As soon as the challenges are overcome, we will update you with potential dates.
We appreciate your understanding and patience in this regard.
guilhermel
Advisor
Advisor
Thanks Mintu.
Nice feature!
vsagars_sapcpi44
Explorer
0 Kudos
Thank you for sharing the info.
LarsL
Newcomer
0 Kudos

Hi, this is just what I was looking for, but can you provide any information about when this feature is planned to be implemented in EU20 data center? Today we are in version 6.48.2 but still this isn't available.