Skip to Content
Author's profile photo Cristiano Hansen

Upload/Download via WEBGUI: text instead of a dialog box

Since the beginning of 2015, an issue became frequent among WEBGUI users that want to upload or download a file.

As known by WEBGUI users, a Java applet is responsible for uploading/downloading operations (SAP notes 1555523 and 980772). There are cases where, instead of the regular methods being executed, a RESTGUI text (labels and empty input fields) is displayed.


Please implement SAP note 1995776 to resolve the issue. It contains a sample screenshot with one of the affected methods.

Common affected methods:

  • ITS_ENV_GET_VARIABLE (ITS ENV GET VARIABLE)
  • ITS_FILE_SAVE_DIALOG (ITS FILE SAVE DIALOG)
  • ITS_CLIBPOARD_IMPORT (ITS CLIPBOARD IMPORT)
  • ITS_QUERY (ITS QUERY)

Additional methods that can be affected…


As there are more methods from class CL_GUI_FRONTEND_SERVICES that are supported by the Java applet, I decided to put a list of the possible affected methods here:


  • ITS_UPLOAD (ITS UPLOAD)
  • ITS_SHOW_DOCUMENT (ITS SHOW DOCUMENT)
  • ITS_GET_SCREENSHOT (ITS GET SCREENSHOT)
  • ITS_GET_TEMP_DIRECTORY (ITS GET TEMP DIRECTORY)
  • ITS_GET_USER_NAME (ITS GET USER NAME)
  • ITS_GET_COMPUTER_NAME (ITS GET COMPUTER NAME)
  • ITS_FILE_OPEN_DIALOG (ITS FILE OPEN DIALOG)
  • ITS_FILE_DELETE (ITS FILE DELETE)
  • ITS_FILE_COPY (ITS FILE COPY)
  • ITS_EXECUTE (ITS EXECUTE)
  • ITS_ENV_GET_VARIABLE (ITS ENV GET VARIABLE)
  • ITS_DOWNLOAD (ITS DOWNLOAD)
  • ITS_DIRECTORY_LIST_FILES (ITS DIRECTORY LIST FILES)
  • ITS_DIRECTORY_GET (ITS DIRECTORY GET)
  • ITS_DIRECTORY_DELETE (ITS DIRECTORY DELETE)
  • ITS_DIRECTORY_CREATE (ITS DIRECTORY CREATE)
  • ITS_CLIBPOARD_IMPORT (ITS CLIBPOARD IMPORT)
  • ITS_CLIBPOARD_EXPORT (ITS CLIBPOARD EXPORT)


Assigned Tags

      5 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Oisin ONidh
      Oisin ONidh

      Great Blog Cris, have bookmarked it! Was not aware of example 2 or 3 been related to the note #1995776

      Author's profile photo Cristiano Hansen
      Cristiano Hansen
      Blog Post Author

      I have seen these examples a few times recently. All the methods mentioned in the note are subject to this issue.

      Author's profile photo Zoe Li
      Zoe Li

      great screenshots!

      Author's profile photo Former Member
      Former Member

      Hello,

       

      i have the same Problem with my Rest GUI.... After i install the SAP-Note 1995776 the Java Applets start... How can I switch back to the RestGUI ?

       

      LG

      Dominic

       

      Author's profile photo Cristiano Hansen
      Cristiano Hansen
      Blog Post Author

      Hi Dominic,

       

      Please adopt the new WEBGUI File Browser. You can read more about it in KBA 2249454.

       

      Kind regards,

      Cris