Skip to Content
avatar image
Former Member

above downloading double character file

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Oct 21, 2008 at 02:48 AM

    see the call funcation parameters.

    REPLACEMENT = '#'

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 21, 2008 at 02: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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 21, 2008 at 04:53 AM

    hi

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 21, 2008 at 04: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

    Add comment
    10|10000 characters needed characters exceeded