cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC encoding

Former Member
0 Kudos

Hi all,

I am sending IDOCs from PI 7.0 SP12 to SAP 4.6C. The problem is that some characters are garbled on the backend.

On the PI side (sxmb_moni) I see all characters in the payload correctly. Payload type is application/xml with encoding utf-8.

But on the backend side some characters in the Idoc are garbled.

It seems that IDOC is not converted from UTF-8 to ISO-8859, which is the code page of 4.6C.

Any suggestion how to solve this?

Thanks, janos

Accepted Solutions (0)

Answers (3)

Answers (3)

stefan_grube
Active Contributor
0 Kudos

Check the RFC destination for the R/3 backend. It should be "non-unicode". The logon language has to be set.

Regards

Stefan

Former Member
0 Kudos

Hi,

Thanks for your answers, but I still didnt solve the problem.

My understanding is that I must activate the MDMP in the RFC destination for the backend.

The logon language is set correctly.

I have some doubts that MDMP is set correctly, since I see inside something like this.

Lang Local Remote

SR 0000 1500

RO 0000 1401

SL 0000 1401

HR 0000 1401

MS 0000 1100

UK 0000 1500

CS 0000 1401

... ... ...

Is it correct to have zeros for all Local?

If I try to change Local code page to 4110, which I think is the code page of UTF-8,

I got the following pop-up msgs :

"

Local Incorrect codepage: 4110. Must be a system codepage and reference to tables TCP00 and TCP0C,

A system codepage is required here.

The table TCP00 contains all the codepages and TCP00-CPISSYSTEM must be activated for one system codepage.

Other criterion: The code page must appear in TCP0C-CHARCO.

(Currently, 2002-7-2, there are system codepages that appear in TCP0C, but for which the attribute CPISSYSTEM is not activated in TCP00 - for example, 1610).

"

Please advice what needs to be done here. How to sent IDOCs from IE (UTF-8) to backend (iso-8859-2).

Best regards,

Janos

Former Member
0 Kudos

Hi,

As suggested I thing you just need to make your RFC destination in SAP XI connecting to SAP system unicode and that should solve your problem

Hoping your SAP system is unicode

Regards

Vijaya

Former Member
0 Kudos

Vijaya,

The system configuration is:

SAP XI = unicode UTF-8

R/3 backend = non-unicode, ISO-8859-2, charset 1401

problatic direction is from XI to the backend

Direction from backend to XI is not a problem since on XI all characters are dispalyed correctly in unicode.

Best regards,

Janos

Former Member
0 Kudos

I solved it. An option must be turned on in "RFC bit option".

Former Member
0 Kudos

Hi,

Pls go through this Doc..

How To Work with Character Encodings in Process Integration

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79...

Refer this threads ...

Might help you..

Thanks,

vasanth.

ravi_raman2
Active Contributor
0 Kudos

can you change you sending encoding to support the back end..

Regards

Ravi Raman