how to Solve the problem of displaying chinese

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Post Reply
kkktank
Posts: 13
Joined: Mon May 26, 2008 8:29 am

how to Solve the problem of displaying chinese

Post by kkktank » Mon Jul 28, 2008 2:14 am

e.g) there is a 6-cm-wide column and I wanna to display chinese char in it. As the Chinese char occupies 2 times space as the English char does, the Chinese char will be printed overlaped. And then the smartforms cannot work out the real
width of the text, so the text will exceed the boundary and printed at the next column instead of changing a new line.

Code: Select all

  DATA CONT_PARA TYPE SSFCTRLOP.
  CLEAR CONT_PARA.
  CONT_PARA-LANGU = '1'.
*call smartforms
  CALL FUNCTION FUNC_MODULE_NAME
    EXPORTING
      CONTRL_PARAMETERS = CONT_PARA

Nin
Posts: 96
Joined: Tue Apr 18, 2006 3:39 am

Re: how to Solve the problem of displaying chinese

Post by Nin » Fri Jan 16, 2009 6:07 am

Can you apply Note 1118824 - Thai abgeschnitten oder auseinandergezogen to your system it would help.

Thanks,

Nin

Post Reply