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

RFC between Non-Unicode and Unicode System

former_member194669
Active Contributor
0 Likes
2,666

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®

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,229

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

6 REPLIES 6
Read only

Former Member
0 Likes
1,229

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

Read only

0 Likes
1,229

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®

Read only

0 Likes
1,229

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

Read only

0 Likes
1,229

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®

Read only

Former Member
0 Likes
1,230

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

Read only

0 Likes
1,229

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®