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

Restrict background job runtime

Former Member
0 Likes
4,766

Is there any way to restrict background job run-time? we have a job running every 5 mins and at times the job hangs possibly due to network issue. This is less frequent but whenever it happens need to cancel job manually sometimes middle of the night. Would appreciate if there is any way to restrict the job runtime from abap program ?

Thanks

Is there any way to restrict background job run-time? we have a job running every 5 mins and at times the job hangs possibly due to network issue. This is less frequent but whenever it happens need to cancel job manually sometimes middle of the night. Would appreciate if there is any way to restrict the job runtime from abap program ?

Thanks

6 REPLIES 6
Read only

Former Member
0 Likes
2,710

Hi Suhel,

You can make use of the standard parameter rdisp/max_wprun_time  to control the processing time.

Using RZ11 you can set the defined values and control the required process.

For step by step instruction make use of the SAP How to Guide.

SAP Background Process control

Hope it helps.

Regards,

Kannan

Read only

0 Likes
2,710

Thanks for your reply.rdisp/max_wprun_time is for dialog not background

Read only

0 Likes
2,710

Hi Suhel,

Yes you are correct.Sorry for conveying the wrong input.

Regards,

Kannan

Read only

Former Member
0 Likes
2,710

Hello Suhel,

No time restriction applies to background work processes.

Maybe you need write some ABAP program or third-part application to do that.

Regards,

Ning Tong

Read only

0 Likes
2,710

Thanks for your reply. I also thought same that's why had opened this discussion under abap development but seems the moderator has moved to netweaver administrator

Read only

Melih
Explorer
0 Likes
2,710

Hi Suhel,

I also need to restrict background job runtime and I wonder if you ever had a chance to find any solution.

Regards

Melih