You are on page 1of 19

Hi,

This is common requirement getting from client. I want to share this to all. I hope for freshers and users it
is helpful;

Requirement : GR value and qty , IR value and qty and balances can be viewed on
purchasing organization basis using the T Code: MB5S. User requirement is need
results for this report automatically through mail to HOD every day.

Means every day for this report results need to send automatically mail with out executing manually.

The below are steps for achieving this requirement.

Step 1: create Distribution lists in SO23

Click on create button.


Enter name and title
click on f4 functionality in place of folder.

click on create folder


enter folder and name and click on enter

click on enter
click on Distr.list content tab
enter your mail id in place of recipient and Recip. type

Here three boxes is there , purpose of these is


1) Send Express :

If you select this field, this document is sent to the recipient as an express message. A dialog box then
appears informing the user that an express document has been sent, allowing him/her to switch to the
inbox.

2) Send Copy :
If you select this field, the user receives the document as a copy. This means the user receives the
document for his/her information and does not need to take any action.

3) Send : blind copy :


If this field is selected, the recipient receives the document as a blind copy.

Save.

Step 2: Execute Report with your requirement


T-code : MB5S
enter data in selection screen
Save as variant.

save

go to menu > Program>execute in back ground


click on date/time

select schedule start


and click on Period Values

Here you can select period values like hourly ,daily, weekly, monthly , other period means you can select
job start like every minitiues
Here i selected every 5 minutes i need report results .

click on save.

Go to T- code SM37 :

enter Job name : * and execute


After five minutes you refresh the screen
It shows activity finished and it will show spool in the field of spool.

go to menu > JOB ->chnage


click on spool list recipient
click on detail search

and enter and click on copy

click on F4 on recipient
and click on f5

save

You will get mail after five minutes with results of report.
Hope its helpful to all.

Alert Moderator
38 Comments
You must be Logged on to comment or reply to a post.

1. Rohit GangwarJuly 22, 2013 at 5:40 am


Hi Ravindra,
Thanks for sharing this document.
like (0)

1. Ganesh BabuJuly 22, 2013 at 6:49 am


Hi ,
it is very helpful to all consultants and users .
like (0)

2. Sanjeet Kumar YadavJuly 26, 2013 at 8:50 pm


Hi Ravindra,
Thanks a lot for very informative.
Regards
Sanjeet Kumar
like (0)

3. Sireesh KuppireddiJuly 26, 2013 at 8:56 pm


Thanks, I wish there was a way to control the subject of the email.
like (0)

4. Mahboob RahmanJuly 27, 2013 at 2:21 pm


Thank you so much Ravi for sharing. Indeed, very helpful.
With Warmest Regards,
Mahboob Rahman
like (0)

5. Sonali RathJuly 29, 2013 at 10:54 am


Thanks for sharing the knowledge Very useful information
like (0)

6. k jJuly 30, 2013 at 5:35 pm


Thanks,
very informative and easy to understand
like (0)

7. Praveen Kumar GJuly 31, 2013 at 9:10 am


Hi ravi
Thanks for the informative document
like (0)

8. Sathish Kumar BalakrishnanAugust 1, 2013 at 8:13 am


Thanks for sharing Very useful !

Regards
Sathish
like (0)

9. Prashant KumbharAugust 12, 2013 at 11:45 am


Hi Ravi,
Thanks for providing useful information.
Regards,
Prashant
like (0)

10. basavaraj evaniOctober 17, 2013 at 7:34 am


Excellent Posting ..

like (0)

11. NIREESH PHOctober 25, 2013 at 4:53 am


Hi,
Thanks, very useful information
I have tried this for one of our customized (Z-report) report and is not working.
Whether this will work only for standard SAP reports?
Regards
Nireesh
like (0)

1. Ravindra Devarapalli Post authorOctober 25, 2013 at 5:19 am


First check whether back ground job is working for your customized report. If it is working in up to
SM37 then it will work for mail triggering also.
Check in SCOT, for object name INT, mail host and mail port is assigned currectly or not.
like (0)

12. Siva kumar DevanaOctober 25, 2013 at 5:14 am


