<?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 Delete sheet from excel file using ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-sheet-from-excel-file-using-abap/m-p/1796631#M342286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I am facing problem of deleting SHEET from excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Situation,&lt;/P&gt;&lt;P&gt;  I am creating excel file with sheet 1 and sheet 2 with data. When I create excel default system will create sheet 1 to 3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I dont want sheet. so I am trying to delete using &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CALL METHOD OF APPLICATION 'Worksheets' = SHEET&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXPORTING #1 = 3.&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   CALL METHOD OF SHEET 'Activate'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CALL METHOD OF SHEET 'DELETE' .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But system is popping confirmation msg with OK and cancel buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me how to handle this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or any way to delete sheet from excel file...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks &lt;/P&gt;&lt;P&gt;Rays&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2006 09:05:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-20T09:05:50Z</dc:date>
    <item>
      <title>Delete sheet from excel file using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-sheet-from-excel-file-using-abap/m-p/1796631#M342286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I am facing problem of deleting SHEET from excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Situation,&lt;/P&gt;&lt;P&gt;  I am creating excel file with sheet 1 and sheet 2 with data. When I create excel default system will create sheet 1 to 3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I dont want sheet. so I am trying to delete using &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CALL METHOD OF APPLICATION 'Worksheets' = SHEET&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXPORTING #1 = 3.&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   CALL METHOD OF SHEET 'Activate'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CALL METHOD OF SHEET 'DELETE' .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But system is popping confirmation msg with OK and cancel buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me how to handle this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or any way to delete sheet from excel file...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks &lt;/P&gt;&lt;P&gt;Rays&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 09:05:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-sheet-from-excel-file-using-abap/m-p/1796631#M342286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T09:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Delete sheet from excel file using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-sheet-from-excel-file-using-abap/m-p/1796632#M342287</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;what is the class you are using to call the method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 09:07:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-sheet-from-excel-file-using-abap/m-p/1796632#M342287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T09:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Delete sheet from excel file using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-sheet-from-excel-file-using-abap/m-p/1796633#M342288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GO TO SE 37 SEARCH FOR FUNCTION MODULE WITH NAME STARTING FROM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALSM&lt;STRONG&gt;DELETE&lt;/STRONG&gt;FILE/SHEET&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 09:11:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-sheet-from-excel-file-using-abap/m-p/1796633#M342288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T09:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Delete sheet from excel file using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-sheet-from-excel-file-using-abap/m-p/1796634#M342289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I declared as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Declaration for Excel&lt;/P&gt;&lt;P&gt;DATA: APPLICATION TYPE OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;      WORKBOOK    TYPE OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;      SHEET       TYPE OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;      CELLS       TYPE OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;      H_F         TYPE OLE2_OBJECT.            " font&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I created excel file and saved success fully....Only thing I want is I need to delete extra sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Rayudu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 09:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-sheet-from-excel-file-using-abap/m-p/1796634#M342289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T09:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Delete sheet from excel file using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-sheet-from-excel-file-using-abap/m-p/1796635#M342290</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;I didnot get delete methord attributes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found alternative solution i.e I set visible property of the sheet to 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not visible any more.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rays&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2006 01:04:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-sheet-from-excel-file-using-abap/m-p/1796635#M342290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-22T01:04:54Z</dc:date>
    </item>
  </channel>
</rss>

