<?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 Email attachment functionality in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-attachment-functionality/m-p/9560068#M1754078</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Existing Functionality: &lt;/STRONG&gt;When output type ZD00 is issued then custom smart form is called and a PDF invoice is generated in runtime and sent as an attachment via email to customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;STRONG style="text-decoration: underline;"&gt;Requirement:&lt;/STRONG&gt; Go to VF02àServices for objectàCreate AttachmentàSelect Any PDF document from desktop and attach it.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Now when output type ZD00 is issued then existing functionality will automatically attach the invoice PDF but here before sending mail with invoice PDF as attachment we have to send above mentioned manual attachment along with invoice PDF. Means now our email should contain two below attachments before being sent:&lt;/P&gt;&lt;P style="text-indent: -0.25in;"&gt;&lt;STRONG&gt;&lt;SPAN class="pasted-list-info"&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/STRONG&gt;Automatically Triggered invoice PDF based on smart form and &lt;STRONG&gt;2)&lt;/STRONG&gt;&amp;nbsp; Manually attached PDF from desktop (For our case:&amp;nbsp; PDF document present in business shared area ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Challenges: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-indent: -0.25in;"&gt;&lt;SPAN class="pasted-list-info"&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;How to send this manually attached document in VF02 via email to customer so that email contains both invoice PDF and manually attached PDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone came across such scenario then please share your expertise of feasibility in this requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jun 2013 06:58:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-06-05T06:58:45Z</dc:date>
    <item>
      <title>Email attachment functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-attachment-functionality/m-p/9560068#M1754078</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Existing Functionality: &lt;/STRONG&gt;When output type ZD00 is issued then custom smart form is called and a PDF invoice is generated in runtime and sent as an attachment via email to customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;STRONG style="text-decoration: underline;"&gt;Requirement:&lt;/STRONG&gt; Go to VF02àServices for objectàCreate AttachmentàSelect Any PDF document from desktop and attach it.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Now when output type ZD00 is issued then existing functionality will automatically attach the invoice PDF but here before sending mail with invoice PDF as attachment we have to send above mentioned manual attachment along with invoice PDF. Means now our email should contain two below attachments before being sent:&lt;/P&gt;&lt;P style="text-indent: -0.25in;"&gt;&lt;STRONG&gt;&lt;SPAN class="pasted-list-info"&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/STRONG&gt;Automatically Triggered invoice PDF based on smart form and &lt;STRONG&gt;2)&lt;/STRONG&gt;&amp;nbsp; Manually attached PDF from desktop (For our case:&amp;nbsp; PDF document present in business shared area ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Challenges: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-indent: -0.25in;"&gt;&lt;SPAN class="pasted-list-info"&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;How to send this manually attached document in VF02 via email to customer so that email contains both invoice PDF and manually attached PDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone came across such scenario then please share your expertise of feasibility in this requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 06:58:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-attachment-functionality/m-p/9560068#M1754078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-05T06:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Email attachment functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-attachment-functionality/m-p/9560069#M1754079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First You need to Check whether you can enhance your Driver program for the Output Type ZD00.&lt;/P&gt;&lt;P&gt;If Yes, Then Write the Logic of Fetching the Invoice PDF from your Desktop Folder. Example is shown in the below mentioned link. &lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Send+Emails+with+Attachments+of+any+Format"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Send+Emails+with+Attachments+of+any+Format&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pre-requisite is you need to keep the PDFs in a Single Folder. If not you need to write the code dynamically from the above example.&lt;/P&gt;&lt;P&gt;Now when you issue the Output in the VF02 transaction, then the existing Driver program for Invoice gots created and simultaneously your logic for Fetching the PDF file from Desktop gots Created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 08:00:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-attachment-functionality/m-p/9560069#M1754079</guid>
      <dc:creator>Venkat_Sesha</dc:creator>
      <dc:date>2013-06-05T08:00:46Z</dc:date>
    </item>
  </channel>
</rss>