very good effort.
regards,
siva kumar
like (0)

1. Ravindra Devarapalli Post authorOctober 25, 2013 at 5:20 am


Thank x Siva Kumar.
like (0)

1. SAP FCNovember 5, 2013 at 10:05 am


Good Document. Very well explained with screenshots.
like (0)

13. H. N. ManjunathNovember 5, 2013 at 8:54 am


very good..nice document
like (0)

14. Krishna ChaitanyaNovember 5, 2013 at 9:14 am


Hi Ravindra
Very informative and nicely explained.
Regards,
Krishna Chaitanya
like (0)

1. Ravindra Devarapalli Post authorNovember 5, 2013 at 9:48 am


Thank u ..

like (0)

15. Dr. Sap mmNovember 5, 2013 at 9:47 am


very impressive
like (0)

1. Ravindra Devarapalli Post authorNovember 5, 2013 at 9:49 am


Thank u very much
like (0)
16. Ralph KerschbaumerJanuary 27, 2014 at 7:59 pm
Hi Ravindra,
very good post for consultants to avoid development costs.
If you know is there a way to rename the mail/attachement title?
Regards,
Ralph
like (0)

17. vostok SAPJanuary 28, 2014 at 6:15 am


Very knowledgable.
like (0)

18. PRASOON AKFebruary 15, 2014 at 9:11 am


Hi Ravindra,
Nice document and beautifully presented.
Thanks for sharing.
Regards,
AKPT
like (0)

19. Sudeep AFebruary 17, 2014 at 4:00 am


A useful document. Very good information. Thank you..
Regards,
Sudeep.
like (0)

20. Ashwin Prakash AnumulaMarch 10, 2014 at 11:53 am


Very Useful Document. Thank you
like (0)

21. Rashid ImamAugust 8, 2014 at 11:24 am


Very useful document.
I am setting up same for my client, but unable to send same in excel format, can u please guide
me how to send same in excel format.
Regards
Rashid
like (0)

1. Ravindra Devarapalli Post authorAugust 11, 2014 at 5:30 am


Hi,
As my understanding, We cant send same in excel format. Because excel format is a an option
to download the data from Report. In our document we are generating report as peridoically and
sending same data in to mail.
I hope it is not possible to send same in excel format.
Try with development.See below attachment.
Formatted Excel as Email Attachment Code Gallery SCN Wiki
Regards,
Ravindra
like (0)
22. abhishek sehgalSeptember 8, 2014 at 8:16 pm
Nice One thanks. if you can help me in getting the same in excel format it would greatful
like (0)

23. Abhishek NayakAugust 4, 2015 at 12:55 pm


Excellent article. Thanks for posting. Its very informative and helpfull
like (0)

24. Vikash SharmaAugust 6, 2015 at 7:45 am


Nice One thanks and please tell me how to kill or stop that periodic job??
like (0)

25. Mark Ezekiel TorioAugust 18, 2015 at 8:03 am


Thanks to this article, i know my question was not relate to this page, but ill take my chance on
the last screenshot the report already send to your email, now my question was how did you
group the report? is that layout in SQVI? hoping for your answer or if theres any link let me it
would a great help for me thanks
like (0)

26. Ramachandran VenkatachalamAugust 18, 2015 at 1:35 pm


Very useful.
like (0)

27. Sanjeet Kumar YadavSeptember 1, 2015 at 1:35 pm


Raja,
Can you tell me once the created, how to delete express mail option.
like (0)

28. Aparna HegadeApril 10, 2016 at 6:57 am


Hi,
Very useful document. Thanks for sharing.
Regards,
Aparna
like (0)

29. krishna pMay 18, 2016 at 5:17 am


Nice explanation with screen shots.
like (0)

30. Sudhakar ChagantiMay 18, 2016 at 6:14 am


Its a new topic to me and very useful doc
Thanks
Sudhakar
like (0)

31. Gaurav SolankiMay 20, 2016 at 5:09 am


Hi,
Its a great document and well defined by you.But I am facing a problem that mail is not going at
external mail id while I followed same step as you mentioned.
Thanks
Regards
Gaurav Solanki

You might also like