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

bdc

Former Member
0 Likes
467

what is difference between ws_upload and gui_upload?

3 REPLIES 3
Read only

Former Member
0 Likes
443

Ws-upload is a function module used to upload the data into SAP R/3 at lower versions.

Now wsupload is replaced by gui upload function module . it is always advantageous to use gui upload.

But both function modules does the same thing.

you have more functionalists in gui upload like comma delimiting you don't have those features in wa upload.

Reward points if found useful.

Read only

Former Member
0 Likes
443

Hi Jaya,

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.

GUI_UPLOAD has some additional parameters compared to WS_UPLOAD

GUI_UPLOAD is the improved version of ws_upload. There are many more importing parameters in GUI_UPLOAD when compared to ws_upload.

It is also recommended that you should use GUI_UPLOAD instead of 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

Regards,

Priyanka.

Read only

Former Member
0 Likes
443

Hi,

there is not much diff.

gui_upload is the replacement for ws_upload and has some additional interface parameters

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

Gaurav