cancel
Showing results for 
Search instead for 
Did you mean: 

Chinese Characters in ABAP Mapping

Former Member
0 Kudos

Hi All,

I have one problem with chinese characters in ABAP Mapping. Actually there is an ABAP Mapping written in XI which converts IDoc to Idoc Flat file which is provided by SAP and is in the below link.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc...

Chinese characters are properly coming to XI but after this ABAP mapping those characters are being replaced with #. Any idea on this pelase?

Regards,

Dinakar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi !

Check this thread:

Regards,

Matias

ps:please award points if helpful.

Former Member
0 Kudos

Hi Matias,

Thanks for your reply. I have tried with various options for setting encoding in ABAP Mapping. But i did not get it.

If you can provide me the code to explicitly set encoding in the ABAP Mapping code which i have provided in the link, it would be great.

Regards,

Dinakar

Former Member
0 Kudos

Hi !

I think this can help:

Regards,

Matias.

Former Member
0 Kudos

Hi Matias,

Thanks for your reply.

But here after this ABAP Mapping only chinese characters are being replaced with #. So i think even if u use this adapter module in receiver adapter this will not change the characters from # back to chinese characters.

Regards,

Dinakar

Former Member
0 Kudos

Hi !

Are all of your systems unicode? (the ones of this scenario) ?

regards,

matias

Former Member
0 Kudos

Hi Matias,

Thanks a lot for your helpful answers.

The problem is solved by using MIMETYPE = 'TEXT/XML;CHARSET=UTF-8' in the code.

Regards,

Dinakar

Answers (1)

Answers (1)

Former Member
0 Kudos

HI Guru's,

I'm new to ABAP. We have created a program which shows label's in English. Now the user wants to show these labels in Chinese. What would be the most suitable way to do this. User will be providing us with the exact chines words. Can we store these Chinese words in the Dictionary or is there an inbuilt translator to do this. Please help me.

Regards,

Yohan