Users often ask me to run a report on a schedule and email them the results automatically.
Here’s how to do it with SAP distribution lists. There are other ways, but this one is simple and straightforward.
In this example I schedule report MB5S (List of GR/IR Balances) to run periodically and send the results to the email addresses I choose. The same steps work for nearly any report.

Create the distribution list
- Go to SO23 and click Create.

- Click Folder, then the search help (match code).

- Click Create Folder.

- Enter the folder name and description, and complete the other fields on this screen.

- Click Continue on the screen above and the one below.

- Enter the distribution list name and description, and select the folder (the names don’t need to match).

- Click the Distr. list content view.
- Enter all the email recipients:

- Click Save. This isn’t transportable, so create it directly in the target client (production, for example).
Create the job
- Go to MB5S (or any report whose results you want to email).
- Enter the selection criteria.

- Create a variant.

- Select your variant.
- Go to Program > Execute in Background.

- Click Continue.

- Click Date/Time.
- Select a start date and time.
- Select the Periodic job checkbox and click Period Values.

- Choose how often the job runs (which is also how often the user gets the email).

- Once you’ve chosen the period, click Save, then Save again.
Assign the distribution list to the job
- Go to SM37 and find your job.

- Select the job and go to Job > Change.

- Click Spool List Recipient.
- Click Recipient, look for distribution lists, pick the one you created, press Enter and click Copy.

- The job runs at the date and time you chose. When it finishes, everyone in the distribution list gets the results, like this:


That’s it. Easy, and it works with any report that can run in the background.


Leave a Reply