Skip to Content
0
Former Member
Jul 09, 2007 at 04:25 PM

Java <JCo> SAP XI <RFC> SAP R/3 6.C ... Unicode issue

13 Views

Hello,

My scenario is very simple. I'd like to connect a Java program to a SAP R/3 (MDMP) for RFC calls (in both direction), using SAP XI (some of the RFC calls will redirected to some other systems). I use SAP JCo v2.1.8 and tried with Java 1.4.2_09 and Java 6.0.

It works well when the Java program is calling a function module, but when SAP R/3 is doing it, the returned texts looks like: S#A#P# #J#C#o# #v#2#.#1#.#8# #(#2#0#0#6#-#1#2#-#1#1#)# (the text should be SAP JCo v2.1.8).

It looks like an issue with Unicode. Although I didn't check the Unicode checkbox in the RFC sender adapter (the RFC receiver one doesn't offer the possibility to specify unicode or not).

Do anyone have a solution ? Is it a code in the Java program or something to set in SAP XI / SAP R/3 ?

Thanks in advance for your help.