‎2007 Feb 15 1:52 PM
Hi there!
I need to run a program more time than the timeout permits, I tried to use a job but the program have a GUI_DOWNLOAD that's necessary. How can I make a program run more than the timeout permits?
Thanks in advance.
‎2007 Feb 15 2:00 PM
Hi!
1. Timeout is a basis parameter, this can be set in SAP, default setting is 10 mins (or 15...).
2. If you want to run it in background, you may change the data source from presentation server (GUI_DOWNLOAD) to the application server (OPEN DATASET).
3. You might set the selection of the program with lower values and smaller intervals. This will make, you have to run the program more than once, but will run in time.
4. Rewrite the program with better performance.
The choice is yours.
Regards
Tamá
‎2007 Feb 15 2:00 PM
Hi!
1. Timeout is a basis parameter, this can be set in SAP, default setting is 10 mins (or 15...).
2. If you want to run it in background, you may change the data source from presentation server (GUI_DOWNLOAD) to the application server (OPEN DATASET).
3. You might set the selection of the program with lower values and smaller intervals. This will make, you have to run the program more than once, but will run in time.
4. Rewrite the program with better performance.
The choice is yours.
Regards
Tamá
‎2007 Feb 15 2:00 PM
hi,
make a transfer to application server in background instead of using fm gui_download
A.
‎2007 Feb 15 2:13 PM
Well, the best thing would be to tune your code if possible, so that it doesn't take as long. If you post the code, we can see if anything can be done to help.
Rob
‎2007 Feb 15 2:27 PM
If you put a commit work and wait in your code. This will reset the program runtime. If you know what I mean.
So after your selects. Do a COMMIT WORK AND WAIT.
Just try it. It worked for me.
Otherwise you will need to create a file in the background on the SAP server, then have another program to pick up this file and put it onto a PC.
‎2007 Feb 15 5:52 PM
Thanks for all of you. I will process this information and make some tests.