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

ws_upload

Former Member
0 Likes
820

what is the difference between ws_upload, gui_upload and ws_download and gui_download?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
791

hi,

gui_upload is the new version of ws_upload.

Both are used to upload the data.

But ws_upload is the older version and currently not used.

The same in the case of ws_download and gui_download.

7 REPLIES 7
Read only

Former Member
0 Likes
792

hi,

gui_upload is the new version of ws_upload.

Both are used to upload the data.

But ws_upload is the older version and currently not used.

The same in the case of ws_download and gui_download.

Read only

Former Member
0 Likes
791

Hi

ws_upload, gui_upload both are same but WS_UPLOAD is Obsolete now we have to use GUI_UPLOAD only

similarly

ws_download, gui_download , use GUI_download only

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

Former Member
0 Likes
791

Hi,

ws_upload/ws_download are obsolate.

use GUI_... .

i prefer

CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD

and

CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD

i think there are the actual once.

Regards, Dieter

Read only

Former Member
0 Likes
791

Hi Madhu,

WS_UPLOAD - Load Files from the Presentation Server to Internal ABAP Tables.

WS means Work Station.

This is used upto SAP 4.6 version.

GUI_UPLOAD - Replaces WS_UPLOAD. Upoad file from presentation server to the app server. From 4.7 SAP version it is replaced.

WS_DOWNLOAD is used to put the data in the presentation server file (C:\test.txt) with the data available in the internal table..

refer the foll. thread

Read only

Former Member
0 Likes
791

ws_upload & ws_download do not support Unicode characters. where as gui_download and upload fms support the unicode characters also.

Read only

Former Member
0 Likes
791

Hi,

WS_* Function modules are replaced by GUI_* FMs from 4.7 SAP version.

GUI_* modules have additional parameters when compared with WS_* FMs.

Both FM are used for uploading data .

But ws_upload is obsolete now .

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.

WS_UPLOAD, GUI_UPLOAD FMs are used in BDCs.

WS_UPLOAD loads files from the Presentation Server to Internal ABAP Tables.

This is used upto SAP 4.6 version.

GUI_UPLOAD is used to loads a file from the PC to the server. The data can be

transferred in binary or text format. Numbers and data fields can be

interpreted according to the user settings.

Read only

Former Member
0 Likes
791

Hi,

Nothing difference is there both are used to upload and download the data only.

Before 4.7 versions ws_upload is used to upload the data and ws_download is used to down load the data.

All the new versions after 4.7 version gui_upload is used to upload the data and gui_download is used to download the data.

Reward points if useful.

Thanks & Regards,

Vasudeva Rao