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.

End of Content Area

No comments:

topics