11-15-2005 12:56 AM
Hi all...
I am facing a problem in displaying chinese charactors....
the word it shows "ö>" where it should be "öÒ"
I thought the ">" was cause by not enough space in the report to display...
but when i allocate the maximum space for it, same thing happen....
And, if i save the output report into html or txt, no problem for that...it displayed "öÒ"..
Did anyone encounter this before? Thanks in advance....
11-15-2005 3:42 AM
hi
The first step for translation is that u have to change the regional settings in your computer. If you have done that already, i think the problem may be that in the reoport the length of the field is smaller than the space required for the chinese characters.
Even if it is done i think you can try doing this, go to se63 translate the field once again and save it. I think this should solve your problem.
Regards.
Lavanya.
11-15-2005 1:05 AM
Go to start-> settings -> control Panel ->regional settings. In the table below you have to select the check box for Simplified Chinese and Traditional Chinese. Then it should support displaying the Chinese characters.
If this doesn't work, tell me the logon laguage you are using in SAP?
11-15-2005 1:33 AM
yes i did that...it was able to display chinese character...just that, some of the character doesnt fully displayed.... '>' in stead of 斤
11-15-2005 1:33 AM
yes i did that...it was able to display chinese character...just that, some of the character doesnt fully displayed.... '>' in stead of Ò
i log in as language ZH
11-15-2005 1:39 AM
When you setup multiple languages in your system you can see the default langauge in the status bar below. If you left click, the system will diplay all the languages and if you right click you can set the default language. ALso in the regional settings select the chinese langage as the default. I hope if you make all these changes you can be able to see the chinese texts. It worked for me.
If you still face the problem please let me know what settings you made for the language in your system
11-15-2005 2:28 AM
Thanks again...Mr. Nagarani Tummala
the problems goes like this....
http://www.geocities.com/cocwaye/sap.JPG
When i save the output report into html format, it s goes fine....
11-15-2005 3:08 AM
11-15-2005 3:14 AM
yes, aha...i was thinking just like you....
i thougt there was not enough space....
and i tried to list only the UOM, it goes the same....
11-15-2005 3:26 AM
Each chinese character will take two bytes where as english character takes one byte. Becuase UOM is just 3 characters, try this way
select UOM from VBAP into v_UOM where <condition>
Here v_UOM should be atleast 6 characters. You have to change the code according to your requirement
11-15-2005 4:26 AM
as what you said...i convert into character length 6 or more....the words changed to english....
***************************************
data: m_meins(6) type c.
select meins from mara into (m_meins) .
write: / m_meins.
endselect.
***************************************
if i do this
***************************************
data: m_meins like mara-meins.
select meins from mara into (m_meins) .
write: / m_meins.
endselect.
***************************************
the chinese charactor display incomplete....just like what i ve said in
11-15-2005 5:42 AM
*************************************
data: m_meins like mara-meins.
data: mm_meins(50) type c.
select meins from mara into (m_meins) .
write: / m_meins. "<----
this is in chinese
mm_meins = m_meins.
write: / mm_meins. "<----
converted into english
endselect.
11-15-2005 6:25 AM
the field type of mara-meins is 'UNIT' wihch is char of length 3, which isnt enought for chinese character more than one......
but if i convert it into larger length , as stated in previous post, it change to english...
anyone have a code on how to translate it into chinese ?
11-15-2005 3:42 AM
hi
The first step for translation is that u have to change the regional settings in your computer. If you have done that already, i think the problem may be that in the reoport the length of the field is smaller than the space required for the chinese characters.
Even if it is done i think you can try doing this, go to se63 translate the field once again and save it. I think this should solve your problem.
Regards.
Lavanya.
11-15-2005 8:43 AM
Gave up !
and the solution is...
force the Chinese users to learn English...
that's it...
Thanks for those who post replies....anyway....
11-16-2005 2:31 AM
the field type of mara-meins is 'UNIT' wihch is char of length 3, which isnt enought for chinese character more than one......
but if i convert it into larger length , as stated in previous post, it change to english...
anyone have a code on how to translate it into chinese ?
11-16-2005 7:07 AM
GOT THAT.....THANKS EVERYONE....
SELECT * FROM T006A
WHERE MSEHI = < MEINS >
AND SPRAS = < CHINESE LANGUAGE >