<?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: GUI_UPLOAD in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/3414614#M820082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I realized the problem a few minutes ago. There's a script that should close the file before the upload takes place and it seems that 1% of the time the script doesn't finish in time before the upload so the access denied result occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution I did was to wait a few seconds if the upload fails and then try again. Since it only happens 1% of the time it doesn't affect the users much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2008 13:00:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-11T13:00:54Z</dc:date>
    <item>
      <title>GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/3414613#M820081</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;  I'm facing a problem with GUI_UPLOAD in that it sometimes fails with return code 13 (ACCESS_DENIED). It fails less than 1% of the time but due to the hundreds of calls a day I still need to handle several failures a day. The failure can occur on any workstation and for any user but it is not consistent to any workstation or user. Here's the call I make:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;gui_upload&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            filename                = wf_local_file_path&lt;/P&gt;&lt;P&gt;            filetype                = 'BIN'&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            filelength              = wf_file_size&lt;/P&gt;&lt;P&gt;          CHANGING&lt;/P&gt;&lt;P&gt;            data_tab                = int_file_data&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            file_open_error         = 1   &lt;/P&gt;&lt;P&gt;            file_read_error         = 2   &lt;/P&gt;&lt;P&gt;            no_batch                = 3   &lt;/P&gt;&lt;P&gt;            gui_refuse_filetransfer = 4   &lt;/P&gt;&lt;P&gt;            invalid_type            = 5   &lt;/P&gt;&lt;P&gt;            no_authority            = 6   &lt;/P&gt;&lt;P&gt;            unknown_error           = 7   &lt;/P&gt;&lt;P&gt;            bad_data_format         = 8   &lt;/P&gt;&lt;P&gt;            header_not_allowed      = 9   &lt;/P&gt;&lt;P&gt;            separator_not_allowed   = 10  &lt;/P&gt;&lt;P&gt;            header_too_long         = 11  &lt;/P&gt;&lt;P&gt;            unknown_dp_error        = 12  &lt;/P&gt;&lt;P&gt;            access_denied           = 13  &lt;/P&gt;&lt;P&gt;            dp_out_of_memory        = 14  &lt;/P&gt;&lt;P&gt;            disk_full               = 15 &lt;/P&gt;&lt;P&gt;            dp_timeout              = 16  &lt;/P&gt;&lt;P&gt;            not_supported_by_gui    = 17  &lt;/P&gt;&lt;P&gt;            error_no_gui            = 18  &lt;/P&gt;&lt;P&gt;            OTHERS                  = 19.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Has anyone faced anything similar? Anyone know what the cause might be? The fact that this failure only occurs 1% of the time makes it very hard to pin down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ahmad Shono&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 11:56:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/3414613#M820081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T11:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/3414614#M820082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I realized the problem a few minutes ago. There's a script that should close the file before the upload takes place and it seems that 1% of the time the script doesn't finish in time before the upload so the access denied result occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution I did was to wait a few seconds if the upload fails and then try again. Since it only happens 1% of the time it doesn't affect the users much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 13:00:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/3414614#M820082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T13:00:54Z</dc:date>
    </item>
  </channel>
</rss>

