cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with the export in excel

Former Member
0 Kudos

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!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

it's an IE issue. Try this [link|http://support.microsoft.com/kb/843017/en-us].

Kind regards

Andreas

Former Member
0 Kudos

tks! solved! I add to trusted site my web dynpro...

Edited by: webdynpro.gc on Feb 15, 2010 2:29 PM

Answers (0)