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

Runtime error TIME out

Former Member
0 Likes
1,162

Hello ABAP gurus,

I have small problem and not sure how to solve it. I have a report that runs for a while and then short dumps with the message "Runtime errors - time out". I'm thinking of using the SAPGUI_PROGRESS_INDICATOR function to create interrupts in the select statements and the loops. I think this will work, but does anybody know any easier way to create interrupts in loops and select statements, so that the report does not short-dump?

Regards Baljinder

6 REPLIES 6
Read only

Former Member
0 Likes
867

Hi,

SAPGUI_PROGRESS_INDICATOR is only used for displaying status messages to the online user. It will not help in your performance issue.

Try doing a run time analysis and see where the problem is.

Cheers

VJ

Message was edited by: Vijayendra Rao

Read only

Former Member
0 Likes
867

Hi,

For every report to be executed in FOREGROUND, a standard time is set ( Say 5 min. ) by the BASIS person. Now if the Program Execution in FOREGROUND takes more time than the Standard time ( Say more than 5 min. ) then it would given an error of TIME OUT.

The solution is to either improve the Performance.

If even after improving the performance, its taking more than 5 min., then execute the program in BACKGROUND.

A program can be executed in Background using FM`S JOB_OPEN, JOB_SUBMIT, JOB_CLOSE.

Best regards,

Prashant

Read only

0 Likes
867

Hi,

better performance is anyway a good strategy. You can't 'interrupt' select-queries, but you can put after each (long) select a commit work. This will reset your timer counter of this session.

Use select ... into table to avoid long loops, then this query won't be interrupted by a time-out.

Regards,

Christian

Read only

0 Likes
867

I have same problem also. But i couldn't execute program in background. Because of dialog program that SLICENSE.

When try to enter license it takes long time and time out.

Any chance to change Time Out parameters for Programs or reposrt in SAP NW ?

ibrahim

Read only

Former Member
0 Likes
867

Hi baljinder,

1. Very correct.

2. You are on the right track.

3. Even if there is something else to create interrupts,

it is always better to use this progress indicator,

bcos it will inform the user that something is going on.

regards,

amit m.

Read only

Former Member
0 Likes
867

Hi,

you can use the FM <b>TH_REDISPATCH</b> as described in the note 25528 from SAP.

Regards,

Stefan