on 03-20-2008 2:26 PM
hi all,
Can i Have Sample Progarm or Steps to upload and download the file from Presentation Server
thanks
himanshu Sharma
Hi,
Make use of function modules 'GUI_DOWNLOAD' for dowloading a file into presentation server.
Data : v_download_path Type string( UR CHOICE),
p_v_data_tab type standard table of ( UR CHOICE)
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = v_download_path
filetype = 'ASC'
append = c_true
trunc_trailing_blanks = c_true
write_lf = c_true
TABLES
data_tab = p_v_data_tab
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
OTHERS = 22.
Similarly For uploading, you can make use of FM 'GUI_UPLOAD' .
Reward points if helpful.
Thanks,
Asha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
its quite simple....
use 2 fm's thats it ... to upload the data use GUI_UPLOAD OR WS_UPLOAD based on ur version and
use GUI_DOWNLOAD or WS_DOWNLOAD to download the file on to the local system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.