10-21-2008 3:46 AM
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
10-21-2008 3:48 AM
10-21-2008 3:51 AM
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.
10-21-2008 5:53 AM
hi
ask your system admin to configure your system for chineese language.
10-21-2008 5:56 AM
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