Application Development 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: 

regarding:ws_upload,ws_download

Former Member
0 Kudos
142

hi experts

can u say give me the differences between ws_upload and ws_download

thanks and regard

satya

1 ACCEPTED SOLUTION

Former Member
0 Kudos
97

Hi Seenu,

WS_UPLOAD Upload file from PC. Old version of GUI_UPLOAD .
WS_DOWNLOAD Download file to PC. Old version of GUI_DOWNLOAD 

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

5 REPLIES 5

Former Member
0 Kudos
97

Hi,

WS_UPLOAD is used to get the data from the presentation server file(C:\test.txt) and move it to an internal table..

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

Thanks,

Naren

Former Member
0 Kudos
98

Hi Seenu,

WS_UPLOAD Upload file from PC. Old version of GUI_UPLOAD .
WS_DOWNLOAD Download file to PC. Old version of GUI_DOWNLOAD 

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

ferry_lianto
Active Contributor
0 Kudos
97

Hi,

Check this information from other thread.

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,

Ferry Lianto

Former Member
0 Kudos
97

hi kumar,

this two are two obsolete function modules. They do their indented function such as uploading data from a file(ws_upload) and downloading data from sap into the presentation server file(ws_download).

In ws_download v have to give the filename and filetype as parameters., but in the case of download fn v can give the same during runtime.

Regards...

Arun.

Former Member
0 Kudos
97

hi

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.