<?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: Problem in down loading data to Excel sheet in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-down-loading-data-to-excel-sheet/m-p/1839776#M357004</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;1) first download the headings only to the excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) then download the data to the same excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jan 2007 10:03:32 GMT</pubDate>
    <dc:creator>anversha_s</dc:creator>
    <dc:date>2007-01-09T10:03:32Z</dc:date>
    <item>
      <title>Problem in down loading data to Excel sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-down-loading-data-to-excel-sheet/m-p/1839775#M357003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to down load  the certain fields in to EXCEL sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to download the FIELD HEADING ALSO down load dynamically.&lt;/P&gt;&lt;P&gt;its not hard coding in the function module.&lt;/P&gt;&lt;P&gt;please let me know how to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 10:01:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-down-loading-data-to-excel-sheet/m-p/1839775#M357003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T10:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in down loading data to Excel sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-down-loading-data-to-excel-sheet/m-p/1839776#M357004</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;1) first download the headings only to the excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) then download the data to the same excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 10:03:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-down-loading-data-to-excel-sheet/m-p/1839776#M357004</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2007-01-09T10:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in down loading data to Excel sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-down-loading-data-to-excel-sheet/m-p/1839777#M357005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use FM:gui_download&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 10:03:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-down-loading-data-to-excel-sheet/m-p/1839777#M357005</guid>
      <dc:creator>former_member188829</dc:creator>
      <dc:date>2007-01-09T10:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in down loading data to Excel sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-down-loading-data-to-excel-sheet/m-p/1839778#M357006</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;Store the final data you want to download in a seperate internal table say gt_tab1 having all filed type as string.&lt;/P&gt;&lt;P&gt;Now insert the table heading in each column as required in index 1 i.e first row of gt_tab1.&lt;/P&gt;&lt;P&gt;Download gt_tab1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sutapa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 10:06:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-down-loading-data-to-excel-sheet/m-p/1839778#M357006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T10:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in down loading data to Excel sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-down-loading-data-to-excel-sheet/m-p/1839779#M357007</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;as i mentioned above, look this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use that FM GUI_DOWNLOAD twice:&lt;/P&gt;&lt;P&gt;First time download only header&lt;/P&gt;&lt;P&gt;Second time append table contents to the same file (import parameter append = 'X') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;egx:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or example if your itab used for writing the abap list is like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of details occurs 0 ,&lt;/P&gt;&lt;P&gt;customer type kna1-kunnr,&lt;/P&gt;&lt;P&gt;name type kna1-name1 ,&lt;/P&gt;&lt;P&gt;end of details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare another internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of headers occurs 0 ,&lt;/P&gt;&lt;P&gt;customer(100) ,&lt;/P&gt;&lt;P&gt;name(100),&lt;/P&gt;&lt;P&gt;end of headers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move: '010101' to headers-customer ,&lt;/P&gt;&lt;P&gt;'Anver' to headers-name .&lt;/P&gt;&lt;P&gt;append headers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now call GUI_download to download headers to filename c:/tem.xls&lt;/P&gt;&lt;P&gt;again call gui_download with APPEND = 'X' to the same file name and download details itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 10:12:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-down-loading-data-to-excel-sheet/m-p/1839779#M357007</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2007-01-09T10:12:15Z</dc:date>
    </item>
  </channel>
</rss>

