This blog will explain SAP Focused Run capabilities for batch job monitoring. The first part of the blog explains the functional capabilities. The second part covers the technical setup of batch job monitoring.
Batch job monitoring
Batch job monitoring in SAP Focused Run is part of Job and Automation monitoring:
After opening the start screen and selecting the scope you get the total overview:
Click on the top round red errors to zoom in to the details (you can’t drill down on the cards below):
Click on the job to zoom in:
Click on the system monitoring button:
On the screen, zoom out on the overview by clicking the blue Systems text top left:
Now you get the overview per system:
Batch job analysis
Batch job analysis is a powerful function. Select it in the menu:
Result screen shows 1 week data by default:
The default sorting is on total run time.
- Total run time: find the jobs that run long in your system in total. These most likely will also be the ones that cause high load, or business is waiting long for to finish to give results.
- Average run time: find the jobs that take on average long time to run. By optimizing the code or batch job variant, the run time can be improved.
- Failure rate: find the jobs that fail with a high %. Get the issues known and then address them.
- Total executions: some jobs might simply be planned too frequently. Reduce the run frequency.
By clicking on the job trend icon at the end of the line you jump to the trend function.
Job trend function
From the analysis screen or by selecting the Trend graph button you reach the job trend function:
Select the job and it will show the trend for last week:
You can see if execution went fine, or not, and bottom right see average time the job took to complete.
Technical setup of job monitoring
For batch job monitoring settings, open the configuration and start with the global settings:
Here you can see the data volume used and set the retention time for how long aggregated data is kept.
You can also set generic rating rules:
Activation per system
In the activation per system select the system and it will open the details:
First switch on the generic activation for each system
Activation for specific jobs to be monitored
Now you can start creating a job group. First select left Job groups, then the Plus button top right:
Add a job by clicking the plus button and search for the job:
Press Save to add the job to the monitoring.
You can group jobs per logical block. For example you can group all basis jobs, all Finance jobs, etc. Or you can group jobs per system. Choice is up to you. Please read first the part on alerting. This might make you reconsider the grouping logic.
Adding alerting to job monitor
The jobs added to the group are monitored. But alerting is a separate action.
Go to the Alerting part of the job group. And an alert. First select the Alert type (critical status, delay, runtime, missing a job). Assign a notification variant (who will get the alert mail), and decide on alert grouping or atomic alerts.
If you do not specify a filter it will apply for the complete group. You can also apply a filter here to select a sub group of the job group.
Based on the alerting you might want to reconsider the grouping.
Relevant OSS notes
- 3386045 – Focused Run – No Exception data Available displayed on the Exceptions tab in Job & Automation Monitoring
<< This blog was originally posted on SAP Focused Run Guru by Frank Umans. Repost done with permission. >>