Skip to Content
avatar image
Former Member

Issue while downloading the data into CSV file in Web Dynpro

Hi,

I am fetching the data into a string using FM 'SAP_CONVERT_TO_TEX_FORMAT' after that converting the string data into xstring using FM 'SCMS_STRING_TO_XSTRING' and then finally downloading the .csv file using

CL_WD_RUNTIME_SERVICES=>attach_file_to_response(
i_filename = l_file_name
i_content = l_xstring
i_mime_type = 'CSV'
i_in_new_window = abap_true ).

The execution is fine but the problem is I am getting junk values for a logo in the string.

The string Valuemax™ becomes 'VALUMAXâ„¢'

Can anyone please help me out why this is happening?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers