<?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  FOR DOWNLOAD in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680820#M619588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u guys suggest me whch Function Module to be used to DOWNLOAD&lt;/P&gt;&lt;P&gt;data from an INTERNAL TABLE to an EXCEL file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2007 13:20:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-23T13:20:33Z</dc:date>
    <item>
      <title>FUNCTION MODULE  FOR DOWNLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680820#M619588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u guys suggest me whch Function Module to be used to DOWNLOAD&lt;/P&gt;&lt;P&gt;data from an INTERNAL TABLE to an EXCEL file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 13:20:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680820#M619588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T13:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE  FOR DOWNLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680821#M619589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;U can use GUI_DOWNLOAD and u assign the file type as '.xls'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 13:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680821#M619589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T13:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE  FOR DOWNLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680822#M619590</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 is no direct function module to download to excel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can use fm GUI_DOWNLOAD &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can try with XXL_FULL_API&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 13:21:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680822#M619590</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-08-23T13:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE  FOR DOWNLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680823#M619591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use gui_download and give the file name with the ext .xls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;sharadendu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 13:22:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680823#M619591</guid>
      <dc:creator>sharadendu_agrawal</dc:creator>
      <dc:date>2007-08-23T13:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE  FOR DOWNLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680824#M619592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &amp;lt;b&amp;gt;GUI_DOWNLOAD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Download the File.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                FILENAME                = V_FILENAME  " name of the file&lt;/P&gt;&lt;P&gt;                FILETYPE                = 'ASC'&lt;/P&gt;&lt;P&gt;                WRITE_FIELD_SEPARATOR   = '#'      "tab seperator you can put ',' instead&lt;/P&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;                DATA_TAB                = I_ERR_REC      "internal table from which data is obtained&lt;/P&gt;&lt;P&gt;           EXCEPTIONS&lt;/P&gt;&lt;P&gt;                FILE_WRITE_ERROR        = 1&lt;/P&gt;&lt;P&gt;                NO_BATCH                = 2&lt;/P&gt;&lt;P&gt;                GUI_REFUSE_FILETRANSFER = 3&lt;/P&gt;&lt;P&gt;                INVALID_TYPE            = 4&lt;/P&gt;&lt;P&gt;                NO_AUTHORITY            = 5&lt;/P&gt;&lt;P&gt;                UNKNOWN_ERROR           = 6&lt;/P&gt;&lt;P&gt;                HEADER_NOT_ALLOWED      = 7&lt;/P&gt;&lt;P&gt;                SEPARATOR_NOT_ALLOWED   = 8&lt;/P&gt;&lt;P&gt;                FILESIZE_NOT_ALLOWED    = 9&lt;/P&gt;&lt;P&gt;                HEADER_TOO_LONG         = 10&lt;/P&gt;&lt;P&gt;                DP_ERROR_CREATE         = 11&lt;/P&gt;&lt;P&gt;                DP_ERROR_SEND           = 12&lt;/P&gt;&lt;P&gt;                DP_ERROR_WRITE          = 13&lt;/P&gt;&lt;P&gt;                UNKNOWN_DP_ERROR        = 14&lt;/P&gt;&lt;P&gt;                ACCESS_DENIED           = 15&lt;/P&gt;&lt;P&gt;                DP_OUT_OF_MEMORY        = 16&lt;/P&gt;&lt;P&gt;                DISK_FULL               = 17&lt;/P&gt;&lt;P&gt;                DP_TIMEOUT              = 18&lt;/P&gt;&lt;P&gt;                FILE_NOT_FOUND          = 19&lt;/P&gt;&lt;P&gt;                DATAPROVIDER_EXCEPTION  = 20&lt;/P&gt;&lt;P&gt;                CONTROL_FLUSH_ERROR     = 21&lt;/P&gt;&lt;P&gt;                OTHERS                  = 22.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if this helps,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 13:24:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680824#M619592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T13:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE  FOR DOWNLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680825#M619593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With respect to &amp;lt;b&amp;gt;Unicode &amp;lt;/b&amp;gt;we should no longer use the function modules for download/upload to/from the presentation server (= local PC) but instead use method &amp;lt;b&amp;gt;CL_GUI_FRONTEND_SERVICES=&amp;gt;GUI_DOWNLOAD&amp;lt;/b&amp;gt; (and GUI_UPLOAD, respectively).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 13:27:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680825#M619593</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-08-23T13:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE  FOR DOWNLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680826#M619594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where to give the file type as XLS ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 13:31:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680826#M619594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T13:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE  FOR DOWNLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680827#M619595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;U have to give it in the filename u r giving.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    filename                        = 'test.xls'&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    data_tab                        =&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 13:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680827#M619595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T13:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE  FOR DOWNLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680828#M619596</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 think you cannot able to give filetype as XLS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just give your file name as C:\TEMP\TEST.XLS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Available Types are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'ASC' :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASCII format. The table is transferred as a text. Here, conversion exits are executed. The output format also depends on the parameters CODEPAGE, TRUNC_TRAILING_BLANKS, and TRUNC_TRAILING_BLANKS_EOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'IBM' :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASCII format with IBM code page conversion (DOS). This format corresponds to the 'ASC' format, with use of target code page 1103. This code page is often used for data exchange by floppy disk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'DAT' : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transmission column by column. In this format, the data is transmitted just like ASCals text. However, no conversion exists are executed, and the columns are separated using tab characters. This format creates files that can be imported again using gui_upload or ws_upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'DBF' :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is downloaded in dBase format. With this format, the data types are stored as well, For this reason, import problems can be avoided - for example, problems with Microsoft Excel. In particular, you can avoid problems with the interpretation of numeric values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'WK1' :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is downloaded in Lotus 1-2-3 format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'BIN' :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Binary format. The data is transmitted in binary form. There is no editing and no code page conversion. The data is interpreted line by line and not column by column. The length of the data must be specified in the BIN_FILESIZE parameter. The table should consist of a column of type X, since - in Unicode systems - the conversion of structured data to binary data can cause errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 13:37:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680828#M619596</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-08-23T13:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE  FOR DOWNLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680829#M619597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;GUI_DOWNLOAD&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;SAP_CONVERT_TO_XLS_FORMAT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;LIJO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 13:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680829#M619597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T13:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE  FOR DOWNLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680830#M619598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;generally CSV i.e. comma separated value files are stored as .XLS file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so for the parameter &amp;lt;b&amp;gt;WRITE_FIELD_SEPARATOR&amp;lt;/b&amp;gt; assign ',' you shall get your desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if this helps,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 14:07:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-download/m-p/2680830#M619598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T14:07:59Z</dc:date>
    </item>
  </channel>
</rss>

