‎2008 Jan 02 4:56 PM
Hi,
I need to create a RFC connection from Non-unicode system to Unicode system .
My question is if data sending from non-unicode to Unicode system using the RFC, where the data to be converted to Unicode?
1). whether in non-unicode system itself we need to convert to unicode and send the data to unicode system?
or
2). After getting the data in Unicode system we need to convert?
a®
‎2008 Jan 02 7:50 PM
Hi a®s,
here a qoute from the sap online help at
RFC Between Unicode Systems and MDMP Systems
...
The language-related conversion of data takes place in the Unicode systems. Here, the Unicode systems emulate non-Unicode systems, thereby ensuring compatibility with old non-Unicode systems (downward compatibility).
...
I have no experience with this, but should not the unicode-system convert it automatically?
Kindly regards,
Stefan
‎2008 Jan 02 5:04 PM
Hi,
Not very sure though, but I feel you should convert the data first and then send it to unicode system.
Refer to the URL
http://help.sap.com/saphelp_47x200/helpdata/en/62/3f2cadb35311d5993800508b6b8b11/frameset.htm
Section: RFC and Unicode. It will give you some idea
Hope it helps..
Lokesh
Edited by: Lokesh Aggarwal on Jan 2, 2008 5:06 PM
‎2008 Jan 02 5:08 PM
Lokesh,
In Non-Unicode (for example 4.6 and 4.5 ) we don't have option to convert to unicode ie using class CL_ABAP_CONTAINER_UTILITIES
in that case i would i convert and send ?
a®
‎2008 Jan 02 5:11 PM
In that case, I feel you should not call any SAP standard FM or BAPI directly from a non unicode system. As it might lead to type mismatch and hence a Dump in the unicode system.
I guess.. you can create a wrapper over the RFC/BAPI and in the unicode system, you can do the conversion inside this wrapper and then call the SAP standard BAPI/RFC.
Check out the link I have provided in my above post, hope that helps a bit.
Lokesh
‎2008 Jan 02 5:19 PM
Lokesh,
Your suggestion will not worked out . because already systems are running in 4.5 and 4.6 are connected to 4.7 system. Now we are upgrading 4.7 to unicode. so the calls from 4.5 and 4.6 cannot be stopped
I think you got my view.
Any suggestions?
a®
‎2008 Jan 02 7:50 PM
Hi a®s,
here a qoute from the sap online help at
RFC Between Unicode Systems and MDMP Systems
...
The language-related conversion of data takes place in the Unicode systems. Here, the Unicode systems emulate non-Unicode systems, thereby ensuring compatibility with old non-Unicode systems (downward compatibility).
...
I have no experience with this, but should not the unicode-system convert it automatically?
Kindly regards,
Stefan
‎2008 Jan 02 8:09 PM
Thanks Stefan,
That solved my problem. so i need to concentrate on fm's in unicode system and give ability to them convert unicode into non-unicode if i am getting a call from a non-unicode system..
a®