on 05-23-2012 10:38 AM
hii hav developed a application to upload and download files in webdynpro abap by following the below link
files are getting uploaded but while downloading it showing unsupported format pls help ...?
actually my req is to upload ms word files and i hav to download and displayed in the same format....
http://wiki.sdn.sap.com/wiki/display/WDABAP/Upload+and+Download+files+in+Webdynpro+ABAP
thanks and regards
lokesh
hii as per this link
http://scn.sap.com/message/10006766#10006766
here it is saying that after downloading we have to save it as per our format required ex : .doc .docx like that ....
but i need to open directly the same format to be opened ....
let me know any solution pls...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Khushboo Sachdeva....
actually my requiremnt is to upload and download files into a ztable through webdynpro abap .....
uploading is working fine..
while downloading it is downloading but opening different format....
here static string is not possible ...
let me know any other solution pls..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
While uploading the file to ztable you must be stroing the file name in the Z table. Do you store the Extension of the file in the filename?
My question is - When you display the file in FILE_DOWNLOAD ui element, can you see the extension in file name?
I once faced an issue of the similar nature and it was happening because i was not paasing the extension of the file in the filename though i was passing Mime Type and file type. You still need extension in the filename.
Hi,
Please try one thing and check if it works.
Instead of using statement
ls_file_upload-FILE_NAME = ls_n_upload-FILE_NAME.
pass a static string in the file name
like
ls_file_upload-file_name = 'Abc.Doc'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.