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

background job

Former Member
0 Likes
602

HI Experts !

in sm37 there is one background job (zprogram) which needs to be executed daily in night .

how i can delete my background job

HI Experts !

in sm37 there is one background job (zprogram) which needs to be executed daily in night .

how i can delete my background job

3 REPLIES 3
Read only

Former Member
0 Likes
560

Hi,

If the batch job is scheduled to run daily at night, then why do you need to delete it,

Could you please explain the requirement.

Regards,

Himanshu

Read only

Former Member
0 Likes
560

Deleting Jobs

Use

You delete a job for one of two reasons: the job doesn't need to be processed or the job has already run and does not need to be analyzed or documented further. Until you delete it, a job remains in the job overview. When a job is deleted, it is removed from both the overview and the associated job log.

Procedure

...

1. Select a job (or jobs) from the Select Background Jobs screen (Transaction SM37, or choose CCMS ョ Jobs ョ Maintenance, complete the description of the jobs you want to delete, then choose Execute to get to the Job Overview.)

2. In the Job Overview, mark the job or jobs you want to delete by checking the box to the left of the job name.

3. Choose Job ョ Delete.

Deleting Jobs That Have Dependent Jobs

If you delete a job that must be processed before another job can be started, the dependent job can no longer be started. The system will inform you of any such existing dependent, or successor, jobs. You’ll then need to either reschedule or delete the dependent job.

If you try to release a job whose predecessor job was deleted, the system sets the status of the job to Planned. To start this job, you must release it and specify the start conditions.

Reorganizing Background Jobs

To delete background jobs in bulk, schedule the SAP program RSBTCDEL.

...

1. Schedule a background job that has RSBTCDEL as an ABAP program step.

2. Indicate the “variant”, or criteria, of the jobs you want to delete, including:

キ job name

キ name of “user”, or person who scheduled job

キ job’s start and end times or dates

キ “age“ of the job (e.g., older than xx days)

キ job’s status (scheduled, released, finished, canceled)

キ event ID or parameter for event-driven jobs

3. Run this new background job.

The program RSBTCDEL should be scheduled to run regularly to flush various database tables (TBTCO, TBTCS, BTCEVTJOB, TBTCP, etc.) to keep them from getting unnecessarily large. For more information, see Required Background Jobs.

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

Read only

Former Member
0 Likes
560

Hi

<b>SM37>MENU>JOB-->CANCEL ACTIVE JOB</b>

OR you can just check the job and click on delete button

<b>reward if useful</b>