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: 

RFC to cancel background job

Former Member
0 Kudos

I need to cancel a background job from running by using a Remote Function Call. Can anyone provide an example of an RFC for this? Ideally, it would cancel all jobs owned by a certain user.

2 REPLIES 2

Former Member
0 Kudos

BAPI_XBP_JOB_ABORT

Former Member
0 Kudos

BAPI_XBP_JOB_ABORT wants the JOBCOUNT as well as the JOBNAME. How can I get the JOBCOUNT? I don't believe there is a way to capture the ID from the external application kicking off the SAP job.