Scheduling a Background Processing Job

Prerequisites

Often, the applications in the R/3 System take care of scheduling long-running programs as background jobs for you.

Procedure

If you wish to schedule a program on your own for background processing, then you can do the following:

  1. Start the job scheduling function. Choose System ® Services ® Jobs ® Job definition to start the standard job scheduling function of the background processing system.
  2. For ABAP programs, you can also schedule a job by way of the ABAP job scheduling function. From the ABAP editor, choose Program ® Execute ® Background.

    Both job scheduling functions offer the same services for scheduling ABAP programs as background jobs. However, if you need to schedule an external command or external program as a background job, then you must use the standard job scheduling.

  3. Fill out the job scheduling screens. Specify the program to run, how output should be handled, and when the background job should start.
  4. For more information, please see the F1 field help or:

    Scheduling Standard Jobs

    Scheduling ABAP Jobs.

  5. Save the job. When you see the "job saved" message, then the job has been accepted by the background processing system. The job is scheduled.
  6. A job that has been scheduled can’t run until it is also released. This restriction applies even if you specify an immediate start for your job.

    If you have the necessary authorization, then your job is released automatically when you schedule it. Otherwise, your system administrator will release your job for you so that it can run. The requirement that a job be released in addition to being scheduled lets your system administrator organize and optimize background processing jobs.

  7. Check the status of your job by choosing System ® Job status.

If you want more information on your jobs than is shown in the status screen, then click on Job overview. For more information, please see Checking on the Status of a Background Job.