Want to learn ABAP for FREE with direct access to community of students and ABAP experts?

Sign up now!

How to Run ABAP Program in Background Manually?

Sometimes your program may contain logic that must run long time. In such case, you can’t easily run it by pressing ‘Execute’ program, because SAP has defined maximum number of seconds that is able to run any programs this way (it’s called foreground processing).

In such case, you must execute the program differently. You have to run it in background.

How to run ABAP program in background?

Well, there are more ways of starting program in background.

When to use this approach?

  • you want to manually start to run your program in background
  • the program does not contain selection screen

Notice: 

If you run your program with selection screen, follow this steplist: http://abapacademy.com/blog/how-to-run-abap-program-in-background-manually-easy-way/.

Step-by-step Guide

Background Process Definition – SE36

Go to SE36 to define new Background Process / Job

Define following:

  • Job name (e.g. name of your program)
  • Job Class – this is priority of the job.
    • A – High
    • B – Medium
    • C – Low
  • Target – just hit F4 for search help and choose your current server, where you are logged in or choose different server if needed

Hit Save button or press CRTL+S.

Fill all needed fields for scheduling ABAP program as shown below and hit Save button.

In this stage, your job is saved and scheduled.

Background Process Maintenance – SE37

 

Comments

Add comment

Your email address will not be published. Required fields are marked *