cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to download attached .xlsx , .PDF & .docx file in webdynpro ABAP ??

0 Kudos

Hello Experts,

In a webdynpro ABAP application, we have developed a file upload functionality. Attachment is successful with file_name, file_content & MIME_type.

While downloading, only .TXT format is successfully downloaded with contents. But not able to view content of .xlsx , .pdf & .docx files. 

Error message :  file is corrupted / could not open / damaged.

Kindly help.

Thank You !

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi,

I suspect mime type of attachment was not stored properly. How are you storing the files, is it table/GOS?

Regards,

Rama

0 Kudos

Hi,

Tables. Even if , the moment I attach the file & try to download it.....error pops up.

0 Kudos

Issue fixed. !!

Thanks!!

ramakrishnappa
Active Contributor
0 Kudos

Hi,

Update the solution and close the ticket.

0 Kudos

Hi,

MIME type issue.

Answers (0)