<?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: Problem with UPLOAD function. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432639#M206688</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;Currently I am not infront of the system and so cannot see the functionality of those parameters. However, is there a specific functionality that you are looking from GUI_UPLOAD method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As UPLOAD is really a old function, quite a few changes were done by SAP, so the parameters might not exist in the new one now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jul 2006 12:56:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-03T12:56:22Z</dc:date>
    <item>
      <title>Problem with UPLOAD function.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432629#M206678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am working in an Upgrade project(The upgrade is from 4.6B  to ECC 5.0). So in ECC 5.0 the function module UPLOAD is obsolete so I need to replace it with GUI_UPLOAD. In a program they are using this function module where they have used CANCEL parameter( in the Export parameters of the function module ) and they are performing some checks on this parameter. But this parameter is not present in the GUI_UPLOAD in ECC 5.0 , So what could be the solution for this case.&lt;/P&gt;&lt;P&gt;Please reply as soon as possible..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Amarnath Singanamala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2006 09:47:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432629#M206678</guid>
      <dc:creator>amarnath_singanamala2</dc:creator>
      <dc:date>2006-07-02T09:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UPLOAD function.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432630#M206679</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;Before using the GUI_UPLOAD function module, use GUI_FILE_SAVE_DIALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2006 10:05:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432630#M206679</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2006-07-02T10:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UPLOAD function.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432631#M206680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class CL_GUI_FRONTEND_SERVICES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Call the method FILE_OPEN_DIALOG (This should have the cancel)&lt;/P&gt;&lt;P&gt;2. Then call the method GUI_UPLOAD of the same class if you want to proceed with the upload of the selected file from the previous method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2006 10:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432631#M206680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-02T10:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UPLOAD function.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432632#M206681</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;I controlled fm WS_UPLOAD and I couldn't see that parameter, so you should explain which is its use (which checks user ahve done on it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example to open a download a file (in my case I created an excel file):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Open dialog&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;FILE_OPEN_DIALOG&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;   WINDOW_TITLE            = 'Open file'&lt;/P&gt;&lt;P&gt;   DEFAULT_EXTENSION       = 'XLS'&lt;/P&gt;&lt;P&gt;   DEFAULT_FILENAME        = 'C:\filetest.xls'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FILE_FILTER             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   INITIAL_DIRECTORY       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MULTISELECTION          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   WITH_ENCODING           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    FILE_TABLE              = FILETABLE&lt;/P&gt;&lt;P&gt;    RC                      = RC&lt;/P&gt;&lt;P&gt;    USER_ACTION             = USER_ACTION&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FILE_ENCODING           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;  FILE_OPEN_DIALOG_FAILED = 1&lt;/P&gt;&lt;P&gt;  CNTL_ERROR              = 2&lt;/P&gt;&lt;P&gt;  ERROR_NO_GUI            = 3&lt;/P&gt;&lt;P&gt;  NOT_SUPPORTED_BY_GUI    = 4&lt;/P&gt;&lt;P&gt;  OTHERS                  = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  IF RC = 1 &lt;/P&gt;&lt;P&gt;   AND USER_ACTION = CL_GUI_FRONTEND_SERVICES=&amp;gt;ACTION_OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Downlod file&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    READ TABLE FILETABLE INTO WA_FILE INDEX 1.&lt;/P&gt;&lt;P&gt;    MOVE WA_FILE-FILENAME TO FILENAME.&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                = FILENAME&lt;/P&gt;&lt;P&gt;        FILETYPE                = 'ASC'&lt;/P&gt;&lt;P&gt;        WRITE_FIELD_SEPARATOR   = 'X'&lt;/P&gt;&lt;P&gt;        CONFIRM_OVERWRITE       = 'X'&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        DATA_TAB                = ITAB&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;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'WS_EXECUTE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          DOCUMENT    = 'X'&lt;/P&gt;&lt;P&gt;          COMMANDLINE = FILENAME&lt;/P&gt;&lt;P&gt;          PROGRAM     = 'EXCEL'&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          OTHERS      = 99.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    IF USER_ACTION =               &lt;/P&gt;&lt;P&gt;                 CL_GUI_FRONTEND_SERVICES=&amp;gt;ACTION_CANCEL.&lt;/P&gt;&lt;P&gt;      MESSAGE S208(00) WITH 'Action cancelled by user'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the method GUI_DOWNLOAD of class CL_GUI_FRONTEND_SERVICES instead of fm GUI_DOWNLOAD just as the guys have said before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2006 10:05:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432632#M206681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-02T10:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UPLOAD function.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432633#M206682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravi,&lt;/P&gt;&lt;P&gt;Thanks for ur reply i hope this will resolve my issue.&lt;/P&gt;&lt;P&gt;thnx a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2006 10:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432633#M206682</guid>
      <dc:creator>amarnath_singanamala2</dc:creator>
      <dc:date>2006-07-02T10:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UPLOAD function.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432634#M206683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Max,&lt;/P&gt;&lt;P&gt;thanks for ur reply too. i think u r also correct.&lt;/P&gt;&lt;P&gt;Amarnath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2006 10:32:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432634#M206683</guid>
      <dc:creator>amarnath_singanamala2</dc:creator>
      <dc:date>2006-07-02T10:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UPLOAD function.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432635#M206684</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;I'm happy for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to assign the points to any answers are helpful for you and close this post if you've solved your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2006 11:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432635#M206684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-02T11:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UPLOAD function.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432636#M206685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Max,&lt;/P&gt;&lt;P&gt;I am really sorry for that,&lt;/P&gt;&lt;P&gt;I think we can assign points for only one person.&lt;/P&gt;&lt;P&gt;Ravi answered before you that's y i haved assigned to him.&lt;/P&gt;&lt;P&gt;if we can assign points for many ppl i can assign points .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amarnath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2006 11:44:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432636#M206685</guid>
      <dc:creator>amarnath_singanamala2</dc:creator>
      <dc:date>2006-07-02T11:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UPLOAD function.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432637#M206686</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;Don't worry! That's no problem fot the points!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are here to give a little help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only close this post if u've solved the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2006 13:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432637#M206686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-02T13:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UPLOAD function.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432638#M206687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ravi,&lt;/P&gt;&lt;P&gt;I Have a doubt regarding UPLOAD function. In function UPLOAD we have few parameters like FILETYPE_NO_CHANGE, SILENT . so these are not there in GUI_UPLOAD in ECC 5.0, can u you please give the corresponding parameters of those two in GUI_UPLOAD function in ECC 5.0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 12:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432638#M206687</guid>
      <dc:creator>amarnath_singanamala2</dc:creator>
      <dc:date>2006-07-03T12:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UPLOAD function.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432639#M206688</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;Currently I am not infront of the system and so cannot see the functionality of those parameters. However, is there a specific functionality that you are looking from GUI_UPLOAD method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As UPLOAD is really a old function, quite a few changes were done by SAP, so the parameters might not exist in the new one now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 12:56:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-upload-function/m-p/1432639#M206688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T12:56:22Z</dc:date>
    </item>
  </channel>
</rss>

