on 02-12-2010 2:53 PM
Hi experts,
I have a problem with an export with a file excel from web dynpro. I have a table and I have a button "Export". My action "Export" has this code:
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = return_string
mimetype = lv_app_type
IMPORTING
buffer = return_xstring.
**Add the UTF-16 Little Endian Byte Order Mark to the begining of the file
CONCATENATE cl_abap_char_utilities=>byte_order_mark_little
return_xstring
INTO return_xstring IN BYTE MODE.
cl_wd_runtime_services=>attach_file_to_response( i_filename = 'TEMP.XLS'
i_content = return_xstring
i_mime_type = 'EXCEL' ).
but when I try to export the file, it appears on Information Bar of the browser this message:
To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options.
When I try to click on "Download File", the system doesn't work, nothing happens!
Any suggestion???
TKS!
Please, it is important: How can bypass the "information bar" when you export to Excel?
If you have some information for this problem, please suggest me!
Tks a lot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.