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

error Time-Out.

Former Member
0 Likes
943

Hi all .

am trying to fetch 2 years data in my program, when i execute the program after a long time its gives Time out error, how to overcome this . please tell me

Regards

Prajwal

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
910

9 REPLIES 9
Read only

Former Member
0 Likes
910

you need to execute such reports in background so that they dont result in TIME-OUT error...

as huge amount of data fetching takes lot of time...

and if this time exceeds auto time out duration then report results in error....

you either execute report in BG or increase auto time out duration...

Message was edited by:

sharayu kumatkar

Read only

Former Member
0 Likes
910

Goto SE38, type the program name & enter the selection screen data.

Click PROGRAM=> EXECUTE IN BACKGROUND

Goto SM37 & check the spool output for results.

Read only

Former Member
0 Likes
910

Hi,

Either you execute the program in background or use FM SAPGUI_PROGRESS_INDICATOR to keep the connection between Pres server / Appl server active.

Hope this helps,

Best Regards, Murugesh AS

Read only

former_member188827
Active Contributor
0 Likes
910

there are alot of records which fulfill ur requirement and hence rquire alot of db accesses whcih is very time consuming, dats y dis message is appearing...

try to give shorter durationi..e instead of two years first fetch data of first six months, den of next six months and so on....fetch data over smaller intervals..

plz reward points if dis helps..

Read only

0 Likes
910

hi all .

i want full 2 year data in a single file . am using gui_download FM to download the

data.

program is working fine if am fetching 6 month data.

please give me steps to execute the progtam in background

Regards

prajwal.k

Message was edited by:

prajwal k

Read only

Former Member
0 Likes
910

Your program wont work in BACKGROUND bcz it has FM GUI_DOWNLOAD.

GUI_DOWNLOAD doesnt work in background.

There are 2 options:-

1. To modify the program to download data on application server using OPEN DATASET

2. To run the program in foreground in steps for shorter periods & then collate all the files into a single file.

if you execute in Background , then it will dump with GUI_DOWNLOAD.

Read only

0 Likes
910

Thanks Prashant .

I dont no about OPEN DATASET, please give me steps or code to use.

Regards

Prajwal.k

Read only

Former Member
0 Likes
911

Read only

0 Likes
910

Thanks a lot Prashant.

Regards

Prajwal.k