<?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: error in excel generation using OLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534739#M1935487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am still facing this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you remember how to kill excel instance, for proper file creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again...:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phanindra G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Mar 2016 12:26:04 GMT</pubDate>
    <dc:creator>former_member209807</dc:creator>
    <dc:date>2016-03-17T12:26:04Z</dc:date>
    <item>
      <title>error in excel generation using OLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534731#M1935479</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;i am using ole concept to download excel with multiple tabs(dynamic).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the file is downloaded it is not having no of sheets specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i using below code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;SET &lt;SPAN class="L0S52"&gt;PROPERTY &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;gv_excel &lt;SPAN class="L0S33"&gt;'SheetsInNewWorkbook' &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lv_line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;can anyone help...?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 09:17:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534731#M1935479</guid>
      <dc:creator>former_member209807</dc:creator>
      <dc:date>2016-02-12T09:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: error in excel generation using OLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534732#M1935480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For each new sheet that you require you should be using the method Sheets.Add on an OLE object that is a workbook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To find out how to do things use the macro recorder in Excel and then translate the VBA to ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 11:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534732#M1935480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-12T11:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: error in excel generation using OLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534733#M1935481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P data-canvas-width="485.92050000000063" style="font-size: 15px; font-family: monospace;"&gt; Use the below code to add new sheets&lt;/P&gt;&lt;P data-canvas-width="485.92050000000063" style="font-size: 15px; font-family: monospace;"&gt;&lt;/P&gt;&lt;P data-canvas-width="485.92050000000063" style="font-size: 15px; font-family: monospace;"&gt;&amp;nbsp; GET PROPERTY OF gs_wbook 'Sheets' = gs_sheets . &lt;/P&gt;&lt;P data-canvas-width="476.9220000000006" style="font-size: 15px; font-family: monospace;"&gt;&amp;nbsp; CALL METHOD OF gs_sheets 'Add' = gs_newsheet . &lt;/P&gt;&lt;P data-canvas-width="530.9130000000005" style="font-size: 15px; font-family: monospace;"&gt;&amp;nbsp; SET PROPERTY OF gs_newsheet 'Name' = gv_sheet_name . &lt;/P&gt;&lt;P data-canvas-width="530.9130000000005" style="font-size: 15px; font-family: monospace;"&gt;&lt;/P&gt;&lt;P data-canvas-width="530.9130000000005" style="font-size: 15px; font-family: monospace;"&gt; Also refer the below link for more commands&lt;/P&gt;&lt;P data-canvas-width="530.9130000000005" style="font-size: 15px; font-family: monospace;"&gt;&lt;/P&gt;&lt;P data-canvas-width="530.9130000000005" style="font-size: 15px; font-family: monospace;"&gt;&amp;nbsp; &lt;A __default_attr="10373" __jive_macro_name="document" class="jive_macro_document jive_macro" data-orig-content="An Easy Reference for OLE Automation" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 10:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534733#M1935481</guid>
      <dc:creator>davis_raja</dc:creator>
      <dc:date>2016-02-13T10:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: error in excel generation using OLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534734#M1935482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isn't that what I just said ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 08:36:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534734#M1935482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-15T08:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: error in excel generation using OLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534735#M1935483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using below code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CREATE &lt;/SPAN&gt;OBJECT gv_excel &lt;SPAN class="L0S33"&gt;'EXCEL.APPLICATION'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;SET &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;PROPERTY &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;gv_excel&amp;nbsp; &lt;SPAN class="L0S33"&gt;'VISIBLE' &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gv_excel&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S33"&gt;'WORKBOOKS' &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;gv_workbook&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gv_workbook&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S33"&gt;'ADD'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;SET &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;PROPERTY &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;gv_excel &lt;SPAN class="L0S33"&gt;'SheetsInNewWorkbook' &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lv_line_tmp&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S55"&gt;sometimes i am getting number of sheets mentioned and sometimes i am getting only 2/3 sheets.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S55"&gt;thanks for your help&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 08:57:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534735#M1935483</guid>
      <dc:creator>former_member209807</dc:creator>
      <dc:date>2016-03-04T08:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: error in excel generation using OLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534736#M1935484</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 problem with OLE and excel is that when you use the 'QUIT' statement it does not actually quit Excel and you end up with hundreds of invisible excel instances running.&amp;nbsp; It may be that you have a problem with that when you are getting the 2/3 sheets only.&amp;nbsp; When this happens check in your task manager to see if that is the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 09:18:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534736#M1935484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-04T09:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: error in excel generation using OLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534737#M1935485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when we run the program which creates excel all the excel instances in background should be closed..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Phanindra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 09:27:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534737#M1935485</guid>
      <dc:creator>former_member209807</dc:creator>
      <dc:date>2016-03-04T09:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: error in excel generation using OLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534738#M1935486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just pointing out that if you have been testing this all day you could have hundreds of instances running which could affect things.&amp;nbsp; I'm trying to remember how I killed them off...&amp;nbsp; let me think about that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 09:42:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534738#M1935486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-04T09:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: error in excel generation using OLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534739#M1935487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am still facing this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you remember how to kill excel instance, for proper file creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again...:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phanindra G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 12:26:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534739#M1935487</guid>
      <dc:creator>former_member209807</dc:creator>
      <dc:date>2016-03-17T12:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: error in excel generation using OLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534740#M1935488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't remember off of the top of my head,&amp;nbsp; you call the QUIT method.&amp;nbsp; Search the web - there's loads of stuff out there about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 13:48:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-excel-generation-using-ole/m-p/11534740#M1935488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-17T13:48:59Z</dc:date>
    </item>
  </channel>
</rss>

