Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Time_Out in WebDynpro application

Former Member
0 Likes
385

I have a WD application which calls an RFC. If the RFC is not completed within five minutes. The WD application gets a Time_Out dump screen on web browser. This is because the parameter icm/keep_alive_timeout is set to 300 seconds.

I am trying to prevent the dump screen by tracking the elapsed runtime of RFC and exiting before the 300seconds, i.e.: 280 and giving the user an error message that there was a timeout.

My question is whether there is a more sophisticated way to capture the Time_Out? It is not a class exception, so how would I capture this event?

I have a WD application which calls an RFC. If the RFC is not completed within five minutes. The WD application gets a Time_Out dump screen on web browser. This is because the parameter icm/keep_alive_timeout is set to 300 seconds.

I am trying to prevent the dump screen by tracking the elapsed runtime of RFC and exiting before the 300seconds, i.e.: 280 and giving the user an error message that there was a timeout.

My question is whether there is a more sophisticated way to capture the Time_Out? It is not a class exception, so how would I capture this event?

1 REPLY 1
Read only

former_member217544
Active Contributor
0 Likes
348

Hi Raynald,

There is a class cl_gui_timer which is used for this kind of scenarios. Check if this helps you in anyway.

http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417600)ID1566140850DB10378994137114348003End...

http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417600)ID1566140850DB10378994137114348003End...

Also search with cl_gui_timer in sdn, may be it gives you some more information.

Regards,

Swarna Munukoti.