Select language:

Background documentation Background Processing 

SAP background processing allows the automation of routine tasks and the optimization of the use of SAP computing resources. It provides you with extensive functions for scheduling and administering background jobs.

Note

Note that this section only describes local SAP background processing with the customary SAP transactions for background processing (SM36 and SM 37). As of SAP NetWeaver 2004, SAP also offers an additional job scheduler for landscape-wide job scheduling. You can find more information at the SAP Service Marketplace under the job scheduling quick link (http://service.sap.com/job-scheduling).

Technical System Landscape

For an overview of the process flow of SAP background processing, see Background Processing: Concepts and Functions.

Prerequisites

To be able to use background processing optimally, you need to have set up the background processing system appropriately. For more information, see Setting Up the Background Processing System.

Tasks

The most important administration tasks that you need to perform in relation to SAP background processing are listed below:

Task

Description

Scheduling background jobs

Before the actual background processing can start, you must first define and schedule the background jobs. For information about the jobs scheduling transaction SM36 and other types of job scheduling, see Job Scheduling.

Caution

There are a range of background jobs that must run regularly in a production system, to, for example, delete obsolete jobs or spool objects. For information about this, see the section Background Jobs to Be Scheduled Regularly.

Administering background jobs

The Job Overview (transaction SM37) allows you to administer jobs and is the central area for performing various job monitoring and job administration tasks. These include, for example, repeating, canceling, and deleting jobs. For more information on the job overview, see Managing Jobs from the Job Overview.

Monitoring background jobs

Note

You should regularly check whether the jobs are executed.

You can monitor jobs in the following ways:

·  You can call the Job Selection transaction (transaction SM37) and check whether the jobs actually ran without errors.

·  You can use the job monitoring of the Alert Monitor (transaction RZ20) to monitor the jobs. You can set up job monitoring so that you are automatically notified if a job terminated or a runtime error occurred.

With job monitoring, alerts are displayed if one of these errors occurred. If you assign an “auto-reaction method” to these alerts, you are notified, for example, by SMS or by e-mail if problems occurred during the execution of the jobs.

For information about how to set up job monitoring, see the section Monitoring Jobs with the Alert Monitor.

Troubleshooting

If errors occurred, you need to perform a Problem Analysis and start Troubleshooting. When troubleshooting, it is often advisable to first check in the work process overview (transactions SM50 and SM66) whether the background work processes are still running.

Additional Information

·  For more information about background processing in general, see the Documentation for Background Processing.

·  For more information, see the SAP Service Marketplace under the quick link /job-scheduling (http://service.sap.com/job-scheduling).