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: 

Avoid Time out

Former Member
0 Kudos

hi,

We have a program which if run in the foreground 'time out'.

So is there any way that, we enter the selection screen values foreground, and then run the report background. We can modify the report to email the output. That is not an issue.

regards,

m....

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

enter the sel screen parameters in foreground and select execute in background option from the menu.

a job will be created in sm37. once it is complete , u can see the output there and also in sp01 .

reg

Ramya

9 REPLIES 9

Former Member
0 Kudos

Hello,

We dont have that option better u r contact basis team to increase the time so that it will work fine.

Otherwise always u should run the report in Background.

Former Member
0 Kudos

Ya this is possible.

You enter all your values in the selection screen and to the Menu Program -


> Execute in Background.

By this you can achieve this,

Regards,

Nikhil Joshi

Former Member
0 Kudos

Hi

enter the sel screen parameters in foreground and select execute in background option from the menu.

a job will be created in sm37. once it is complete , u can see the output there and also in sp01 .

reg

Ramya

0 Kudos

Fine tune your program. Search the performance forum for tips.

What is the number of records you are fetching.

Are your queries using the proper indexes.

Try to avoid for all entries in select query instead use joins(where ever possible).

Use read with binary search and avoid nested loops.

Use SE30, ST05 and analyse your performance.

Regards,

Abdullah

kanishakgupta1
Contributor
0 Kudos

Hi Madhu,

Use function module 'PROGRESS_INDICATOR' which resets the time set by the Basis people

for running the ABAP program.

regards

kanishak

0 Kudos

hi,

This FM does not exist in 4.6C.

regds..

0 Kudos

Hi Madhu U,

What is program you are executing, I mean a Zprogram or a Standard program copied to Zprogram.

As a Technical Consultant You need to find why Time out error is coming , See wht all select quries

written. And wht all database tables they are hitting and how many times. How many records are

selected.

You need to rectify the Time out error, Plz do't try to come out of the loop and search for a short solution.

Regards,

Suneel G

0 Kudos

use ARCH_ANA_PROGRESS_INDICATOR in 4.6 c

MarcinPciak
Active Contributor
0 Kudos

Call FM SAPGUI_PROGRESS_INDICATOR in some loop. The report will refresh foreground each time fm is called, hence avoing timeout.

Regards

Marcin