Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 3 of 6

Job and automation monitoring

9 min

Listen to this lesson

0:00 / 6:20

Batch jobs run the parts of the business nobody watches: overnight MRP, output processing, IDoc posting, billing, payment runs, period-end steps. When a job fails silently, the business finds out the next morning from a customer. Job & Automation Monitoring gives the run team one view of job executions across ABAP systems and cloud schedulers, with events when a job fails, ends with errors, runs too long or starts too late.

Sources and prerequisites

SourceExamplesPrerequisite highlights
ABAP systemsSAP S/4HANA (Public and Private Edition), Business Suite 7, BW/4HANA, IBPST-PI 740 with SP16-20 and Note 3102288, or SP21+ and Note 3281776, or SP26+ and Note 3563104
SAP BTP schedulersSAP Job Scheduling service for Cloud Foundry or Kyma appsData push configured in the service
Automation servicesSAP Build Process Automation, SAP Intelligent Robotic Process AutomationData push configured in the service
Data servicesSAP Datasphere tasks and task chainsData push configured in the service

Supported sources and prerequisites from SAP's setup page; check the current list for your release.

For ABAP jobs, the application log is often where the real result lives: a job can end green while the program wrote errors to SLG1. SAP's setup page describes linking application logs to job executions with transaction CRIT and the profile for auto-linking application log handles for jobs, with "Collect Job Monitoring" flagged. Do this; otherwise the monitor can only report technical success.

Two statuses, four event types

Status or eventMeaningContoso use
Execution statusTechnical outcome: red if aborted, yellow if finished with warnings in the job logEvery critical job
Application statusBusiness outcome from the application log: red for errors, yellow for warnings, grey without logBilling, IDoc posting, payment run
Critical Runtime eventRun time above your thresholdMRP run for plant 1710
Critical Delay eventStart delayed beyond your thresholdOutput and IDoc jobs before the warehouse shift

Statuses and events in Job & Automation Monitoring.

Illustrative course data: the critical nightly jobs whose runtime and delay thresholds Sam configured.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-304
QuestionSM37 in each systemJob & Automation Monitoring
ScopeOne ABAP system and clientABAP systems plus cloud schedulers and automation services
Business resultOpen the application log by handApplication status rated from linked logs
Timing problemsCompare start and end times by eyeCritical runtime and delay events with thresholds
Who is toldWhoever looksAlert, email, ticket or operation flow to a named owner
HistoryJob log retention per systemHourly aggregates up to 750 days
Why run teams move from checking SM37 to a central job monitor.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-304

Good job monitoring depends on job hygiene. Contoso's rules: every critical job has a name with a Z_CMC_ prefix and its process (for example Z_CMC_BILLING_1710), runs under a technical batch user, writes an application log, and has a named business owner in the critical batch list. Jobs that change names every run, such as those generated by some applications, are grouped automatically; SAP's monitor lets you rename such groups so they stay recognizable.

Configuring events

  1. Open the configuration of Job & Automation Monitoring for the service (CMP) and confirm data collection is on.
  2. Create an event for critical execution status with a filter on job names, for example names starting with Z_CMC_BILLING.
  3. Create an event for critical application status on the same jobs; decide whether yellow should alert.
  4. Create critical runtime and delay events for the MRP and output jobs, using the baselines measured in CMR.
  5. Enable "Create Alert" and "Send Email To" with recipients from Notification Management; set the raise action to "at every occurrence" for jobs where each failure matters.
  6. Check housekeeping: single executions default to 2 days (1 to 7), hourly aggregates to 365 days (30 to 750), with at least the last 15 executions per job retained.

Two details catch teams out. Event filters combine values of the same parameter with OR and different parameters with AND, so a filter on job name "contains BILLING" and user "BATCH_SD" means both must match. And SAP notes that events are not raised for services in maintenance or disruption state in Business Service Management, which is useful during a release weekend and dangerous if someone forgets to end the maintenance window.

A job raises an event on technical failure, application errors, or runtime and delay breaches, unless its service is in maintenance.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-304

What would you do?

Every morning the billing job in CMP finishes green, but twice this month Maria found invoices missing for Great Lakes Fleet Services. The job's application log shows errors for those orders. What should Sam configure?

Key points
  • Job & Automation Monitoring covers ABAP jobs and cloud schedulers and automation services.
  • Execution status shows technical success; application status, via CRIT linking, shows business success.
  • Use critical runtime and delay events with thresholds measured in pre-production.
  • Events are suppressed for services in maintenance or disruption state; end maintenance windows on time.

Check your understanding · not graded

Lesson check

  1. 1. What does application status reflect for an ABAP job?

  2. 2. Which transaction links application logs to job executions?

  3. 3. Why might no alert fire for a failed job during a release?

  4. 4. Where should runtime thresholds come from?