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

IN BACKGROUND TASK timming out

Former Member
0 Likes
1,257

I have a program that calls a FM in background task but times out in 30 mins.  Is there any way to have this not time out?  Or should I use the SUBMIT command?

IN BACKGROUND TASK

Submit

1 ACCEPTED SOLUTION
Read only

balbinosoares
Active Participant
0 Likes
1,204

The better way is to use a submit program. Using Job open FM, submit command and then job close FM. The background task in a function module will be used with a RFC, and the time out is configurable by basis team, but for a general rule the time is not much time.

I have a program that calls a FM in background task but times out in 30 mins.  Is there any way to have this not time out?  Or should I use the SUBMIT command?

IN BACKGROUND TASK

Submit

4 REPLIES 4
Read only

michael_kozlowski
Active Contributor
0 Likes
1,204

According to my understanding you have to find out the root cause of poor performance. You can use ST05 for performance analysis.

Read only

0 Likes
1,204

And there is always the option to work in several smaller packages of data to prevent the function module timing out.

Read only

balbinosoares
Active Participant
0 Likes
1,205

The better way is to use a submit program. Using Job open FM, submit command and then job close FM. The background task in a function module will be used with a RFC, and the time out is configurable by basis team, but for a general rule the time is not much time.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,204

Create a background job ans use submit, the IN BACKGROUND TASK are executed in interactive process so get the same TIME OUT than transactions.

Regards,

Raymond