Archived document: In several SAP screens we have added a GuiXT button that displays a document from an external archiving system. The document is displayed via an http URL. So far so good. But can we now display the button only if an archived document exists?

In your GuiXT script use the OpenFIle command with the archive URL and query whether the file exists. Example:

  OpenFile "&V[archive_ur]"

  if Q[ok]

    CloseFile "&V[archive_ur]"

    Image (toolbar) "archive.png"  start=""&V[archive_url]"