05-11-2009 8:34 AM
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....
05-11-2009 8:56 AM
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
05-11-2009 8:37 AM
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.
05-11-2009 8:38 AM
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
05-11-2009 8:56 AM
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
05-11-2009 9:08 AM
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
05-11-2009 9:34 AM
Hi Madhu,
Use function module 'PROGRESS_INDICATOR' which resets the time set by the Basis people
for running the ABAP program.
regards
kanishak
05-11-2009 9:53 AM
05-11-2009 10:03 AM
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
05-11-2009 10:48 AM
05-11-2009 10:06 AM
Call FM SAPGUI_PROGRESS_INDICATOR in some loop. The report will refresh foreground each time fm is called, hence avoing timeout.
Regards
Marcin