<?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 Password Protected Excel File as Mail attachment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-protected-excel-file-as-mail-attachment/m-p/11266994#M1915071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I have a requirement to create a program that sends mails with attachment, the &lt;STRONG&gt;attachment will be a excel file and password protected&lt;/STRONG&gt;. I tried this with OLE, but the problem is that is &lt;STRONG&gt;OLE does not work when the program is scheduled as background job&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Any suggestions as how to get the requirement done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Aug 2015 18:46:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-08-18T18:46:41Z</dc:date>
    <item>
      <title>Password Protected Excel File as Mail attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-protected-excel-file-as-mail-attachment/m-p/11266994#M1915071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I have a requirement to create a program that sends mails with attachment, the &lt;STRONG&gt;attachment will be a excel file and password protected&lt;/STRONG&gt;. I tried this with OLE, but the problem is that is &lt;STRONG&gt;OLE does not work when the program is scheduled as background job&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Any suggestions as how to get the requirement done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 18:46:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-protected-excel-file-as-mail-attachment/m-p/11266994#M1915071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-18T18:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Password Protected Excel File as Mail attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-protected-excel-file-as-mail-attachment/m-p/11266995#M1915072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp; Akashdeep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find several options under this Wiki:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/ABAP/Excel+with+SAP+-+An+overview" title="http://wiki.scn.sap.com/wiki/display/ABAP/Excel+with+SAP+-+An+overview"&gt;Excel with SAP - An overview - ABAP Development - SCN Wiki&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your case, which requires background processing and some features like password protection, I think ABAP2XLSX can be a good option. You can download it from here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/ivanfemia/abap2xlsx/" title="https://github.com/ivanfemia/abap2xlsx/"&gt;ivanfemia/abap2xlsx · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Luis Becker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 18:56:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-protected-excel-file-as-mail-attachment/m-p/11266995#M1915072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-18T18:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Password Protected Excel File as Mail attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-protected-excel-file-as-mail-attachment/m-p/11266996#M1915073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for Your response Luis!&lt;/P&gt;&lt;P&gt;Actually i want a password prompt even while opening the file itself and displaying the contents. Worksheet/Workbook Protection can be achieved by using ABAP2XLSX or XML document classes like: &lt;CODE class="java plain"&gt;if_ixml,&lt;/CODE&gt;&lt;CODE class="java plain"&gt;if_ixml_document&lt;/CODE&gt;, but not password protection for even displaying the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;BR /&gt;Akash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 20:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-protected-excel-file-as-mail-attachment/m-p/11266996#M1915073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-18T20:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Password Protected Excel File as Mail attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-protected-excel-file-as-mail-attachment/m-p/11266997#M1915074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Hello&amp;nbsp; Akashdeep&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;As ABAP2XSLX works with the Excel files in XML structure, I guess it's not possible to protect the file with password, even if you try to enhance the classes. When an Excel file is password protected, it can be open in XML format, according to a test I've done.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;So, I may be wrong, but as you need to generate in background (which makes OLE not possible) , and protect with password, I don't think it's possible to achieve it with ABAP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Luis Becker&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 00:16:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-protected-excel-file-as-mail-attachment/m-p/11266997#M1915074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-19T00:16:25Z</dc:date>
    </item>
  </channel>
</rss>

