cancel
Showing results for 
Search instead for 
Did you mean: 

WD export to Excel error

Former Member
0 Kudos

Hi experts,

WD application is embedded in portal, export to excel is made with the use of :

cl_wd_runtime_services=>attach_file_to_response(

     i_filename = l_filename

     i_content =  lv_xtext  "xstring variable

     i_mime_type = 'APPLICATION/MSEXCEL;charset=ISO-8859-1' )

Exported is only a first line. I've checked CR and TAB signs in the string, everything looks OK. It also works fine when I'm executing WD in the browser. Any ideas how to solve it? Thank you in advance.

BR

Paul

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Please check lv_xtext having all correct data. and CL_ABAP_CHAR_UTILITIES=>NEWLINE

is working fine which is use for adding data in new line.

BR

Chandra..

Answers (0)