Skip to Content
0
Former Member
Jul 07, 2009 at 02:45 PM

Unicode mismatch RFC client and repository

95 Views

Hello,

we are trying to connect an old RFC client application (written in CPP with CRfcLib / RfcLib) to a new SAP ECC 6.0 Unicode system via SAP XI (because customer moved from SAP 4.6 to 6.0 and introduces XI). The client calls an RFC, and even gets a successful return code, however XI receives wrong data from the RFC client, looks like some bytes are shifted. I then noted the following statement in the NW 7.0 help:

"The RFC metadata repository must be compatible with the sender and receivers systems with respect to Unicode.

A Unicode sender or receiver system must have a Unicode RFC metadata repository.

A non-Unicode sender or receiver system must have a non-Unicode RFC metadata repository."

So I assume that XI reads the Unicode metadata and so parses wrong field lengths.

As our old application is non unicode, we have now a mismatch. We would like to avoid to rework the whole CPP source to make it Unicode compatible. Is there some way to get around that above restriction ? We do not have any Non-Unicode SAP system which we could use for metadata lookup. Bypassing XI (unfortunately) is not an option.

PI 7.0 SP18. SAP ECC 6.0 Unicode. CPP code from 2002 😉

CSY