Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

above downloading double character file

Former Member
0 Kudos

Hello experts:

i use the

CALL METHOD cl_gui_frontend_services=>gui_download

EXPORTING

filename = a_full_filename

filetype = a_filetype

  • TRUNC_TRAILING_BLANKS = SPACE

  • DAT_MODE = SPACE

  • CONFIRM_OVERWRITE = SPACE

  • NO_AUTH_CHECK = SPACE

  • CODEPAGE = SPACE

  • IGNORE_CERR = ABAP_TRUE

  • REPLACEMENT = '#'

IMPORTING

filelength = l_file_length

CHANGING

data_tab = at_stream.

to download file.

the parameter a_filetype = 'ASC' and the at_stream

likes following

1 [VARIANT] #[DESCRIPTION]#I_LAND1#I_MOLGA#I_SPRAS1#I_SPRAS2#I_WAERS#I_KTEXT_1#I_KTEXT_2#

2 * ###################

3 *ECATTDEFAULT ###################

4 HOME #Home (ZH)#CN##28#EN#ZH#CNY#Yuan#人民币#Chinese Yuan (international)#中国人民币#

why the Chinese word in downloaded file cannot be displayed

Best Regards,

Kevin

4 REPLIES 4

Former Member
0 Kudos

see the call funcation parameters.

REPLACEMENT = '#'

Former Member
0 Kudos

check your SAPGui setting for the SAP ssytem you are logging into. In there check the code page tab, and upload download encoding, and make sure it is correct.

Former Member
0 Kudos

hi

ask your system admin to configure your system for chineese language.

Former Member
0 Kudos

Hi,

Since that chinese language is not installed in ur application server, it is unable to recognise the chinese character and giving output in the form of # . so check with ur Basis guy in order to resolve this problem..

Rgds.,

subash