You can monitor jobs in transaction SM37 (or transaction SM37DISP which offers only display options (and no change options)).
You can select jobs using a diverse range of criteria on the initial screen of this transaction. In this way, you can display all jobs that contain a particular job step, that have a particular status, or that react to a defined event (for this, you must select a particular event or "*").
Note
For a job selection with more selection criteria, you can use the Extended Job Selection button in the application toolbar (see figure above). Any selection criteria that you have defined in the Simple Job Selection screen will be transferred to the Extended Job Selection screen.
After you have chosen Execute, a Job Overview screen (see figure above) appears that is implemented in SAP List Viewer (ALV). By choosing Settings from the menu, (among other things) you can determine the columns that are displayed, and the sorting. You can set this layout as the standard layout (for the current user or for all users).
Hint
The transaction SM37
offers the following two ALV-based display types:
A batch administrator can use the program BTC_SWITCH_LIST_GRID to define the display type for individual users or all users.
You can navigate from the Job Overview shown in the figure to other job-specific views:
The Spool List contains the output lists for ABAP programs (if any).
The Job Details contain, among other information, the job definition, duration of the processing of the job, and the start time of the job.
The Job Log stores all messages output by a background program. You can display this log to obtain information about a program that terminated with errors or to perform a detailed investigation about a background processing run.
Note
For SAP systems belonging to SAP Business Suite, job logs are stored in the file system (as subdirectories of DIR_GLOBAL). For SAP S/4HANA Server systems, the job log is now no longer written to a file, but instead to a database table through a service connection. This ensures that a job log is rollback proof. You can switch off this new behaviour by maintaining an entry in table BTCOPTIONS. For details, see SAP Note 2360818 – Job log in the database and its attachments.
Outlook: Job Monitoring in SAP Solution Manager and SAP Cloud ALM
Both SAP Solution Manager and SAP Cloud ALM offer job monitoring as well:
Job Management in SAP Solution Manager is a process that supports management of solution-wide background operations that automate your business processes. It allows you to request, document, analyze, and schedule background jobs in your system environment from a central location, with a standardized workflow.
As a prerequisite, your system landscape and the Job Management scenario must be configured in the SAP Solution Manager Configuration.
Job & Automation Monitoring in SAP Cloud ALM ensures business operations without disruptions and increases the business process execution quality and performance:
- by monitoring job executions health and detection of anomalies during job execution
- by directly alerting both business and IT users on disruptions and exceptions
- by providing details at job execution level to enable fact based root cause analysis
- by reducing configuration effort by making use of historical execution information.
For more information, see SAP Support Portal (https://support.sap.com), area ALM → SAP Solution Manager and then (in section Overview of ALM Processes) enter section Business Process Operations.
For SAP Cloud ALM, see area ALM → SAP Cloud ALM → Operations and then (in section Core Capabilities) enter section Job & Automation Monitoring.