01-18-2008 2:39 PM
Hi Guys,
Could you please tell wats the replacement for the function module DOWNLOAD in ECC 6.0..
in 4.5B there is function module DOWNLOAD..for this GUI_DOWNLOAD alone is not meeting the requirement in ECC 6..0...
in addition to this another F.M is required..kindly help me in knowing this 2nd F.M
01-18-2008 2:42 PM
hi Sahil,
the replacement is FM GUI_DOWNLOAD or class CL_GUI_FRONTEND_SERVICES, method GUI_DOWNLOAD.
ec
01-18-2008 3:26 PM
Hi,
you can use this method along with the gui_download
CALL METHOD cl_gui_frontend_services=>file_save_dialog
EXPORTING
DEFAULT_FILE_NAME = w_defa_file
CHANGING
filename = w_filename
path = w_filename
fullpath = w_defa_file
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4
.
This is for file saving.
01-18-2008 3:30 PM
GUI_DOWNLOAD alone is not meeting the requirement in ECC 6..0
Why is this not working for you in ECC 6.0, basically this is the only function to use, the class/method CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD is just a wrapper for the function module GUI_DOWNLOAD, so if GUI_DOWNLOAD is not working for you, then the class will not either. Why is this not working for you? What is the exact requirment?
Regards,
Rich Heilman
01-18-2008 3:47 PM