Application Development 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: 

Override TIME_OUT setting Programmatically

Former Member
0 Kudos
488

Hi All,

I have a program that has to be run in the foreground mode. Is there anyway for me to override the TIME_OUT setting programmatically. I do not necessarily want to extend the time_out for that program run but would be even happy if I am able to make it ignore the time-out setting totally.

We will be using the program in a very controlled environment so the chances of overloading the system are not much.

Thanks and regards,

Atul Kulkarni

4 REPLIES 4

Former Member
0 Kudos
124

Hi, Atul!

One trick to overrride timeout programmatically is to force screen data exchange by, for example, call of SAPGUI_PROGRESS_INDICATOR during time consuming steps in your program(inside loops, between heavy selects or FM calls or something like that).

As pleasant side effect with SAPGUI_PROGRESS_INDICATOR you get additional visual info about program execution flow.

Regards,

Maxim.

0 Kudos
124

Hi Maxim,

Thanks for the quick answer. We already had the SAPGUI_PROGRESS_INDICATOR call in our program but I guess we never tried it to the limit. We are going to test and will let you know if it helps.

Regards,

Atul

Message was edited by: Atul Kulkarni

0 Kudos
124

Hi Maxim and Malgorzata,

Your answers definitely helped. We tested the program and it runs without timing out!!

Thanks for the quick help.

Best Regards,

Atul Kulkarni

MalaGo
Explorer
0 Kudos
124

Hi,

and the other way is to use "commit work" after time consuming steps in your program.

Regards,

Malgorzata