<?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: difference between GUI_UPLOAD and WS_UPLOAD in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-gui-upload-and-ws-upload/m-p/949085#M64844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest to always use the GUI_UPLOAD.  I say this because this is the function module which is used in the GUI_UPLOAD method of the class CL_GUI_FRONTEND_SERVICES.   Really, you should probably use the class/method instead of the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  data: filename type string.

  filename = p_file.


  call method cl_gui_frontend_services=&amp;gt;gui_upload
         exporting
              filename                = filename
              filetype                = 'ASC'
         changing
              data_tab                = iflatf
         exceptions
              file_open_error         = 1
              file_read_error         = 2
              no_batch                = 3
              gui_refuse_filetransfer = 4
              no_authority            = 6
              unknown_error           = 7
              bad_data_format         = 8
              unknown_dp_error        = 12
              access_denied           = 13
              others                  = 17.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2005 15:33:16 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-07-20T15:33:16Z</dc:date>
    <item>
      <title>difference between GUI_UPLOAD and WS_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-gui-upload-and-ws-upload/m-p/949084#M64843</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 make me clear about the difference between GUI_UPLOAD and WS_UPLOAD. In which cases we need to use these modules...??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2005 15:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-gui-upload-and-ws-upload/m-p/949084#M64843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-20T15:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: difference between GUI_UPLOAD and WS_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-gui-upload-and-ws-upload/m-p/949085#M64844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest to always use the GUI_UPLOAD.  I say this because this is the function module which is used in the GUI_UPLOAD method of the class CL_GUI_FRONTEND_SERVICES.   Really, you should probably use the class/method instead of the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  data: filename type string.

  filename = p_file.


  call method cl_gui_frontend_services=&amp;gt;gui_upload
         exporting
              filename                = filename
              filetype                = 'ASC'
         changing
              data_tab                = iflatf
         exceptions
              file_open_error         = 1
              file_read_error         = 2
              no_batch                = 3
              gui_refuse_filetransfer = 4
              no_authority            = 6
              unknown_error           = 7
              bad_data_format         = 8
              unknown_dp_error        = 12
              access_denied           = 13
              others                  = 17.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2005 15:33:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-gui-upload-and-ws-upload/m-p/949085#M64844</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-20T15:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: difference between GUI_UPLOAD and WS_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-gui-upload-and-ws-upload/m-p/949086#M64845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/file/file_otherpc.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/file/file_otherpc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I've understood right if you use version 4.7 and above you should use GUI_UPLOAD since WS_UPLOAD is considered obsolete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ville&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2005 15:36:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-gui-upload-and-ws-upload/m-p/949086#M64845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-20T15:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: difference between GUI_UPLOAD and WS_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-gui-upload-and-ws-upload/m-p/949087#M64846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WS_UPLOAD is obsolete as of 4.7 so GUI_UPLOAD is the next trend FM which will be used in continuance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whenver there is an upgrade later then the WS_UPLOAD will have to be removed and replaced with GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so only try to use GUI_UPLOAD only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;venugopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2005 09:49:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-gui-upload-and-ws-upload/m-p/949087#M64846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-21T09:49:12Z</dc:date>
    </item>
  </channel>
</rss>

