<?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 GUI_DOWNLOAD PROBLEM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-download-problem/m-p/3872098#M930711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI,&lt;/P&gt;&lt;P&gt;By using the GUI_UPLOAD i have converted the word docuement into BIN format and i have saved in cluster table.But while download by using the binary data by using GUI_DOWNLOAD file is created with empty.i have used follwing code could you please check let me know how to convert binary data into word docuemnt.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;   BIN_FILESIZE                  = 1000&lt;/P&gt;&lt;P&gt;    FILENAME                      = FILE1&lt;/P&gt;&lt;P&gt;   FILETYPE                      = 'BIN'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                      = IT_TAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;shyla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 May 2008 10:55:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-26T10:55:39Z</dc:date>
    <item>
      <title>GUI_DOWNLOAD PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-download-problem/m-p/3872098#M930711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI,&lt;/P&gt;&lt;P&gt;By using the GUI_UPLOAD i have converted the word docuement into BIN format and i have saved in cluster table.But while download by using the binary data by using GUI_DOWNLOAD file is created with empty.i have used follwing code could you please check let me know how to convert binary data into word docuemnt.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;   BIN_FILESIZE                  = 1000&lt;/P&gt;&lt;P&gt;    FILENAME                      = FILE1&lt;/P&gt;&lt;P&gt;   FILETYPE                      = 'BIN'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                      = IT_TAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;shyla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 10:55:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-download-problem/m-p/3872098#M930711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-26T10:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_DOWNLOAD PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-download-problem/m-p/3872099#M930712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
call function 'GUI_DOWNLOAD'
exporting
filename = vl_path
filetype = 'ASC' / BIN "&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;
tables
data_tab = p_gt_output
exceptions
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
others = 22.

if sy-subrc &amp;lt;&amp;gt; 0.

message e007(zv) with 'Error in Downloading File'(007).

endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 10:59:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-download-problem/m-p/3872099#M930712</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-05-26T10:59:38Z</dc:date>
    </item>
  </channel>
</rss>

