Background processing
Background processing is the mechanism by which SAP runs work without an interactive user, on background work processes, driving batch jobs, interfaces and long-running programs. It is fundamental to how enterprises run periodic and high-volume workloads.
Administrators monitor background processing (SM37, SM50/SM66) to ensure jobs run on time and background work processes are not saturated, since delayed batch work directly impacts the business.
- Interactive (dialog) work processes are meant for short, responsive steps and are time-limited.
- The number of background work processes limits how much batch work can run at once.
- Scheduled jobs (via SM36/SM37) run programs at set times or on events.
- Watch out: Too few background work processes, jobs run late.
Why background processing exists
Interactive (dialog) work processes are meant for short, responsive steps and are time-limited. Long or scheduled work, month-end runs, mass updates, data loads, must run in the background, where it can run for a long time on dedicated background work processes without tying up a user or hitting dialog time limits.
How it is used
- Scheduled jobs (via SM36/SM37) run programs at set times or on events.
- Long reports are executed in the background rather than online.
- Interfaces and mass data operations run as background work.
Managing background capacity
The number of background work processes limits how much batch work can run at once. Too few and critical jobs queue and finish late; the mix of dialog vs background processes must match the workload, a key tuning decision. Job classes (A/B/C) prioritise important jobs.
Monitoring
Administrators monitor background processing (SM37, SM50/SM66) to ensure jobs run on time and background work processes are not saturated, since delayed batch work directly impacts the business.
Common pitfalls
- Too few background work processes, jobs run late.
- Running huge reports online instead of in background.
- No job prioritisation, low-priority jobs blocking critical ones.