cancel
Showing results for 
Search instead for 
Did you mean: 

UI Service Call Getting time out / Connection Lost Error

Former Member
0 Kudos

Hi All,

We are calling service from front end and during processing request/fetching data it is giving return code - 500. As service has lot of data to fetch & process before passing relevant data.

Any suggestion to handle this scenario.

Thanks & Regards,

Rajesh

Accepted Solutions (1)

Accepted Solutions (1)

former_member184867
Active Contributor
0 Kudos

Answers (2)

Answers (2)

Former Member
0 Kudos

Better is to add some additional conditions and try to restrict/minimize the data that is going to be fetched.

EkanshCapgemini
Active Contributor
0 Kudos

Hi Rajesh,

As Atanu said, you can change the timeout settings in the ICM parameters.

But IMO, you may need to optimize the logic to fetch the records because if a call is failing due to large time taken by the backend, we may end up loosing the purpose of enhancing the user experience.

Depending upon your use case, you may want to include Paging as the option to reduce the time taken in fetching the records. you may check this link for paging

Regards,

Ekansh

Former Member
0 Kudos

Hi Ekansh,

We were looking for user experience on this scenario. Performance of services are optimize.. We were checking the break / extreme point of application.. Thanks for Response.

Regards,

Rajesh

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rajesh,

I suggest that you use server side paging ($skiptoken).

You find a coding sample in the SAP Online Help:

OData Query Options - SAP NetWeaver Gateway - SAP Library

And I can also recommend the following blog that my colleague David Freidlin has posted a while ago

Regards,

Andre