<?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 Function module to download data into excel file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-download-data-into-excel-file/m-p/3797382#M913343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me the function module name which popsup a popup box to specify a filename and the location and when clicking on the OK button, the file should be downloaded to the specified location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need it ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jaffer Ali.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2008 01:38:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-13T01:38:03Z</dc:date>
    <item>
      <title>Function module to download data into excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-download-data-into-excel-file/m-p/3797382#M913343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me the function module name which popsup a popup box to specify a filename and the location and when clicking on the OK button, the file should be downloaded to the specified location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need it ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jaffer Ali.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 01:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-download-data-into-excel-file/m-p/3797382#M913343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T01:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to download data into excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-download-data-into-excel-file/m-p/3797383#M913344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to Class&lt;/P&gt;&lt;P&gt;CL_GUI_FRONTEND_SERVICES it has all the methods you require. Just search the forums also you have same question answered lot many times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 01:40:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-download-data-into-excel-file/m-p/3797383#M913344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T01:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to download data into excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-download-data-into-excel-file/m-p/3797384#M913345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shamshudeen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use two funtion modules to acheive this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. To get the file path from user.&lt;/P&gt;&lt;P&gt;2. To download the excel sheet in prescribed path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 1 use following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fpath .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;       program_name        = syst-cprog&lt;/P&gt;&lt;P&gt;       dynpro_number       = syst-dynnr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FIELD_NAME          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;       file_name           = p_fpath  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file path will be stored in p_fpath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use GUI_DOWNLOAD function module and pass the file name p_fpath to it along with filetype as .xls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 02:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-download-data-into-excel-file/m-p/3797384#M913345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T02:17:48Z</dc:date>
    </item>
  </channel>
</rss>

