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

Difference between UPLOAD and WS-UPLOAD?

Former Member
0 Likes
1,900

hi,

I think upload is using classes and ws_upload is outdated. If iam wrong plz tell me the answer.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,183

Hi,

Upload is function used to write data from a file in the presentation server to internal table.here you get a dialog- box to enter the path of the file name.

Ws_upload also perfoms the same function , but without screen. here you do not get a dialog-box, rather you need to type the path of the file name.

Regards

Sudheer

7 REPLIES 7
Read only

Former Member
0 Likes
1,183

You should use <b>GUI_UPLOAD</b> -:) Actually the class for uploading calls that FM -;)

Greetings,

Blag.

Read only

Former Member
0 Likes
1,184

Hi,

Upload is function used to write data from a file in the presentation server to internal table.here you get a dialog- box to enter the path of the file name.

Ws_upload also perfoms the same function , but without screen. here you do not get a dialog-box, rather you need to type the path of the file name.

Regards

Sudheer

Read only

Former Member
0 Likes
1,183

Hi Naveen,

Both UPLOAD and WS_UPLOAD are outdated. Instead use GUI_UPLOAD.

Regards

Aneesh.

Read only

Former Member
0 Likes
1,183

HEllo,

UPLOAD - Gives a Popup to get the file name

WS_UPLOAD - Does not give a Popup to get the file name

Regards,

Vasanth

Read only

Former Member
0 Likes
1,183

Hi,

If u use upload u will get Pop up window where u can select ur File Path , But not in the case of WS_Upload u have to explicity code in filename optioin in Functmodule..

I Think this is the main Difference.

Reward Points if answer useful

Regards,

A.Thuyavan

Read only

Former Member
0 Likes
1,183

UPLOAD supports only ASCII and BINARY file formats.

WS_UPLOAD supports ASCII, BINARY and DAT file formats.

both are OBSOLETE as of now in 4.7 (+). use GUI_UPLOAD.

Reward points if usefull.

Thanks and regards,

Veerendrnath Maddula.

Read only

Former Member
0 Likes
1,183

Hi ,

You use UPLOAD OR WS_UPLOAD it doesn,t make much difference But both of them are obsolete in the updated versions like 4.7 and ECC 5. If you use these functions a message will be displayed saying 'the function ........ is obsolete do not use it' . There is a function module by name 'GUI_UPLOAD' which can be used instead. Try it, there will not be any obsolete message.

Rewards are precious, only if helpful.

Regards

Tharanatha H.

[email protected]

web. www.eminentlabs.com