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

[REPORT][Timeout problem]

hermanoclaro
Participant
0 Likes
662

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
584

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á

5 REPLIES 5
Read only

Former Member
0 Likes
585

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á

Read only

andreas_mann3
Active Contributor
0 Likes
584

hi,

make a transfer to application server in background instead of using fm gui_download

A.

Read only

Former Member
0 Likes
584

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

Read only

0 Likes
584

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.

Read only

hermanoclaro
Participant
0 Likes
584

Thanks for all of you. I will process this information and make some tests.