Skip to Content
author's profile photo
Former Member

Sending report by E-Mail


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 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


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Apr 05, 2004 at 05:05 PM

    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?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member


      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.