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

Timeout Error

Former Member
0 Likes
766

Hi Experts,

Will you please helpout me in ,

Why SAP gives TIME_OUT error,when report is run in FOREGROUND and does NOT give the same , when Its run in BACKGROUND.

Thanks in Advance for your kind reply

Regards

Deepak

1 ACCEPTED SOLUTION
Read only

former_member182190
Active Participant
0 Likes
739

Hi,

This is happening because some Select Queries and loops of urs are taking much time.

Chk out which piece of code is taking more time in ST05 .

Try to optimise that code.. Like remove Selects from loops.sort tables before read and Read with Binary key. etc..

Regards,

ismail.

5 REPLIES 5
Read only

Former Member
0 Likes
739

Hi

In FOREGROUND you have limited running time,when your report exceeds it - will be dump.

All "heavy" reports you should run in BACKGROUND.

Regards

Yossi

Read only

Former Member
0 Likes
739

hi

good

check out your select satements in st05 and st22 ,it is happening bcz one of your select statement is taking long time to execute.

Thanks

mrutyun^

Read only

former_member182190
Active Participant
0 Likes
740

Hi,

This is happening because some Select Queries and loops of urs are taking much time.

Chk out which piece of code is taking more time in ST05 .

Try to optimise that code.. Like remove Selects from loops.sort tables before read and Read with Binary key. etc..

Regards,

ismail.

Read only

marcelo_ramos1
SAP Mentor
SAP Mentor
0 Likes
739

Hi,

When you run in background you don't have a limited of process but in foreground you have. In this case you need to improve you program performance to run in foreground.

Regards.

Marcelo Ramos

Read only

Former Member
0 Likes
739

Thanks experts for your kind replies....