<?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 Excel attachment in a mail for background program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-a-mail-for-background-program/m-p/6593566#M1436204</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;I have a program which is scheduled to execute in background every day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program output is printed to the screen. Simultaneously, I want to send an excel file as an attachment through email. &lt;/P&gt;&lt;P&gt;This excel file would be having the same data which is printed on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked for other threads  in SDN for sending excel file as attachment, but did not find anything relavant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has any idea, please let me know....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance - S M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2010 05:47:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-03T05:47:28Z</dc:date>
    <item>
      <title>Excel attachment in a mail for background program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-a-mail-for-background-program/m-p/6593566#M1436204</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;I have a program which is scheduled to execute in background every day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program output is printed to the screen. Simultaneously, I want to send an excel file as an attachment through email. &lt;/P&gt;&lt;P&gt;This excel file would be having the same data which is printed on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked for other threads  in SDN for sending excel file as attachment, but did not find anything relavant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has any idea, please let me know....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance - S M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 05:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-a-mail-for-background-program/m-p/6593566#M1436204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T05:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Excel attachment in a mail for background program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-a-mail-for-background-program/m-p/6593567#M1436205</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;Use the Function module &lt;STRONG&gt;SO_DOCUMENT_SEND_API1&lt;/STRONG&gt; after the displaying the data on the screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 06:02:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-a-mail-for-background-program/m-p/6593567#M1436205</guid>
      <dc:creator>nirajgadre</dc:creator>
      <dc:date>2010-02-03T06:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Excel attachment in a mail for background program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-a-mail-for-background-program/m-p/6593568#M1436206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see this [link|http://wiki.sdn.sap.com/wiki/display/Snippets/Multiple&lt;EM&gt;Attachments&lt;/EM&gt;Explanation]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 03:54:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-a-mail-for-background-program/m-p/6593568#M1436206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-22T03:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Excel attachment in a mail for background program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-a-mail-for-background-program/m-p/6593569#M1436207</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;Use this FM  &lt;STRONG&gt;SO_DOCUMENT_SEND_API1&lt;/STRONG&gt;.&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;GJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 04:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-a-mail-for-background-program/m-p/6593569#M1436207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-22T04:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Excel attachment in a mail for background program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-a-mail-for-background-program/m-p/6593570#M1436208</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;You can use the cl_bcs class to send email with attachments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to the below article of mine which has the code snippet on how to send an excel file as an attachement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://divulgesap.com/blog.php?p=ODI=" target="test_blank"&gt;http://divulgesap.com/blog.php?p=ODI=&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravikiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 04:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-a-mail-for-background-program/m-p/6593570#M1436208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-22T04:08:37Z</dc:date>
    </item>
  </channel>
</rss>

