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

BAPI double byte characters issue

Former Member
0 Likes
448

Hi,

I am testing a BAPI call through ActiveX to retrieve data from R/3. However, when retrieving data from a table, the data with chinese characters will become '###' in it content, but all non-chinese data is fine. I believe it was caused by automatic conversion of characters. I have search a lot of threads but still can't find answer. Could anyone give me a hint how could I do? Thanks a lot.

My environment is, SAP R/3 4.6 with unicode activated. Client with Windows XP chinese version. Any hint is appreciated.

Daniel.

2 REPLIES 2
Read only

Former Member
0 Likes
395

I have figured it out. I didn't set the code page to 4110. That will solve the problem.

Daniel

Read only

0 Likes
395

I also need to figure out that you will need to use OLE Object "SAP.BAPI.Unicode.1" instead of "SAP.BAPI.1" in order to active unicode processing.

Hope this could help anyone who have the same problem as me.

Daniel.