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: 

re: uploading fields

Former Member
0 Kudos

HI,

Can anybody tell advantages of gui_upload over ws_upload.

rgds

p.kp

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi

The function module WS_DOWNLOAD/WS_UPLOAD have been made obsolete

from 4.6C. i.e., they might not be supported by SAP in later

versions. Hence, it is a good idea to start working with

GUI_DOWNLOAD/GUI_UPLOAD.

The GUI fms have better error handling. I do not know much about its

superiority in memory handling, over WS fms.

SAPInfo control includes a new method to ask for the version of SAPGUI from ABAP coding. Call method GET_GUI_VERSION of class CL_GUI_FRONTEND_SERVICES.

regs

Arun

Message was edited by: arun a v

11 REPLIES 11

Former Member
0 Kudos

Hi

GUI_UPLOAD is new version of FM WS_UPLOAD, WS_UPLOAD is obsolete version so it could be deleted in the next releases of R/3.

Max

Former Member
0 Kudos

Hi Krishna Prasad,

WS_DOWNLOAD is obsolete, and GUI_UPLOAD is in use .<b>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</b>

Hope This Info Helps YOU.

<i>Reward Points If It Helps YOU.</i>

Regards,

Raghav

former_member188685
Active Contributor
0 Kudos

ws_upload is obsolete.(old version)

GUI_UPLOAD is new version.

vijay

Former Member
0 Kudos

Hi,

GUI_UPLOAD is UNICODE compatible which is not in the case of WS_UPLOAD

When using the function modules: (WS_)UPLOAD and (WS_)DOWNLOAD in SAP Enterprise (4.7) a popup appears, stating that the function module is obsolete and GUI_UP(or DOWN)LOAD should be used.

Regards,

Sakthi.

Former Member
0 Kudos

4 ws_upload is Obsolete : No longer supported by SAP. Use GUI_UPLOAD instead.

in ws_upload u have to specify the file name by hard coding in FM where as in GUI_UPLOAD u can pass at run time

Message was edited by: chandrasekhar jagarlamudi

christian_wohlfahrt
Active Contributor
0 Kudos

Hi!

Gui_upload is the modern version. E.g. it contains a routine virus_scan (if this might ever find something?), but in general it's adjusted for the modern releases with same functionality.

Regards,

Christian

Former Member
0 Kudos

hi

The function module WS_DOWNLOAD/WS_UPLOAD have been made obsolete

from 4.6C. i.e., they might not be supported by SAP in later

versions. Hence, it is a good idea to start working with

GUI_DOWNLOAD/GUI_UPLOAD.

The GUI fms have better error handling. I do not know much about its

superiority in memory handling, over WS fms.

SAPInfo control includes a new method to ask for the version of SAPGUI from ABAP coding. Call method GET_GUI_VERSION of class CL_GUI_FRONTEND_SERVICES.

regs

Arun

Message was edited by: arun a v

0 Kudos

Hi,

Thanks for quick response. But some people given gui_upload is unicode compatible. what is unicode compatible.

rgds

p.kp

0 Kudos

you can upload hexadecimal unicode data also using gui_upload.

vijay

0 Kudos

u can mention the filetype as ASCII ot DAT type

Unicode can be used to display the characters of all the languages in the world

checkout www.unicode.org

Message was edited by: chandrasekhar jagarlamudi

0 Kudos

Hi

this is the help for parameter CODEPAGE of GUI_UPLOAD:

Tst. br.

Character Representation for Output

Description

Code page for TEXT download

Value range

UTF8: Download in Unicode 8-bit format

UTF16-BE: Download in Unicode 16-bit format, big-endian alignment

UTF16-LE: Download in Unicode 16-bit format, little-endian alignment

SPACE: Code page of front-end operating system

Default

space

Max