cancel
Showing results for 
Search instead for 
Did you mean: 

Sending report by E-Mail

Former Member
0 Kudos

Hi,

I need to send the report to the user by mail either in WAD (Web APplication Designer) or in Portal 5.0 . I could able to download the report into excel by using export command in WAD (Web APplication Designer). But, I don't have any clue where to start for sending the same report to the user by e-mail.

I am sure some one might have had the same requirement and I appreciate if you can share the ideas or can pass on the already implemented code.

I read documentation about "sending e-mails from BSP application" on service.sap.com and I even went through the same topic in this forum but I don't have luck so far.

This is the information I've got so far.

Find the example BSP application, BSPTUTORIALMAIL and the application class, CL_BSP_TUT_MAIL, which the tutorial is based on, in the SAP system in package SBSP_DOCU.

SAP Notes : 455140, 546147

appreciate your help.

thanks in advance

Hari

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

If these reports are generated in SAP then why not send direct from there - there are verious office FMs for doing that.

Or are you displaying a list of reports and then asking which to send? Where is the report output stored?

Former Member
0 Kudos

Hi,

User looks at the reports from the Portal and they might decide to send the report by E-mail after making some navigation steps in a query / report. So, I need to provide a link for them in the WAD / portal so that when they click that link, the report be E-mailed to them. So, I need to implement E-mailing the reports only in WAD or Portal.

just to give an idea..this is how I downloaded reports into csv format in WAD / Portal.

<a href="<SAP_BW_URL CMD='export' value='csv'>"> Download to EXCEL </a>

Appreciate if you have any other ideas.

thanks

Hari