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: 

Re : Job scheduling ( cancellation of job)

Former Member
0 Kudos

Sir,

           I have created a job and scheduled it, at present i want to cancel the job.

           t-code sm37 and selected the job, and on menu job---- cancel active job.

           i am getting the message

           job is not active and cancellation is not possible.

          Any suggestion please to stop or cancel this job.

Thanks & Regards,

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

This option is for active (running) background job, for scheduled, finished or canceled, use either "Job/Delete" to delete the job (irreversible) or "Job/released -> scheduled" to un-schedule job. You could (should) have found this with the online help (or Managing Jobs from the Job Overview)

Regards,

Raymond

6 REPLIES 6

Former Member
0 Kudos

Have you tried deleting the scheduled job?

There is a delete button in application toolbar.

0 Kudos

Sir,

        On test client i have done, delete job from database, and the job is getting deleted.

        can u please explain what had happened in the sap server

former_member209120
Active Contributor
0 Kudos

Hi Satish,

See this link

http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a7fef505211d189550000e829fbbd/content.htm

IF it doesn't get cancelled then try with the Tcode SM50


GO to SM50 --> Menu Choose Process --> Cancel with Core.

Former Member
0 Kudos

Hi Satish,

Cancel is to Terminate Jobs that are running that is in Active stage.

You have scheduled the job so you can post pone it by changing or delete it but not cancel it.

I hope it helps.

Regards

Former Member
0 Kudos

Hi Satish,

Go to sm37 job monitoring screen and double click on the job which you want to cancel.

In the menu click on Job Details tab.

New window will pop up.  Collect WP number/PID from this screen.

Go to SM50 T-code. start Searching with WP  number/PID. you will find one work processor for the same. Select that particular work process go to Process on top and select Cancel with core.

The job will be cancelled.

Lets say WP number/PID is 41/10354,758

search for WP 41 and check corresponding PID will be 10354758.

But be careful while selecting and cancelling the job.

Thanks

raymond_giuseppi
Active Contributor
0 Kudos

This option is for active (running) background job, for scheduled, finished or canceled, use either "Job/Delete" to delete the job (irreversible) or "Job/released -> scheduled" to un-schedule job. You could (should) have found this with the online help (or Managing Jobs from the Job Overview)

Regards,

Raymond