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

differnece between ws_upload and gui_upload

Former Member
0 Likes
894

Hi

can u plz tell me what is differnece between ws_upload and gui_upload.

6 REPLIES 6
Read only

Former Member
0 Likes
793

Hi

Search in SCN You will get no of post in similar query and You have search term differnece between ws_upload and gui_upload.

ranga

Read only

Former Member
0 Likes
793

Hi,

Refer to this link...

Read only

Former Member
0 Likes
793

Hi,

Functionality is the same, but WS_UPLOAD is obsolete, and it is recommended not to use it.

You can see this wordings in function module documentation of WS_UPLOAD.

U may use GUI_Upload instead.

Regards

Meenakshi

Read only

Former Member
0 Likes
793

Hi Prakash,

Both the Function module are used to upload the file data on to an internal table for the given file path. The only difference is WS_UPLOAD is an Obsolete FM from versions greater than 4.7E, where we got to use GUI_UPLOAD as an replacement.

GUI_UPLOAD is Unicode enabled , so it will be used and supported by sap for all its new developements.

Regards,

Nitin.

Read only

Former Member
0 Likes
793

Hi,

For ws_upload the file types can be..


ASC	ASCII
BIN	Binary
DBF	DBASE format
IBM	ASCII with IBM code page conversion (DOS)
WK1	Spreadsheet format
DAT	ASCII data table with column tab

but in gui_upload the file types are..


ASC	ASCII
BIN	Binary

Arunima

Read only

Former Member
0 Likes
793

Hi,

below information is helpful to u.

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

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.

for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.