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.
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
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