<?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: How to replace obsolete download function module in ECC6.0? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-obsolete-download-function-module-in-ecc6-0/m-p/3148485#M748602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG&gt;Reddy&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;  Use &lt;STRONG&gt;GUI_DOWNLOAD&lt;/STRONG&gt; Function module&lt;/P&gt;&lt;P&gt; or&lt;/P&gt;&lt;P&gt;  Use &lt;STRONG&gt;CL_GUI_FRONTEND_SERVICES&lt;/STRONG&gt; Class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plzzzzzzz Reward if useful,&lt;/P&gt;&lt;P&gt;Mahi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2007 07:43:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-19T07:43:54Z</dc:date>
    <item>
      <title>How to replace obsolete download function module in ECC6.0?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-obsolete-download-function-module-in-ecc6-0/m-p/3148480#M748597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to replace obsolete download function module in ECC6.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Adi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 07:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-obsolete-download-function-module-in-ecc6-0/m-p/3148480#M748597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T07:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace obsolete download function module in ECC6.0?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-obsolete-download-function-module-in-ecc6-0/m-p/3148481#M748598</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;&lt;/P&gt;&lt;P&gt;   Use GUI_DOWNLOAD instead of download in ECC6.0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;pRashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 07:36:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-obsolete-download-function-module-in-ecc6-0/m-p/3148481#M748598</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-12-19T07:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace obsolete download function module in ECC6.0?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-obsolete-download-function-module-in-ecc6-0/m-p/3148482#M748599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;GUI_DOWNLOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data transfer of an internal table form the server to a file on the PC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Gui_Download module replaces the obsolete modules Ws_Download and Download. The file dialog of the download module is available in the class Cl_Gui_Frontend_Services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 07:39:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-obsolete-download-function-module-in-ecc6-0/m-p/3148482#M748599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T07:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace obsolete download function module in ECC6.0?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-obsolete-download-function-module-in-ecc6-0/m-p/3148483#M748600</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;DOWNLOAD is obsolete FM in ECC 6. To get the same functionality , we need to use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_GUI_FRONTEND_SERVICES=&amp;gt;FILE_SAVE_DIALOG  method (It provides the File selection feature)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;GUI_DOWNLOAD function module.(It downloads the internal table from program to presentation server)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the example below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*CALL FUNCTION 'DOWNLOAD'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               FILENAME            = p_filename&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               FILETYPE            = &amp;#145;DAT&amp;#146;&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               DATA_TAB            = T_DOWNL&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               INVALID_FILESIZE    = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               INVALID_TABLE_WIDTH = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               INVALID_TYPE        = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               NO_BATCH            = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               UNKNOWN_ERROR       = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               OTHERS              = 6.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*End of deletion CH01-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replacement Method for above code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_filename    TYPE string,&lt;/P&gt;&lt;P&gt;       l_filen       TYPE string,&lt;/P&gt;&lt;P&gt;       l_path        TYPE string,&lt;/P&gt;&lt;P&gt;       l_fullpath    TYPE string,&lt;/P&gt;&lt;P&gt;       l_usr_act     TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_filename = P_filename.&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    = l_filename&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    FILENAME             = l_filen&lt;/P&gt;&lt;P&gt;    PATH                 = l_path&lt;/P&gt;&lt;P&gt;    FULLPATH             = l_fullpath&lt;/P&gt;&lt;P&gt;    USER_ACTION          = l_usr_act&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    CNTL_ERROR           = 1&lt;/P&gt;&lt;P&gt;    ERROR_NO_GUI         = 2&lt;/P&gt;&lt;P&gt;    NOT_SUPPORTED_BY_GUI = 3&lt;/P&gt;&lt;P&gt;    others               = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0&lt;/P&gt;&lt;P&gt;      AND l_usr_act &amp;lt;&amp;gt;&lt;/P&gt;&lt;P&gt;      CL_GUI_FRONTEND_SERVICES=&amp;gt;ACTION_CANCEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                        = l_fullpath&lt;/P&gt;&lt;P&gt;   FILETYPE                        = 'DAT'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                        = T_DOWNL&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 07:41:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-obsolete-download-function-module-in-ecc6-0/m-p/3148483#M748600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T07:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace obsolete download function module in ECC6.0?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-obsolete-download-function-module-in-ecc6-0/m-p/3148484#M748601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; they have changed the download function module from WS_DOWNLOAD to GUI_DOWNLOAD in ECC6.0 so you can very well use that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 07:43:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-obsolete-download-function-module-in-ecc6-0/m-p/3148484#M748601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T07:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace obsolete download function module in ECC6.0?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-obsolete-download-function-module-in-ecc6-0/m-p/3148485#M748602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG&gt;Reddy&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;  Use &lt;STRONG&gt;GUI_DOWNLOAD&lt;/STRONG&gt; Function module&lt;/P&gt;&lt;P&gt; or&lt;/P&gt;&lt;P&gt;  Use &lt;STRONG&gt;CL_GUI_FRONTEND_SERVICES&lt;/STRONG&gt; Class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plzzzzzzz Reward if useful,&lt;/P&gt;&lt;P&gt;Mahi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 07:43:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-obsolete-download-function-module-in-ecc6-0/m-p/3148485#M748602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T07:43:54Z</dc:date>
    </item>
  </channel>
</rss>

