Learn Background job administration from beginning to advance. SM36 & SM37 This are Tcodes use for working with Batch jobs.
In this tutorial following topics will be covered,
1. Types of Status
2. Types of Start Conditions
3. Setting Priority for job
3. Define Job(SM36)
4. Monitor Job(SM37)
5. Define job using job wizard(SM36WIZ)
6. Working with Standard jobs
Creating a Background (Batch) Job in SAP:
-To create a background job in SAP, enter the Define Background Job screen by using transaction code SM36 or menu path System ® Services ® Background jobs ® Job definition.
-Enter a descriptive job name in the Job name field. See document 15020 for naming conventions and reference.
-Enter the background job priority in the Job class field. The different priority levels, from highest to lowest, are A, B, and C. The job class determines how the background jobs are queued. Jobs that are absolutely crucial should be classified as A, those that must run, but can be delayed without causing great disruption to operations should be classified as B, and jobs that the least imperitive to business functions (such as most reports, for example) should be classified as C.
-Enter the host (server) that will run the background job in the Target host field. Click the down arrow on the right side of the field to get a listing of possible entries. If this field is empty, the job will run on the host (server) that you are logged into.
-To schedule the background job, click on the Start time pushbutton. This will bring up the Start Time pop-up window.
-There are several scheduling options:
Maintaining and Monitoring Scheduled Background Jobs:
-To maintain or monitor SAP background jobs, enter the Select Background Jobs screen by using transaction code SM37 or menu path System ® Services ® Background jobs ® Job overview. The window is a selection screen. A listing of background jobs will appear according to this window.
-The following fields are available to query all background jobs.