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: 

How to kill background job permanently

Former Member
0 Kudos

Hi,

I have few jobs schedule in background now i want to kill them , i tried deleting with report RSBTCDEL but still i see job schedule for next day so let me know is there any way to kill these jobs permanently.

Thanks,

John.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI JOHN

GO TO SM37 CLICK ON EXECUTE BUTTON IT WILL DISPLAY ALL YOUR JOBS AND THERE SELECT THE THE JOB U WANT TO DELETE AND CLICK ON THE DELETE BUTTON.

HOPE THIS HELPS,

PRIYA

Message was edited by: Priya

11 REPLIES 11

Former Member
0 Kudos

Hi John,

If the job is active, it doesnt allow to kill it.

to do that first goto tcode SM50 and select your job

from the list and goto menu

Process -> Cancel with core .

after that goto SM37 and now delete the job.

Hope this will help you.

Thanks&Regards,

Siri.

naimesh_patel
Active Contributor
0 Kudos

hello,

GO to SM37, Here you can delete you job, if it is not active.

SM37 > Run ...

Select Job and go to Job > Delete

Regards,

Naimesh

former_member188685
Active Contributor
0 Kudos

Hi,

you can kill the process using SM50,

in SM50 choose your Job(Progam which is running in BGD) and go to menu <b>Program/Mode</b> -> <b>Program</b> -> <b>Cancel</b>

now popup will come say Yes.

thats it.

Regards

vijay

0 Kudos

In SM37, check the checkbox next to the job in question, in the menu, click job, check status. This will sync it up. Now you should be able to delete.

Former Member
0 Kudos

HI JOHN

GO TO SM37 CLICK ON EXECUTE BUTTON IT WILL DISPLAY ALL YOUR JOBS AND THERE SELECT THE THE JOB U WANT TO DELETE AND CLICK ON THE DELETE BUTTON.

HOPE THIS HELPS,

PRIYA

Message was edited by: Priya

Former Member
0 Kudos

thanks for your reply!!!!

is it possible to kill background job programetically & how , which parameters are involved in this task?

thanks,

John

0 Kudos

Hi John,

Yeah it is possible to delete the jobs using this prog.

as u mentioned in your post.

But make sure that you pass 'X' to the <b>Status scheduled</b> parameter.

Thanks&Regards,

Siri.

Kindly award points to helpful answers.

0 Kudos

Hi John,

try to use this FMs

<b>OMS_CANCEL_JOBS

RSPO_CANCEL_JOB</b>

to cancel the Job.

Regards

vijay

0 Kudos

Hi,

Try using BP_JOB_DELETE and pass the JOB NAME to it.

Regards,

Ravi

Note : please mark the helpful answers

0 Kudos

Hi,

Did you check it properly..

while running the program <b>RSBTCDEL</b> set <b>Status scheduled</b> to 'X' as suggested .and run it .

you can see the message also , like 2 jobs deleted in the status bar.

and check in SM37 also after running that program .

you will see it as cancelled.

Regards

vijay

0 Kudos

Go to SM37. Enter your Job Name and user *. Select the checkbox for 'Scheduled'. Enter the date range as from date to be today and the to date to be well into the future(may be just change the year to 2007). Now you should see one job that is scheduled to run next time. Simply delete that job and you will be good to go.

When periodic job is setup, it goes into scheduled status. It will remain in scheduled status until the conditions for its start are met. Then it goes into READY and ACTIVE and FINISHED(or CANCELLED). When this instance goes into an active status, another one will come up with 'scehduled' status.

Srinivas