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 task

Former Member
0 Kudos

Hi all,

Can any1 gimme some tips on timeout issues for background tasks

I am calling my FM in background task in VA01 which gets executed if I run the background task in Debug mode but doesnot get executed when i run the background task without debug mode.Could not understand the issue.

Hoping it is a timeout issue.ny suggestions on this..

ani

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi ,

We also had a same issue. When running in debug mode, it executes perfectly, but when we execute directly , it doesnt work, its a time issue. just increase time . so that it will get time to save data. I hope it will solve your problem.

11 REPLIES 11

Former Member
0 Kudos

Hi

All GUI Function Modules dont run in background mode...

What is the FM you are using?

Regards,

Vishwa.

Former Member
0 Kudos

Hi,

Usually timeout issues do not affect background jobs. But yes there might be an infinite loop formed and hence the job keeps on executing. One more thing, if a background job is cancelled please check the job log once it will give you the error that has caused the job to stop.

Regards,

Pramod

Former Member
0 Kudos

hi ,

We also had a same issue. When running in debug mode, it executes perfectly, but when we execute directly , it doesnt work, its a time issue. just increase time . so that it will get time to save data. I hope it will solve your problem.

0 Kudos

Hi Meena,

Can you please temme how do you increase time in technical terms.

Thanks,

ani

0 Kudos

Try this ' wait up to N seconds.' after call FM

0 Kudos

Hi Anil,

Is your problem solved ?

0 Kudos

'Wait upto N seconds' is wrkin n gud but i cant use due to some performance issues..

Plz suggest me somethin else..

Thnx,ani

former_member182354
Contributor
0 Kudos

If you use call screen statement then it may take loong time to run..

Raghav

Former Member
0 Kudos

Hi Anil,

Please check below link for more details on how to resolve this issue. I hope it will be useful.

Thanks and Best Regards,

Dinesh.

Former Member
0 Kudos

Hi Anil

If you use any FM which get confirmation from user (ie, YES / NO) and if the default value you've set is NO then it will not run in back ground (probably while debugging you might've answered YES).

For increasing the time, transaction RZ11 can used for which you can contact your BASIS team .

Regards

Prabumanoharan

Former Member
0 Kudos

alternative soln needed