Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.