06-12-2008 7:24 PM
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?
Regards
Giri
06-12-2008 7:45 PM
Can you change the type of your RFC Parameter to STRING instead of CHAR?
06-17-2008 4:12 PM
Ravi,
when i send as string it showing binary characters at webmethods side...
any more inputs?
Giri
06-17-2008 4:18 PM
In the RFC, i would keep type CHAR but change your length from 10 to 20 to accomodate the Unicode.
06-17-2008 4:22 PM
Robert,
the first thing i did before posting in SDN.
even i made it to char 10 to 100
but it takes same....
RFC fm field value defined as 10 for that field.. i cant chnage the rfc...
thats the problem...
Giri
06-12-2008 7:47 PM
Hi,
Can u send sample code,where the value's getting truncated.
i think it's not the problem with the char field lenght.
cheers
D.sharma