Skip to Content
author's profile photo Former Member
Former Member

Conversion Problem when downloading to excel by using cl_abap_conv_out_ce

Hi All,

We are download some date to excel by using the class

CALL METHOD cl_abap_conv_out_ce=>create
encoding = 'UTF-8'
conv = lo_utf8.

CALL METHOD lo_utf8->write
data = lv_string.

Every thing is fine but for some special character its not displaying properly. please find the below example

text = Chief Operating Officer – CIS

after down load to excel the special character is changed as mentioned below.

Chief Operating Officer – CIS

Is any way is there to solve this problem its very urgent Thanks in advance.

Thanks & Regards,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 12, 2012 at 11:52 AM

    Dear Hemachandran,

    Please below logic to export the data excel,

    text = l_text
    buffer = l_xtext.

    i_filename = 'Report.xls'
    i_content = l_xtext
    i_mime_type = 'EXCEL'



    Manigandan D

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.