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: 

BackGround Job running endless

Former Member
0 Kudos
226

Hi,

If i run my program in foreground it is working fine...if i submit in background it is running without end..if i say cancel then it is showing me as Finished and giving me the correct output also..

iam running from F8>PROGRAM>Execute in Background...Actually i copied this program from some other program and done some enchancement...old programming is working fine..but new program running endless...

Could any body tell me the reason..

7 REPLIES 7

Former Member
0 Kudos
118

Hi

Is the Old program running fine in background

Regards

Madhan D

0 Kudos
118

YES

Former Member
0 Kudos
118

Just check if you have given unnecessary loopings loop-endloop.or while-endwhile...

just check if you are selecting data from a large table without proper filtering.

0 Kudos
118

But it is working fine in foreground..

0 Kudos
118

How long does it take to run in foreground?

I think one of your select query is giving you this problem,which tables are you using?

0 Kudos
118

Hi,

OLD program write data to list screen..instead of list output i have submitted the date to tcode..that's it i did...foreground it is taking 10min which is equal to old program...

0 Kudos
118

you mean you are calling another program by using submit?