Skip to Content
0

Issue while downloading the data into CSV file in Web Dynpro

Feb 02, 2017 at 08:51 AM

28

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers