0% found this document useful (0 votes)
75 views

SAP Background Jobs

This document discusses how to schedule ABAP programs to run as background jobs in SAP. It provides instructions on creating an ABAP program using transaction code SE38, then scheduling that program to run in the background using transaction code SM36. It also mentions some additional transaction codes SM37, SM39, and SM65 that can be used to monitor background job status and perform analysis.

Uploaded by

utagore58
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views

SAP Background Jobs

This document discusses how to schedule ABAP programs to run as background jobs in SAP. It provides instructions on creating an ABAP program using transaction code SE38, then scheduling that program to run in the background using transaction code SM36. It also mentions some additional transaction codes SM37, SM39, and SM65 that can be used to monitor background job status and perform analysis.

Uploaded by

utagore58
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

SAP Background Jobs

Trainer email ID – Vjtelkar@gmail.com

We can schedule ABAP programs, tasks, commands to be executed in the background. SAP uses
background work processors to execute these tasks.

Tcode: SM36 is used to schedule the background job.

Before scheduling BG job, let us create a ABAP program and schedule to execute in the BG.

Go to Tcode: SE38 – ABAP Editor

Specify the program name and click on “Create” button

Specify the title, type, status and application of the program as in the below screen
Trainer email ID – Vjtelkar@gmail.com

Click on the “Local Object” and see the below screen and click on Save

In the ABAP editor, start the program coding.


Trainer email ID – Vjtelkar@gmail.com

In the below example – write command is for printing the text

CTRL + S ---- For saving the program

CTRL + F2 ----- Syntax checking

CTRL + F3 ----- For program activation

F8 – to see the program output

Scheduling the Program in the Background:

Go to T-code: SM36 and click on “Job Wizard” – for creating a new batch job
Batch job creation:

Specify the batch job name, Priority, target server name as below:
Select the – ABAP program step

Specify the ABAP program name:


Schedule the program time for execution:
SM37 / SM39 – Use to monitor the scheduled job status – like finished job status, Cancelled job status
etc…

SM65 – Analysis tool for Background processing

You might also like