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: 

Purpose each of these is: Gui_upload and upload

Former Member
0 Kudos

Hi Friends,

Kindly let me know what the Exact Purpose each of these is: Gui_upload and upload

What is the difference between those two?

Akshitha.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Akshitha,

Both FM are used for <b>Transfer Presentation Server File to Internal Table with Length</b>. but UPLOAD is now obsolete and replaced by

<b>GUI_UPLOAD</b>

Regards,

Hemant

5 REPLIES 5

Former Member
0 Kudos

Hi,

UPLOAD fm is the old function module which is now obsolete. From 4.6C onwards SAP has delivered new FM's for uploading and that is GUI_UPLOAD.

the diff is UPLOAD pops up a box during runtime to accept the file path the GUI_UPLOAD does not pop up any box during runtime instead takes the path as a paramter.

This is what SAP HELP SAYS

Files on the Presentation Server

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.

Cheers

VJ

Message was edited by:

Vijayendra Rao

Former Member
0 Kudos

Hi,

GUI_UPLOAD

To Upload File from Presentation Server to Internal Table.

UPLOAD

To Upload File from Presentation Server to Internal Table.

Diference

Both are Same. But UPLOAD is absolute

Regards,

Ranjit Thakur.

<b>Please Mark The Helpful Answer.</b>

Former Member
0 Kudos

Hi Akshitha,

Both FM are used for <b>Transfer Presentation Server File to Internal Table with Length</b>. but UPLOAD is now obsolete and replaced by

<b>GUI_UPLOAD</b>

Regards,

Hemant

former_member404244
Active Contributor
0 Kudos

Hi,

The FM upload is obsolete..the difference between upload and gui_upload is that in gui_upload u need to pass the file name and file path in the program when u call the FM,but for upload u need to pass the file name and file path at runtime.

Regards,

Nagaraj

former_member196299
Active Contributor
0 Kudos

hi ,

Upload FM is for uploading the flat file from the presentation server to an internal table , which is obsolated now .

GUI_UPLOAD serves the same purpose and is in use now a days in sap .

Regards,

Ranjita