Application Development and Automation 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: 
Read only

chinese characters....

kowong
Participant
0 Likes
6,045

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
Read only

Former Member
0 Likes
4,761

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.

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

15 REPLIES 15
Read only

Former Member
0 Likes
4,761

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?

Read only

kowong
Participant
0 Likes
4,761

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

Read only

0 Likes
4,761

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

Read only

Former Member
0 Likes
4,761

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

Read only

kowong
Participant
0 Likes
4,761

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

Read only

Former Member
0 Likes
4,761

Did you give enough of space for UOM

Read only

kowong
Participant
0 Likes
4,761

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

Read only

Former Member
0 Likes
4,761

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

Read only

0 Likes
4,761

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

Read only

0 Likes
4,761

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

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.

Read only

0 Likes
4,761

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 ?

Read only

Former Member
0 Likes
4,762

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.

Read only

0 Likes
4,761

Gave up !

and the solution is...

force the Chinese users to learn English...

that's it...

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

Read only

0 Likes
4,761

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 ?

Read only

0 Likes
4,761

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

SELECT * FROM T006A

WHERE MSEHI = < MEINS >

AND SPRAS = < CHINESE LANGUAGE >