cancel
Showing results for 
Search instead for 
Did you mean: 

How to upload/download file to/from server using FiledownloadUI ?

vishesh_malik
Participant
0 Kudos

Hi experts,

I don't have much experience of WDABAP. I have to upload a file to server and then download it again. I have implemented this functionality but I am unable to view contents of .xls/.doc/.docx/.msg file only txt file contents are properly visible. I have used following command to upload the file:-

OPEN DATASET fname FOR OUTPUT IN BINARY MODE.

I had also tried this but it is throwing exception that it can be used only for character type data.

OPEN DATASET fname FOR OUTPUT IN TEXT MODE ENCODING UTF-8 WITH SMART LINEFEED.

Thanks in advance.

Problem Solved!

Regards,

Vishesh

Edited by: Vishesh@1986 on Sep 26, 2011 7:37 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

vishesh_malik
Participant
0 Kudos

I have resolved the issue myself!!!