Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

chinese characters....

kowong
Participant
0 Kudos

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....

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

15 REPLIES 15

Former Member
0 Kudos

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?

kowong
Participant
0 Kudos

yes i did that...it was able to display chinese character...just that, some of the character doesnt fully displayed.... '>' in stead of 斤

0 Kudos

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

Former Member
0 Kudos

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

kowong
Participant
0 Kudos

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....

Former Member
0 Kudos

Did you give enough of space for UOM

kowong
Participant
0 Kudos

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....

Former Member
0 Kudos

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

0 Kudos

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

http://www.geocities.com/cocwaye/sap.JPG

0 Kudos

*************************************

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.

0 Kudos

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 ?

Former Member
0 Kudos

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.

0 Kudos

Gave up !

and the solution is...

force the Chinese users to learn English...

that's it...

Thanks for those who post replies....anyway....

0 Kudos

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 ?

0 Kudos

GOT THAT.....THANKS EVERYONE....

SELECT * FROM T006A

WHERE MSEHI = < MEINS >

AND SPRAS = < CHINESE LANGUAGE >