What is ws_upload, upload and gui_upload?
while i am doing recording sing fk01 in bdc when i am trying to upload .prn file one message is coming i.e. ws_upload is obsolete use gui_upload? then i used gui_upload but .prn file not uploading?why?
Hi
GUI_UPLOAD is the new fm has replaced the WS_UPLOAD, when u uses it u make sure the file is beeing loaded has to be closed in your pc.
Anyway it's better u post the code where u call that fm.
Max
Similar Messages
-
WS_UPLOAD,WS_DOWNLOAD and GUI_UPLOAD,GUI_DOWNLOAD.
Hi,
Any one Explain difference between WS_UPLOAD,WS_DOWNLOAD and GUI_UPLOAD,GUI_DOWNLOAD.
Regards,
Mayahi maya,
ws_upload and gui_upload, will do the same funtionality.
ws_download and gui_download will do the same functionality.
but ws* are obsolete.
Regards....
Arun.
Reward points if useful. -
What are the uploads and downloads speeds
what are the upload and download speeds of the time capsule?
what are the upload and download speeds of the time capsule?
If you are asking about Internet download and upload speeds, this is limited by your service plan with your Internet provider.
It might be something like 10 Mbps download and 2 Mpbs upload, for example. That's because on most home plans, the download speeds are typically much faster than the upload speeds....unless you opt for a business type connection at significantly higher cost.
The Time Capsule is capable of much faster speeds than your service provider can ever deliver, so the bottleneck on your network will always be the Internet connection...not the Time Capsule. -
Hi,
We have just upgraded to ERP2005 from 4.5B and would like to know how I can change the program from calling the function 'UPLOAD' to use 'GUI_UPLOAD'.
It seems that 'GUI_UPLOAD' doesn't prompt user for the file to be upload. Which function should I call so that the user will be prompt for selecting the file to be upload.
Many Thanks in advance
FrancisHey Francis,
you can use the following logic so that the user will be prompt for selecting the file to be uploaded.
*& Report ZKUN_FILE1 *
REPORT ZKUN_FILE1 .
tables : zkunal1.
data : begin of itab1 occurs 0.
include structure zkunal1.
data: end of itab1.
data : begin of gv_itab occurs 0.
include structure zkunal1.
data: end of gv_itab.
*data : begin of gv_itab occurs 0,
fname like zkunal1-fname,
lname like zkunal1-lname,
place like zkunal1-place,
end of gv_itab.
data : gv_file type string.
*SELECTION SCREEN *
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
<b>PARAMETERS: p_file LIKE ibipparms-path obligatory.</b> " For file selection
SELECTION-SCREEN END OF BLOCK b1.
*AT SELECTION SCREEN *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
<b>CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
IMPORTING
FILE_NAME = p_file.</b>
*START OF SELECTION * *
START-OF-SELECTION.
P_FILE is not compatible with the FM GUI_UPLOAD, so pass it to
GV_FILE.
gv_file = p_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = gv_file
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = '#'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
tables
data_tab = gv_itab
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*FIELD-SYMBOLS: <fs_zco001> TYPE zco001.
select * from zkunal1 into table itab1. "#EC CI_NOWHERE
loop at gv_itab.
write : / gv_itab-fname, gv_itab-lname, gv_itab-place.
endloop.
Regards,
Kunal.
Message was edited by: Kunal Kumar -
What are the upload and down load speeds suppose to be at?
With the speed changes from on blast from 50 Mbps to 105 Mbps on downloads was the uploads changed at all? I can't find anywere what the uploads speeds are suppose to be. Just wanted to make just I am getting what I pay for.
AmberMcIntosh wrote:
With the speed changes from on blast from 50 Mbps to 105 Mbps on downloads was the uploads changed at all? I can't find anywere what the uploads speeds are suppose to be. Just wanted to make just I am getting what I pay for.Despite variations in Blast! download speed depending on area, the upload speed has remained the same with upgrades at 10Mbps. -
Change from UPLOAD to GUI_UPLOAD function module
pls let me know that wat are the changes that should be made if the report currently using UPLOAD function module and it should be replaced with GUI_UPLOAD function module ..
wat should be the TYPE of file name and File type ???????? with the respect to changes ....
thanks . in advance..Check out this thread to find the answer
UPLOAD and GUI_UPLOAD
Regards,
Santosh -
What is the difference between ws_upload and gui_upload
what is the difference between ws_upload and gui_upload
what is the difference between ws_download and gui_down load
pls tell brieflyHi Kuamr,
UPLOAD and 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. UPLOAD and 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.
Hope this resolves your query.
Reward all the helpful answers.
Regards -
What is the difference between UPLOAD and WS_UPLOAD?
Hi,
What is the difference between UPLOAD and WS_UPLOAD?
Best Regards,
GopalHi,
Both upload and ws_upload does the same functionality, that is transfere data from presentation server to application server or from PC to SAP system(to an internal table).
There are very few difference between the two.
1 Upload requires a User Interaction for uploading i.e., user has to respond to the dialog boxes that appear WS_Upload does not. You just need to specify the file location in the function input parameters itself.
2 upload - u can give the file in run time wsupload - u have to give in Function module
3 upload is meant to be used by abappers. ws_upload is meant to be called by SAP. It is not a standard ABAP command.
4 ws_upload is Obsolete : No longer supported by SAP. Use GUI_UPLOAD instead.
The fm WS_UPLOAD was the first version of fm to get a file from presentation server, now from 4.6 it's obsolete, the new fm is GUI_UPLOAD.
The fm UPLOAD is the fm used in several applications, like ABAP editor, to upload the file.
In the some versions (it depends on patch level) UPLOAD can call WS_UPLOAD (or GUI_UPLOAD).
Last but not the least, 'upload' internally calls 'ws_upload', that's the difference.
Hope this would be helpful.
regards,
Varun. -
What is the main difference between ws_upload and gui_upload?
Hi All,
What is the main difference between ws_upload and gui_upload?
In what contexts should we use these two function modules??
Thanks,
Creasysearch the forum before posting.
You can find lot of posts related. -
What is difference between WS_UPLOAD and GUI_UPLOAD
Dear gurus,
Because my office implement SAP for a long time ago so some programs contain WS_UPLOAD function and I find that is obsolete so I want to know what is different or benefit if I modify program to use GUI_UPLOAD function instead of WS_UPLOAD function
If you have related document please give me the link.
Thank you,Hi,
WS_Download Function module is used in 4.6 c version and it is obsolete.From 6 version u need to use
GUI_Download.
WS_DOWNLOAD is obsolete function module for storing SAP data in a file in the file system of the presentation server.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = ' '
CODEPAGE = ' '
FILENAME = ' '
FILETYPE = 'ASC'
MODE = ' '
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
COL_SELECT = ' '
COL_SELECTMASK = ' '
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = lt_datatab
FIELDNAMES =
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
Now you ave to use method or function module GUI_DOWNLOAD
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
EXPORTING
BIN_FILESIZE =
FILENAME = lv_filename
FILETYPE = 'ASC'
APPEND = SPACE
WRITE_FIELD_SEPARATOR = SPACE
HEADER = '00u2032
TRUNC_TRAILING_BLANKS = SPACE
WRITE_LF = 'X'
COL_SELECT = SPACE
COL_SELECT_MASK = SPACE
DAT_MODE = SPACE
CONFIRM_OVERWRITE = SPACE
NO_AUTH_CHECK = SPACE
CODEPAGE = SPACE
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = SPACE
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = SPACE
WK1_N_SIZE = SPACE
WK1_T_FORMAT = SPACE
WK1_T_SIZE = SPACE
IMPORTING
FILELENGTH =
CHANGING
DATA_TAB = lt_datatab
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
NOT_SUPPORTED_BY_GUI = 22
ERROR_NO_GUI = 23
others = 24
Thanks,
Anitha -
What's the difference between FM 'UPLOAD' and FM 'ALSM_EXCEL_TO_INTERNAL_TABLE'
thanks!hi,
Generally FM 'ALSM_EXCEL_TO_INTERNAL_TABLE' is used for reading Excel sheet i.e, either row wise or column wise . where as WS_UPLOAD will read the entire data in to an internal table in a file format.
for illustration as how it is used check this out
PARAMETER p_infile like rlgrap-filename.
*START OF SELECTION
call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
exporting
filename = p_infile
i_begin_col = '1'
i_begin_row = '2' "Do not require headings
i_end_col = '14'
i_end_row = '31'
tables
intern = itab
exceptions
inconsistent_parameters = 1
upload_ole = 2
others = 3.
if sy-subrc <> 0.
message e010(zz) with text-001. "Problem uploading Excel Spreadsheet
endif.
http://www.sapdevelopment.co.uk/file/file_upexcelalt2.htm
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = gd_file
has_field_separator = 'X' "file is TAB delimited
TABLES
data_tab = it_record
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc NE 0.
write: 'Error ', sy-subrc, 'returned from GUI_UPLOAD FM'.
skip.
endif.
http://www.sapdevelopment.co.uk/file/file_uptabpc.htm
Regards,
Santosh -
Difference between ws_upload and gui_upload
hi
could anybody tell me
what is the difference between ws_upload and gui_upload
dont say ws_upload is 4.6c version and
gui_upload is 4.7 version.
there might be some difference na thats why they migrate it.
could you plz tell me the differnce
it ll very helpful to me
thanx
kals.Hi Kalyan,
SAP 4.72 onwards system is unicode compliant.
THE WS_DOWNLOAD and WS_UPLOAD function modules are not compatible for unicode systems.
So it is replaced with this new FM GUI_UPLOAD.
There is a SAP note on this issue Note 992677 - FMs WS_DOWNLOAD & WS_UPLOAD incompatible for unicode systems
regards,nishant
please reward points if this helps. -
Differnece between ws_upload and gui_upload
Hi
can u plz tell me what is differnece between ws_upload and gui_upload.Hi,
below information is helpful to u.
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 , 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.
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.
for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation. -
How do i decide what files iCloud does and does not upload/store?
Hello,
I am in the process of uploading my music to the iCloud.
This includes music from the iMatch facility that I am subscribed to as well as other music that I need to upload because it’s not available in the ITunes store.
I have a question?
How do I control what files/playlists etc are uploaded to the cloud??
As at present I only have 50GB of storage, how to I best manage this to see what I have and check I upload all that I want?
In the same way as doing a standard sync with your iPod/iphone to your PC, you can control what playlists and tracks that you add and which you don’t?
How in essence do I do this with ICLOUD and prioritize what it holds??
Appreciate your feedback folks
Simon.Hi Kirk,
Thank you for your response.
I was under the impression that the limit was 50GB max or 25,000 files whichever came first?
I have a total of 80gb :-)
Anyway, if the limit is 50GB and say for somereason i only wanted to upload 3/4 of my files to the cloud, how do i detrmine which ones are uploaded and stored via match or non match upload and which remain outisde the cloud?
Can this be done?
Regards
Simon. -
Ws_upload and GUI_upload ....
Hi Everyone,
I got a query, I have tried using ws_upload and gui_upload both in the program...... the codes are below, If I try using .xls it gives only garbage in the internal table. .txt format is working fine. Can anyone help by haveing a look at the code piece where am I going wrong. i trid these piece of codes in both ECC6.0 and 4.6.
**************CODES BELOW*******************
FORM UPLOAD_PS_PRICE .
DATA:L_CURR LIKE EKPO-NETPR.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = p_local
filetype = 'DAT'
has_field_separator = 'X'
TABLES
data_tab = t_ps_price
exceptions
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
ENDIF.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = P_LOCAL
FILETYPE = 'DAT'
TABLES
DATA_TAB = T_PS_PRICE
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10.
IF SY-SUBRC <> 0.
MESSAGE S002 WITH TEXT-007.
ENDIF.hi
good
did you debug the code and try to find out where is the exact error is, because it is quite difficult to give you the correct reply with this bit of code.
thanks
mrutyun^
Maybe you are looking for
-
Message failed in PI: Status code 200 But Error During Response Parsing:
Hi I have integration scenario for sending PO/PO change/Proact from R/3 to SNC, everything was working till yesterday morning and suddenly all messages are failing in SAP PI with below error. We have not done any changes. The strange thing is this is
-
OK, here's the problem. I produced my first 40 minute long presentation of still pictures, mixed with six short movie clips. There is a soundtrack running in sync with the pictures, going to mute when the movies run. I finished the presentation and c
-
Getting error when running process flows in oem
Hi all, I'm trying to run a process flow in oem (using oem_exec_template.sql script), but it keeps failing with error "nms-1013: sqlplus does not exist". I tried running a map too and it failed with same message. Any idea anyone? Thanks! Yanet
-
All Korean users are using V20 firm with their 580...
Although Nokia is not so famous company in Korea because Samsung and LG are dominant mobile phone companies, there are more than 80,000 5800-users. But all of them use their phone with V20 firmware.Can you believe it ? 5800's price in Korea is $470 w
-
Why does my data plan get full fast?
what should i do not to waist my data? i have limited and its full in two weeks!!! what can i do on the iphone change settings or what need help.