Eursap’s Tip of the Week: Running an SAP report in background or setting a report to run at a given time

Eursap’s Tip of the Week: Running an SAP report in background

Reports in SAP (depending upon their design and their selection criteria) can take a long time to run. Additionally, it is sometimes beneficial to set a report to run at a given time.

This is simple to achieve by running the report in the background.

To run a report in background, simply open the transaction first (or the report name via SA38, SE38 or SE80). For this example, I am using transaction V_V3, or report SDV03V02.

Once you have entered all your selection criteria, select Program>Execute in Background from the menu path, as below.

You will now be faced with the following pop-up screen:

Add the output device you want the results spooled to and select the print time. The options for print time are:

X = Immediately – all the results will be printed immediately to your designated device

A = Date and time – you will be prompted for the date and time on which you want the results printed

[blank] = SAP spool only for now – do not print but store the results in your personal spool file for retrieval later

I have selected “SAP spool only for now” as I want to view the results but not print them.

You are then presented with the following screen:

This allows you to select when the report should run. If you select “Immediate”, then the job will run as soon as you click “save”.

“Date/Time” allows you to select a specific date and time to run the job.

“After job” allows the job to run as soon as another job has finished.

“After event” allows the job to run once triggered by a specific event.

“Operation mode” makes use of the dialog vs background resourcing set by your basis team (i.e. background jobs run during the night, dialog during the day).

Clicking on the right arrow at the top right of the screen will give you more options around running the job using certain factory calendars and workdays.

Selecting the “Periodic job” option will allow you to specify regular timings to run the job regularly using the “Period Values” button.

The “Restrictions” button will allow you to restrict when the job is run by certain calendars.

Once you have selected your run parameters, click save and you will see the following message:

This means your job has now been submitted to run at the given time.

If a spool is created for this report, then this can be viewed at “System>Own Spool Requests” from the menu path, as below:

Details of the job can also be seen by viewing transaction SM37.

I hope you find this useful! Stay tuned for another SAP Tip from Eursap next week.

Be sure to also check out Eursap’s SAP Blog for more in depth articles.

Author: Jon Simmonds, Senior IT Architect

Looking for SAP work?

Need to hire SAP Consultants?

Get in touch with Eursap – Europe’s Specialist SAP Recruitment Agency