<?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: Control Excel options from SAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-excel-options-from-sap/m-p/8551503#M1658239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to pass the date with the following format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;write sy-datum to lv_datum DD/MM/YYYY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(change the format DD/MM/YYYY according to your regional settings)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it doesnt work then try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;concatentate '#' lv_datum '#' into lv_value.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Excel some date values must be specified with # around... but I'm not sure if it is the case for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Feb 2012 10:32:43 GMT</pubDate>
    <dc:creator>franois_henrotte</dc:creator>
    <dc:date>2012-02-02T10:32:43Z</dc:date>
    <item>
      <title>Control Excel options from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-excel-options-from-sap/m-p/8551502#M1658238</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;&lt;/P&gt;&lt;P&gt;In excel I want to add the expiry date from ABAP code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am generating the excel and at the time of generation I want it to restrict to some people which I am able to do&lt;/P&gt;&lt;P&gt;using function ADD of excel--&amp;gt; permission&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the F1 of function ADD it is mentioned that we can pass 3 variables&lt;/P&gt;&lt;P&gt;--&amp;gt; Email&lt;/P&gt;&lt;P&gt;--&amp;gt; permission type&lt;/P&gt;&lt;P&gt;--&amp;gt; expiration date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried various format of date but this is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i call the bewlo mentioned code, I am able to add the user restriction &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD OF w_permission 'Add' = w_usrperm&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;    #1 = email&lt;/P&gt;&lt;P&gt;    #2 = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i try to use the 3rd parameter, it fails and doesn't even add the user restriction.&lt;/P&gt;&lt;P&gt;  CALL METHOD OF w_permission 'Add' = w_usrperm&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;    #1 = email&lt;/P&gt;&lt;P&gt;    #2 = 1&lt;/P&gt;&lt;P&gt;    #3 = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yadesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 08:39:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-excel-options-from-sap/m-p/8551502#M1658238</guid>
      <dc:creator>former_member261876</dc:creator>
      <dc:date>2012-02-01T08:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Control Excel options from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-excel-options-from-sap/m-p/8551503#M1658239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to pass the date with the following format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;write sy-datum to lv_datum DD/MM/YYYY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(change the format DD/MM/YYYY according to your regional settings)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it doesnt work then try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;concatentate '#' lv_datum '#' into lv_value.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Excel some date values must be specified with # around... but I'm not sure if it is the case for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 10:32:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-excel-options-from-sap/m-p/8551503#M1658239</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2012-02-02T10:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Control Excel options from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-excel-options-from-sap/m-p/8551504#M1658240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have already tried this, but this haven't solved the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 10:44:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-excel-options-from-sap/m-p/8551504#M1658240</guid>
      <dc:creator>former_member261876</dc:creator>
      <dc:date>2012-02-02T10:44:39Z</dc:date>
    </item>
  </channel>
</rss>

