Skip to Content
0

Unknown Junk character in Chinese mail

Feb 03, 2017 at 12:23 PM

86

avatar image

unknown-chanarcter.pngHello All,

I am facing a wierd issue wherein in SOST the output of my Chinese mail looks good however in my outlook mail box I am getting an unknown character in mail body.

i have checked the SO10 text which is read for creating mail body noting seems to be wrong. In SOST also output mail looks good. Just in inbox at the end this character is appended. Please note that rest of the email is good and coming perfectly in chinese.

10 |10000 characters needed characters left characters exceeded

Please help me to resolve this issue

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

omer sakar Feb 03, 2017 at 12:54 PM
0

Hi,

While getting lines from SO10 ,you can call function 'CONVERT_ITF_TO_ASCII' after 'READ_TEXT' function.

Best Regards,

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks Omer for taking time to respond to my query.

Here do i need to mention language etc optional fields? Shall I just pass the table from Read_text FM directly here ?

CALL FUNCTION 'CONVERT_ITF_TO_ASCII'
* EXPORTING
* CODEPAGE = '0000'
* FORMATWIDTH = 72
* LANGUAGE = SY-LANGU
* TABLETYPE = 'ASC'
* TAB_SUBSTITUTE = ' '
* LF_SUBSTITUTE = ' '
* REPLACE_SYMBOLS = 'X'
* REPLACE_SAPCHARS = 'X'
* IMPORTING
* FORMATWIDTH_E =
* X_DATATAB =
* C_DATATAB =
* X_SIZE =
TABLES
itf_lines = lt_lines
* EXCEPTIONS
* INVALID_TABLETYPE = 1
* OTHERS = 2

0
omer sakar Feb 03, 2017 at 02:21 PM
0

itf_lines : your import internal table(this is internal table from read_text )

C_DATATAB : your export internal table

CALL FUNCTION 'CONVERT_ITF_TO_ASCII'

    EXPORTING

      language  = sy-langu

      tabletype = 'ASC'

    IMPORTING

      c_datatab = ct_datatab

    TABLES

      itf_lines = itf_lines[].
Share
10 |10000 characters needed characters left characters exceeded