background processing
TRANSCRIPT
Why Background Processing?
Reasons for Background ProcessingReducing load on dialog workprocesses
Scheduling regular activities
vs
Mon Tue Wed Thu Fri Sat Sun
Mon Tue Wed Thu Fri Sat Sun
BD
Dispatcher
What is a Background Job?A job consists of one or more stepsA job step is one of the following:
ABAP program (maybe with variants)
external commandexternal program
One job is processed by one background workprocess
Job 1Job 2
Job 3
Step 1
Step n
There are 6 priorities:Class A job with target serverClass A job without target serverClass B job with target serverClass B job without target serverClass C job with target serverClass C job without target server
Prio
rity
high
low
A job can be triggered
by time
by event
12
6789
1011 1
2
34
5
The Job Wizard is an easy way to create a job.
Step-by-step dialog screens guide you through the process.
You can use the navigation buttons go back to previous steps.
On the last screen, you will see what you have defined before you save
Start condition of a job could be one of th1.) immediately - meaning as soon as pos 2.) based on exact date time assignment 3.) after another job 4.) after an event 5.) when a certain operation mode switch
ImmediatelyDate/timeAfter jobAfter eventAt operation mode switchStart on workdayJob not released
Job view
Back Complete Cancel
Congratulations!
You have successfully defined a job. Choose 'Done' to actually create the job in the system.
You can also choose 'Back' to revise the job definition or Cancel' to cancel the whole process.
------------------------------------------------------------------
Here is the job you have defined:
Job name : GULP
Job class : C - LOW PRIORITY
Target server :
Task
flow
Transaction SM36Job Wizard
General jobinformation
Definea step
Definestart conditions
Defining a Job Using the Job Wizard
Time based Event based
Immediateonce or periodicallyif periodic, exceptions
possible
At Date/Timeonce or periodicallyif periodic, exceptions
possible
On chosen workday (per month)once or periodically
rdisp/btctime rdisp/btcname
After eventonce or periodicallywith or without parameter
After jobstatus dependent
At change ofoperation mode
Job 1 Job 2
Day Night
12
6789
1011 1
2
34
5
Start Conditions of a Job
R/3 System
ABAP Program External Command External Program
No selection screen
With selection screen
Variant
+predefined within R/3• Operating system• Command• Parameters
Any command onOperating System
level
External Program External Program
sapxpg
Operating System
sapxpg
Executing Programs as Job Steps
Use Copyto create a new job
Scheduled
Finished Canceled
Released
Ready
Active
Change job
Monitor Job log Spool list (only for ABAPs)
Status of a Job
Dialogprocessing
Background processing12
9
6
3
11 1
7 58 4
210
DAY
NIGHT
12
9
6
3
11 1
7 58 4
210
BTC
Operation Modes: Concept
Job overview andpath to more details
Job
log
… Job details
Selectioncriteria St
atus
Double-clickon line for ...
Spoo
l lis
t
Job Monitoring: Text Form