Sap solution manager application monitoring
Job Monitoring in SAP Solution Manager belongs to important central monitoring tasks and can ensure that background jobs and job chains are running as expected.
SAP Solution Manager provides a complete, centralized job monitoring concept based on the End-to-End Monitoring and Alerting Infrastructure (MAI). You can monitor the following types of jobs in a distributed system landscape:
- ABAP jobs
- SAP BW process chains
- SAP BusinessObjects (SBOP) jobs
- SAP Data Services (DS) jobs
- SMSE jobs: It allows you to monitor any type of externally scheduled jobs. This is available for SAP BPA by Redwood.
- Custom jobs: It allows you to monitor any kind of job for which you have APIs that deliver job runtime information (“JobListGet”), i.e. you can use the SAP Solution Manager job monitoring configuration and consumption UIs by implementing a couple of enhancement.S/4HANA cloud edition Application Jobs, for e.g. in the context of SAP Integrated Business Planning (SAP IBP)
Data from backend systems (SAP ERP) is collected by a job monitoring data collector. This collector continually looks for changes of all background jobs since the last data collection and stores this information in database tables.
The configuration of a monitoring object (identification criteria, schedule, and metric configuration) is stored in the data collector as well. This information is written to the data collector when the monitoring object is activated.
Job Monitoring data can be viewed by the Job Monitoring and Reporting Application.
Resulting alerts can be processed within the MAI Alert framework, they are accessible via Alert Inbox.
These applications are integrated into Job Management Fiori Launchpad of SAP Solution Manager 7.2.
In case the external scheduler SAP BPA by Redwood is used, it is possible to monitor process chains in SAP Solution manager using the application ‘Central job Overview', also available in Job Management Launchpad.
Scope
At the minimum, top business critical jobs and job chains (please note that in SAP BPA job chains are named as process chains) should be monitored and an immediate resolution needs to be found in case of a problem.
To identify whether the most important jobs and job chains run as scheduled, with good performance and finish successfully, different metrics are available:
- Time metrics: not-started-on-time, start delay, end time, duration, out of time window
- Range metrics: records processed, data packages processed, rows read
- Job log messages
- Job log content
- Others: Parallel processing and Job active
Benefits
Following are the highlights of capabilities offered by Job monitoring:
- Capability to monitor specific jobs (ABAP jobs, SAP BW process chains and single process chain steps, SAP BusinessObjects (SBOP) jobs, SAP Data Services (DS) jobs, SMSE jobs, Custom jobs) and its correlation to job / job chain specific metrics
- Integration of job / job chain specific alerts in Alert Inbox including Notification Management, Incident Management, Task Assignment and forwarding to 3rd party
- Central overview for all jobs / job chains involved in a SAP based solution
Setup
On https://wiki.scn.sap.com/wiki/display/SM/Job+Management a detailed guide called Configuring Job Monitoring in SAP Solution Manager 7.2 is available. Below we describe the basic principle on how to configure job monitoring using a guided procedure. Please note, that the setup can be done from three entry points:
- SAP Solution Manager Configuration, Job Monitoring scenario
- Solution Documentation for configuring Business Process Monitoring
- Job Documentation (Systems tab page)
Prerequisites
- The administrator has performed the managed system configuration and the system monitoring configuration in SAP Solution Manager Configuration.
- SAP BW process chain monitoring requires SAP NetWeaver BW 7.0 or higher on the managed systems.
- SAP Data Services jobs monitoring requires SAP Data Services 4.2 or higher on the managed systems.
- To add jobs from an external scheduler, the communication between SAP Solution Manager and the external scheduler must be configured. The required activities are given in the Job Management scenario of SAP Solution Manager Configuration, in the step Integrate with SMSE.
- The SMSE jobs configuration allows you to monitor any type of externally scheduled job, using data pulled directly from the external scheduler. This type of monitoring requires a secondary database connection in addition to the standard SMSE integration. Please refer to a specific Configuration Guide.
Procedure
Setting Up Job Monitoring via Technical Monitoring
To configure job monitoring for a technical scenario, follow the guided procedure in SAP Solution Manager Configuration under Application Operations > Job Monitoring.
Before you can add jobs, you must define the scope by creating a technical scenario or selecting an existing technical scenario. The technical scenario groups technical systems for technical monitoring purposes.
Setting Up Job Monitoring via Business Process Monitoring
You can configure job monitoring for a business process step.
- Open the Solution Documentation from the SAP Solution Manager Launchpad, using transaction SLAN, or by launching the Business Process Monitoring setup.
- Select your solution and open the production branch for setting up business process monitoring.
- Navigate to the business process, business process step or interface in the Business Processes folder.
- Make sure that you have selected the correct system role, for example, Production System, in the upper right corner.
- In the elements area, right click and select New > Operations > Alerting
- To create a new monitoring object, make sure that Background Jobs is selected, and select your job type from the catalog. Then choose Create.
Note that you may also reuse an existing monitoring object. Select the option Reuse existing Monitoring Object instead of Create New.
- Follow the instructions in the guided procedure.
Setting Up Job Monitoring via Job Documentation
You can configure job monitoring from existing job documentation.
- Open the job documentation and choose the Systems tab page.
- Assign the relevant solution and business process or technical scenario. If no business process or technical scenario is assigned, you can simply assign the logical component that contains the system in which your job is running.
- Select the row for the context you added.
- A list of technical systems is displayed in the table below.
- Select the system client on which the job is running.
Note: If your job is monitored in the context of a business process step, you must select the system with the leading role
- Choose Configure Monitoring and follow the guided procedure.
- Save the job documentation.