Skip to Content
avatar image
Former Member

RFC to cancel background job

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 16, 2008 at 06:09 PM

    BAPI_XBP_JOB_ABORT

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 28, 2008 at 01:27 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded