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

Unicode to webmethods

Former Member
0 Likes
722

Hi experts,

I have a unicode issue with webmethods...

First:

From SAP 4.7 Non-unicode system i sent the data through RFC to webmethods, everything was fine.

Second:

From ECC 6.0 A UniCode system, i sent the data through same RFC, made it as Unicode, to webmethods. But i am getting only half of the data.

Ex: field1 is 10 characters length.

field1 = 'ABCDE12345'.

In webmethods i am getting only 'ABCDE'.

i came to know that unicode takes 1 char = 2 bytes..

so pls help me to come out of this issue?

Syed

3 REPLIES 3
Read only

Former Member
0 Likes
591

Syed,

As well as setting the unicode flag in the RFC setting at the SAP end, you also need to go into the setting for the SAP adapter in Webmethods and mark the corresponding listener at the webmethods end to Unicode.

As per this picture:

[http://img.photobucket.com/albums/v498/mrtubbi/unic_wm.jpg]

Tim

Read only

0 Likes
591

Tim,

RFC destination in SAP R/3 and SAP Adapter Listener in WebMethods has been checked as Unicode.

When i try to send it from ZRFC FM to webmethods data is passing fine.

When i try to send it via WM PUSH EVENT fm in SAP Adapter at Webmethods, data is truncating.

I thought it is problem in that FM which doesnot support unicode version of SAP.

Any idea on this will be helpful

Syed

Read only

0 Likes
591

Hi Syed,

The only other thing I can think of is that we had similar problems and ended up needing to patch both the integration server (webMethods Core) and the SAP adapter as well.

What patch levels/version are you on for your webMethods components?

As you are probably already aware: be very careful when patching webMethods.

Hope this helps you,

Tim