Skip to Content
avatar image
Former Member

GUI_DOWNLOAD versus WS_DOWNLOAD

Hi,

I'm downloading a file to PC with WS_DOWNLOAD function, it works fine. However when trying to use GUI_DOWNLOAD I get the 'SAPGUI login error'. I'm logged on normally and other things work OK. I'm using SAP over SSA/SSH remote conection though. Has anybody seen this kind of behaviour?

regards,

erki.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 19, 2004 at 11:06 AM

    Hello Erki,

    I had the same problem.

    In fakt the FM: "GUI_Download" failed becouse of "NO_AUTHORITY".

    Try to debug the calling of the FM. You will see, that the FM will return with the exception: "NO_AUTHORITY"

    The FM will never been executed!

    If that happend, You need the get S_GUI-Authorization or similar.

    Keep in mined, that You can only start the FM in Dialog-modus not in background task!

    Haope I could help You.

    BR Michael

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 02, 2004 at 12:03 PM

    Hi all,

    WS_DOWNLOAD is obsolete now,its recommended by the GUI colleagues to use CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD (fm Gui_download,actually)from now on.

    The authorization model is possible there and described in the note 28777.

    Regards,Alex.

    Add comment
    10|10000 characters needed characters exceeded