<?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: Close OLE processes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/close-ole-processes/m-p/5251535#M1213245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using steps like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE OBJECT e_appl 'EXCEL.APPLICATION'.
SET PROPERTY OF e_appl 'VISIBLE' = 1.
CALL METHOD OF e_appl 'WORKBOOKS' = e_work.
CALL METHOD OF e_work 'Add' = e_work.
GET PROPERTY OF e_appl 'ActiveSheet' = e_activesheet.
SET PROPERTY OF e_activesheet 'Name' = &amp;lt;sheetname&amp;gt;.

" work witch cells

CALL METHOD OF e_work 'SAVEAS' EXPORTING #1 = &amp;lt;filename&amp;gt;.
CALL METHOD OF e_work 'close'. " maybe this one is missing
CALL METHOD OF e_appl 'QUIT'.
FREE OBJECT e_appl.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Feb 2009 20:18:52 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2009-02-27T20:18:52Z</dc:date>
    <item>
      <title>Close OLE processes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/close-ole-processes/m-p/5251533#M1213243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi people,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m using OLE objects to manipulate Excel, but I´m having one problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I stop using the spreadsheet I use the method "QUIT" and then "FREE OBJECT" to kill the excel processes, BUT, the processes do not close.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I used the program a few times, I look at the task manager and its full of excel processes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use the "FREE OBJECT" in all OLE objects and in the application only, but none of this work out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone can help me with that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 18:16:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/close-ole-processes/m-p/5251533#M1213243</guid>
      <dc:creator>marcelom_bovo</dc:creator>
      <dc:date>2009-02-27T18:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Close OLE processes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/close-ole-processes/m-p/5251534#M1213244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There may be something in your ABAP code in between when you open the file and when you close that file that is not right and hence causing a disconnect.  If there is a disconnect, this is the reason why your excel program  is left open.  YOu need to make sure that every method that you are calling in between the open and close is being called correctly, and is sucessful.  If one method call fails, it could cause a disconnect.  I have seen this in the past.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 19:43:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/close-ole-processes/m-p/5251534#M1213244</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2009-02-27T19:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Close OLE processes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/close-ole-processes/m-p/5251535#M1213245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using steps like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE OBJECT e_appl 'EXCEL.APPLICATION'.
SET PROPERTY OF e_appl 'VISIBLE' = 1.
CALL METHOD OF e_appl 'WORKBOOKS' = e_work.
CALL METHOD OF e_work 'Add' = e_work.
GET PROPERTY OF e_appl 'ActiveSheet' = e_activesheet.
SET PROPERTY OF e_activesheet 'Name' = &amp;lt;sheetname&amp;gt;.

" work witch cells

CALL METHOD OF e_work 'SAVEAS' EXPORTING #1 = &amp;lt;filename&amp;gt;.
CALL METHOD OF e_work 'close'. " maybe this one is missing
CALL METHOD OF e_appl 'QUIT'.
FREE OBJECT e_appl.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 20:18:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/close-ole-processes/m-p/5251535#M1213245</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-02-27T20:18:52Z</dc:date>
    </item>
  </channel>
</rss>

