<?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: Download function module is obsolute in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/download-function-module-is-obsolute/m-p/4312089#M1027928</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;Please see the below code .&lt;/P&gt;&lt;P&gt;Function module u2018DOWNLOADu2019&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'DOWNLOAD'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          filename = p_file&lt;/P&gt;&lt;P&gt;          filetype = 'WK1'&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          data_tab = i_table.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;would be replaced with:&lt;/P&gt;&lt;P&gt;data: gd_file type string.&lt;/P&gt;&lt;P&gt;DATA: ld_filename TYPE string,&lt;/P&gt;&lt;P&gt;      ld_path TYPE string,&lt;/P&gt;&lt;P&gt;      ld_fullpath TYPE string,&lt;/P&gt;&lt;P&gt;      ld_result TYPE i.&lt;/P&gt;&lt;P&gt;types: t_uctable like line of i_table.&lt;/P&gt;&lt;P&gt;data:  it_uctable type standard table of t_uctable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gd_file = p_file.&lt;/P&gt;&lt;P&gt;  shift gd_file RIGHT DELETING TRAILING '\'.&lt;/P&gt;&lt;P&gt;  shift gd_file RIGHT DELETING TRAILING '/'.&lt;/P&gt;&lt;P&gt;  shift gd_file left DELETING LEADING space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_frontend_services=&amp;gt;file_save_dialog&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      DEFAULT_EXTENSION = 'WK1'&lt;/P&gt;&lt;P&gt;      default_file_name = gd_file&lt;/P&gt;&lt;P&gt;      INITIAL_DIRECTORY = gd_file&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      filename          = ld_filename&lt;/P&gt;&lt;P&gt;      path              = ld_path&lt;/P&gt;&lt;P&gt;      fullpath          = ld_fullpath&lt;/P&gt;&lt;P&gt;      user_action       = ld_result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  check ld_result eq 0.&lt;/P&gt;&lt;P&gt;  gd_file = ld_fullpath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gd_file = p_file.&lt;/P&gt;&lt;P&gt;  it_uctable[] = i_table[].&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_frontend_services=&amp;gt;gui_download&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    filename = gd_file&lt;/P&gt;&lt;P&gt;    filetype = 'ASC' " DAT,WK1&lt;/P&gt;&lt;P&gt;    Append   = ' '   "if mode = A then this would be X&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    data_tab = it_uctable&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    OTHERS   = 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2008 09:35:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-23T09:35:20Z</dc:date>
    <item>
      <title>Download function module is obsolute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/download-function-module-is-obsolute/m-p/4312087#M1027926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to handle importing parameters of Download Function module in unicode conversion.&lt;/P&gt;&lt;P&gt;If i am converting my SAP from Non unicode to unicode environment how should i handle the importing parameters od download Function module in Cl_gui_frontend_services=&amp;gt; gui_download because there is only one importing paramter in that , where as in download function module i have 3 importing parameters&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 09:10:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/download-function-module-is-obsolute/m-p/4312087#M1027926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T09:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Download function module is obsolute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/download-function-module-is-obsolute/m-p/4312088#M1027927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before your call to class  CL_GUI_FRONTEND_SERVICES -&amp;gt; GUI_DOWNLOAD, the following additional code is required: &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  DATA: ld_filename TYPE string, &lt;/P&gt;&lt;P&gt;        ld_path     TYPE string, &lt;/P&gt;&lt;P&gt;        ld_fullpath TYPE string, &lt;/P&gt;&lt;P&gt;        ld_result   TYPE i. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_frontend_services=&amp;gt;file_save_dialog &lt;/P&gt;&lt;P&gt;    EXPORTING &lt;/P&gt;&lt;P&gt;      default_file_name = str_filename &lt;/P&gt;&lt;P&gt;      initial_directory = str_filename &lt;/P&gt;&lt;P&gt;    CHANGING &lt;/P&gt;&lt;P&gt;      filename          = ld_filename &lt;/P&gt;&lt;P&gt;      path              = ld_path &lt;/P&gt;&lt;P&gt;      fullpath          = ld_fullpath &lt;/P&gt;&lt;P&gt;      user_action       = ld_result. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CHECK ld_result EQ '0'. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The filename exported to GUI_DOWNLOAD must be changed to ld_fullpath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 06:52:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/download-function-module-is-obsolute/m-p/4312088#M1027927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T06:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Download function module is obsolute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/download-function-module-is-obsolute/m-p/4312089#M1027928</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;Please see the below code .&lt;/P&gt;&lt;P&gt;Function module u2018DOWNLOADu2019&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'DOWNLOAD'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          filename = p_file&lt;/P&gt;&lt;P&gt;          filetype = 'WK1'&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          data_tab = i_table.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;would be replaced with:&lt;/P&gt;&lt;P&gt;data: gd_file type string.&lt;/P&gt;&lt;P&gt;DATA: ld_filename TYPE string,&lt;/P&gt;&lt;P&gt;      ld_path TYPE string,&lt;/P&gt;&lt;P&gt;      ld_fullpath TYPE string,&lt;/P&gt;&lt;P&gt;      ld_result TYPE i.&lt;/P&gt;&lt;P&gt;types: t_uctable like line of i_table.&lt;/P&gt;&lt;P&gt;data:  it_uctable type standard table of t_uctable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gd_file = p_file.&lt;/P&gt;&lt;P&gt;  shift gd_file RIGHT DELETING TRAILING '\'.&lt;/P&gt;&lt;P&gt;  shift gd_file RIGHT DELETING TRAILING '/'.&lt;/P&gt;&lt;P&gt;  shift gd_file left DELETING LEADING space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_frontend_services=&amp;gt;file_save_dialog&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      DEFAULT_EXTENSION = 'WK1'&lt;/P&gt;&lt;P&gt;      default_file_name = gd_file&lt;/P&gt;&lt;P&gt;      INITIAL_DIRECTORY = gd_file&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      filename          = ld_filename&lt;/P&gt;&lt;P&gt;      path              = ld_path&lt;/P&gt;&lt;P&gt;      fullpath          = ld_fullpath&lt;/P&gt;&lt;P&gt;      user_action       = ld_result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  check ld_result eq 0.&lt;/P&gt;&lt;P&gt;  gd_file = ld_fullpath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gd_file = p_file.&lt;/P&gt;&lt;P&gt;  it_uctable[] = i_table[].&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_frontend_services=&amp;gt;gui_download&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    filename = gd_file&lt;/P&gt;&lt;P&gt;    filetype = 'ASC' " DAT,WK1&lt;/P&gt;&lt;P&gt;    Append   = ' '   "if mode = A then this would be X&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    data_tab = it_uctable&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    OTHERS   = 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 09:35:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/download-function-module-is-obsolute/m-p/4312089#M1027928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T09:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Download function module is obsolute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/download-function-module-is-obsolute/m-p/4312090#M1027929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mohd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are facing problem with the class, try to use GUI_*.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any way before using gui_*,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use file_*_dialog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 12:20:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/download-function-module-is-obsolute/m-p/4312090#M1027929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T12:20:34Z</dc:date>
    </item>
  </channel>
</rss>

