DOWLOAD Function Module not working in Portal

Question: Hello,

We are in 4.6C. I have a piece of code that downloads an internal table to the presentation server using function module DOWNLOAD. This works fine in SAPGui. In EP6 Portal environment, the function module DOWNLOAD does not work (the part where a popup is presented to the user to select the directory/file name to save the file in). Instead a screen is shown which says "This screen exists for technical reasons....".

Anyone face this issue? Please advice.

Thanks!
Zack

Answer:
Use method 'gui_download' of interface class 'cl_gui_frontend_services'
_________________
Cheers,
syd

Answer:
Thanks Syd. GUI_DOWNLOAD appears to be for use from 4.7 and we are currently on 4.6C.

Zack

Answer:
try WS_DOWNLOAD
_________________
SapFans Moderator
NetWeaver ‘04–SAP Web AS for ORACLE certified

Search: /forums/search.php
SAP Notes: http://service.sap.com/notes
SAP Help: http://help.sap.com
Basic Rules: /forums/viewtopic.php?t=222759

Answer:
we are currently on 4.6C.
Syd, are you a muppet? Why didn't you know what version he's on?
_________________
First he pinches my sig, Now he's cribbing my posts too!
Copyright ?2007 - 2008 www.jt77.com