Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problems with special characters using filedownload

Hi!

I'm using the UI file-download element to download internal data from a web dynpro application (unicode ERP system)

using the following method:

lr_conv_out = cl_abap_conv_out_ce=>create( encoding = 'UTF-8' ).

lr_conv_out->convert(

exporting

data = lv_content

importing

buffer = lr_fh_node-content ).

node->bind_structure( lr_fh_node ).

(Nearly) everything works fine. The browser opens excel and displays content of string parameter lv_content.

But I have some problems with special charcters like german 'öäü' or other characters for example russian letters.

In the excel file there are shown like this:

almacén de cartón

cosÏu2020

1800000 âu201A¬)

Any ideas?

Thanks in adv.

Tags:
Not what you were looking for? View more on this topic or Ask a question