<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Send an e-mail with attachment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185041#M758378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.First download ur result into a file in required format specify  the file type.&lt;/P&gt;&lt;P&gt;2.Then use FM 'Z_SAP_MAIL_TO_SMTP_ATTACHEMENT'&lt;/P&gt;&lt;P&gt;to send the OP of  Report as an attachment of e-mail,&lt;/P&gt;&lt;P&gt;Specify The DLI name(Distribution List).&lt;/P&gt;&lt;P&gt;i_filewithpath         = Downloaded file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Dec 2007 07:50:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-26T07:50:47Z</dc:date>
    <item>
      <title>Send an e-mail with attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185038#M758375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts&lt;/P&gt;&lt;P&gt;I have created one ALV report.&lt;/P&gt;&lt;P&gt;Now, my requirement is that &lt;/P&gt;&lt;P&gt;1.	While selecting one checkbox (Send e-mail), I want to send e-mail while running this report in background.&lt;/P&gt;&lt;P&gt;2.	Report should be Excel or text as an attachment of e-mail&lt;/P&gt;&lt;P&gt;Can we do that?&lt;/P&gt;&lt;P&gt;Points will be awarder immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;n.master&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 07:18:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185038#M758375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T07:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Send an e-mail with attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185039#M758376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  the following threads will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/thread/98781 &lt;B&gt;[original link is broken]&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="392122"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="406592"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 07:29:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185039#M758376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T07:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Send an e-mail with attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185040#M758377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can do so using the function module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'SO_NEW_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;siva chalasani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 07:30:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185040#M758377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T07:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Send an e-mail with attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185041#M758378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.First download ur result into a file in required format specify  the file type.&lt;/P&gt;&lt;P&gt;2.Then use FM 'Z_SAP_MAIL_TO_SMTP_ATTACHEMENT'&lt;/P&gt;&lt;P&gt;to send the OP of  Report as an attachment of e-mail,&lt;/P&gt;&lt;P&gt;Specify The DLI name(Distribution List).&lt;/P&gt;&lt;P&gt;i_filewithpath         = Downloaded file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 07:50:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185041#M758378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T07:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Send an e-mail with attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185042#M758379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create spool in background using Print On and print Off statements.&lt;/P&gt;&lt;P&gt;In same program&lt;/P&gt;&lt;P&gt;Use FM&lt;/P&gt;&lt;P&gt;CONVERT_ABAPSPOOLJOB_2_PDF&lt;/P&gt;&lt;P&gt;to convert spool to PDF file or use FM RSPO_SPOOLDATA_TO_TEXT to convert spool to text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For sending an email, it will depend on your system how it has been configured to send outbound emails. &lt;/P&gt;&lt;P&gt;example : Few systems has UNIX script running at regular time interval which will check all files in specific format on Application server and send it externally. This requires you to write files on application server in specific format. (Need to make entry in table T9AOEMAIL)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 10:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185042#M758379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T10:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Send an e-mail with attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185043#M758380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have solved this question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 07:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185043#M758380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T07:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Send an e-mail with attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185044#M758381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dear,&lt;/P&gt;&lt;P&gt;           In u r report program call "ZSND_AGN_EMAIL"&lt;/P&gt;&lt;P&gt;           this function module directly. It will take careof&lt;/P&gt;&lt;P&gt;           sending the email.&lt;/P&gt;&lt;P&gt;           If it is appropriate reward me the points.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 10:41:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185044#M758381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T10:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Send an e-mail with attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185045#M758382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2008 14:29:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-an-e-mail-with-attachment/m-p/3185045#M758382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-12T14:29:36Z</dc:date>
    </item>
  </channel>
</rss>

