2005 Apr 19 11:24 PM
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
2005 Apr 20 3:56 AM
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.
2005 Apr 22 2:33 PM
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
2005 Apr 26 3:58 PM
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
2005 Apr 20 10:29 AM
Hi,
and the other way is to use "commit work" after time consuming steps in your program.
Regards,
Malgorzata