Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Web Dynpro for ABAP- File Download Problem

$
0
0

WebDynpro Experts,

 

I encountered a problem in Web Dynpro for ABAP.  Hope you could shine some lights on it

 

I added a file upload and download feature in an ABAP WebDynpro application. But I have an issue when I try to download a file. It works for file type like jpg, pdf or txt, but not for MS documents like doc, docx, xls, xlsx, or ppt. 

 

I remember the file download used to work for all file types. Maybe the new SAP support pack we lately installed broke it.       

Steps for Reconstruction   

1) I created a sample app based on the following tutorial.
http://wiki.sdn.sap.com/wiki/display/WDABAP/Upload+and+Download+files+in+Webdynpro+ABAP

 

2) Click on the Browse button to select any word or excel documents
like doc, docx, xls or xlsx from your local machine. Then click on
Upload button. You will see the uploaded file is added to the table
below.

 

3) Click on the file you just uploaded or any files that I have
uploaded. The doc or xls file displays in a mess. The docx or xlsx file
opens or saves in a weird zip file format (See detailed error in the
attached file.)

 

Any help would be greatly appreciated with awarded points.

 

Thanks

Joanna


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>