Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

DIFFERANCES BETWEEN WS_UPLOAD AND GUI_UPLOAD??

Former Member
0 Likes
504

HELLO ALL,

CAN SOMEONE TELL ME THE DIFFERANCES BETWEEN WS_UPLOAD AND GUI_UPLOAD????

REGARDS,

SEENU

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
479

Hi Seenu,

WS_UPLOAD and WS_DOWNLOAD, the function modules used until now are not part of the standard set of ABAP commands. They are used to display the file interface on the presentation server. WS_UPLOAD and WS_DOWNLOAD are not compatible with USs and have been replaced by GUI_UPLOAD and GUI_DOWNLOAD. 

The new function modules, GUI_UPLOAD and GUI_DOWNLOAD, have an interface that also allows you to write Unicode format to the local hard drive. For a description of these interfaces, refer to the documentation for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.


Instead of using the function modules, you can use the static methods GUI_UPLOAD and GUI_DOWNLOAD of the global class CL_GUI_FRONTEND_SERVICES.

Regards

Naresh

3 REPLIES 3
Read only

Former Member
0 Likes
479

WS_UPLOAD is an obselete function module and GUI_UPLOAD is the one used now.

GUI_UPLOAD has some additional parameters compared to WS_UPLOAD

You can check this for some info

http://help.sap.com/saphelp_erp2005/helpdata/en/79/c554a3b3dc11d5993800508b6b8b11/frameset.htm

http://www.sapdevelopment.co.uk/file/file_otherpc.htm

Award points if it helps.

Read only

Former Member
0 Likes
479

ws_upload is obsolete now so use gui_upload instead.

function was merely the same

Read only

Former Member
0 Likes
480

Hi Seenu,

WS_UPLOAD and WS_DOWNLOAD, the function modules used until now are not part of the standard set of ABAP commands. They are used to display the file interface on the presentation server. WS_UPLOAD and WS_DOWNLOAD are not compatible with USs and have been replaced by GUI_UPLOAD and GUI_DOWNLOAD. 

The new function modules, GUI_UPLOAD and GUI_DOWNLOAD, have an interface that also allows you to write Unicode format to the local hard drive. For a description of these interfaces, refer to the documentation for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.


Instead of using the function modules, you can use the static methods GUI_UPLOAD and GUI_DOWNLOAD of the global class CL_GUI_FRONTEND_SERVICES.

Regards

Naresh