<?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: excel in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel/m-p/2971867#M701407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;After executing the Report, from the Menu bar&lt;/P&gt;&lt;P&gt;-&amp;gt;List-&amp;gt;Send-&amp;gt;File-&amp;gt;Spreedsheet&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2007 11:48:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-06T11:48:29Z</dc:date>
    <item>
      <title>excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel/m-p/2971865#M701405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the procedure to copy an outputted list into  an excel sheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 11:28:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel/m-p/2971865#M701405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T11:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel/m-p/2971866#M701406</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;there are many threads available in this forum for ur question just have a look,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the FM - ALV_XXL_CALL. &lt;/P&gt;&lt;P&gt;It is the same function module invoked when you click on the export to excel button of the ALV. &lt;/P&gt;&lt;P&gt;You can pass teh field catalog of the ALV here along with the name of ur internal table and the internal table itself. It will download everything to Excel alongwith the Column headers ( depending on ur field catalog definition). Just make sure ur field catalog has the COL_Heading correctly populated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Code - CALL FUNCTION 'ALV_XXL_CALL'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_tabname = 'T_GRID' " Name of the Internal table&lt;/P&gt;&lt;P&gt;it_fieldcat = t_fcatk[] " Field catalog&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;it_outtab = t_grid " Interbnal table with data&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;fatal_error = 1&lt;/P&gt;&lt;P&gt;no_display_possible = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE e806(bk).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 11:33:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel/m-p/2971866#M701406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T11:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel/m-p/2971867#M701407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;After executing the Report, from the Menu bar&lt;/P&gt;&lt;P&gt;-&amp;gt;List-&amp;gt;Send-&amp;gt;File-&amp;gt;Spreedsheet&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 11:48:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel/m-p/2971867#M701407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T11:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel/m-p/2971868#M701408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can save the file in excel format as .&lt;/P&gt;&lt;P&gt;on the list output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List-&amp;gt;Save/Send-&amp;gt;File-&amp;gt;Unconverted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this change the file extension as " .xls " and then save the file.&lt;/P&gt;&lt;P&gt;It will get stored as an excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 08:45:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel/m-p/2971868#M701408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-05T08:45:31Z</dc:date>
    </item>
  </channel>
</rss>

