Tutorial Batch Job
Tutorial Batch Job
Lesson 1
What is batch Job: A batch job is something when we schedule a program (like a Z report or any
standard SAP transaction—like delivery creation /Invoice creation) to run in background, instead of
a user manually running it in the foreground.
A batch job in SAP is a scheduled background program that usually runs on a regular basis without any
user intervention. Batch jobs are provided with more allocated memory than the ones that are done in
the foreground. They are used to process high volumes of data that would normally consume long-term
memory if run in the foreground, as well as for running programs that require less user interaction.
One of the advantages of running large programs as batch job is that more servers can dedicate more
work processes in night mode, when there are few interactive users. The number of batch jobs during
the day could be restricted to fewer servers and numbers as needed.
If a batch job creates an output that is to be printed, faxed or emailed, the output is transferred to the
spool management in the R/3 system
Scenario: There is a standard T-code VL10C—with this T-code we can cerate mass delivery .That means
all the open orders that due for delivery, will be processed if we run this T-code with appropriate variant
.This is how the VL10C screen looks
We want to automate this transaction by scheduling it to run automatically at given time interval .
Step 1
Step 2
T-code SM36
Step 3
Click on “Step”
Step 4
Step 5
Click on “Save”
Step 7
Step 8
You will be in the initial screen and click on the “Start Condition”
Step 10
If you would like to run it only once immediately then click on “Immediate” .Else if we would like to
schedule it as daily run please click on “Date/ Time”
----------------------------------- END-----------------------------------------------------------------------------------------------
Lesson 2
T-Code is SM37
Click on the “spool” to check the spool ( It is not necessary that all the job will be having a spool)
You can see the actual result