Start of Content Area

Background documentation Things to Look Out for in Unicode  Locate the document in its SAP Library structure

RFC from a Non-Unicode System into a Unicode System

The following errors may occur:

 

The Unicode system sends incorrect characters.

An MDMP system sends data in an unknown language. The Unicode system is therefore unable to determine the code page of this data for the conversion.

Unicode return characters cannot be converted into the required non-Unicode code page

The output buffer overflows when the results are returned

 

The way in which the called Unicode system reacts to conversion errors depends on the profile parameters

rfc/cp_convert/ignore_error

rfc/cp_convert/conversion_char

by using a replacement character, or by terminating the call.

You can specify the replacement character using its UTF-16 character number. The default character therefore has the value 0023. The character ‘~’ would therefore have the value 007E, for example. You can find a list of the Unicode character numbers at http://www.unicode.org


Default: Ignore errors and replace non-convertible characters with character ‘#’.

 

The system making the call receives the exception COMMUNICATION_FAILURE with the message connection closed.

 

RFC from a Unicode System into a Non-Unicode System

The following errors may occur:

 

The non-Unicode system returns incorrect results data.

A text language is unknown.

The Unicode system sends characters that cannot be converted into the required non-Unicode code page.

The receiver buffer in the non-Unicode system overflows.

 

In the calling system, the reaction to conversion errors can be configured separately for each destination.
See transaction SM59
Defining Remote Destinations.

 

For the called system, conversion errors are not visible. The calling Unicode system identifies errors in the input data before it triggers an action on the called page. The calling Unicode system only identifies errors in the output data if the called context has already been disconnected.

 

End of Content Area