‎2005 Jul 20 4:17 PM
Hi,
Please make me clear about the difference between GUI_UPLOAD and WS_UPLOAD. In which cases we need to use these modules...??
Thanks,
Satish
‎2005 Jul 20 4:36 PM
Hi Satish,
http://www.sapdevelopment.co.uk/file/file_otherpc.htm
If I've understood right if you use version 4.7 and above you should use GUI_UPLOAD since WS_UPLOAD is considered obsolete.
Regards,
Ville
‎2005 Jul 20 4:33 PM
I would suggest to always use the GUI_UPLOAD. I say this because this is the function module which is used in the GUI_UPLOAD method of the class CL_GUI_FRONTEND_SERVICES. Really, you should probably use the class/method instead of the function module.
data: filename type string.
filename = p_file.
call method cl_gui_frontend_services=>gui_upload
exporting
filename = filename
filetype = 'ASC'
changing
data_tab = iflatf
exceptions
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
no_authority = 6
unknown_error = 7
bad_data_format = 8
unknown_dp_error = 12
access_denied = 13
others = 17.
Regards,
Rich Heilman
‎2005 Jul 20 4:36 PM
Hi Satish,
http://www.sapdevelopment.co.uk/file/file_otherpc.htm
If I've understood right if you use version 4.7 and above you should use GUI_UPLOAD since WS_UPLOAD is considered obsolete.
Regards,
Ville
‎2005 Jul 21 10:49 AM
hi satish,
WS_UPLOAD is obsolete as of 4.7 so GUI_UPLOAD is the next trend FM which will be used in continuance.
whenver there is an upgrade later then the WS_UPLOAD will have to be removed and replaced with GUI_UPLOAD.
so only try to use GUI_UPLOAD only.
regards
venugopal