cancel
Showing results for 
Search instead for 
Did you mean: 

JMS Receiver Adapter encoding issue

Former Member
0 Kudos

I have a IDOC->PI->WMQ (JMS) scenario.

The IDOC is a promotion IDOC which sometimes has swedish characters.

It is a pass through scenario with no mapping.

In PI I can see the payload swedish characters åäö intact. But when I send to target JMS queue they are replaced by ���.

I maintained JMS.TextMessage.charset iso-8859-1 in the additional parmeters and it worked fine.

But when I send upper case characters ÅÄÖ it fails.

Please advise.

Former Member
0 Kudos

Hi,

Any inputs?

Accepted Solutions (0)

Answers (4)

Answers (4)

Muru
Explorer
0 Kudos

Hi Siva , Please refer the note 1872390 in the thread https://archive.sap.com/discussions/thread/3790110 , it should be solving your issue.

Thanks,

Murugavel

Former Member
0 Kudos

Hi Guys,

Any input on this issue is appreciated!

Former Member
0 Kudos

Hi Bhavesh,

This is the data sent in the IDOC:

The SM59 connection: I dont see a problem here

The message in PI message monitor also looks fine

The characters are intact in the target JMS as well if I set this parameter - JMS.TextMessage.charset in the receiver channel (I frankly dont understand how setting this made the scenario work , or was it just a fluke that the code point is the same?)

But the same config doesnt work for upper case ÅÄÖÄÖÜÜÄÄÖ. It errors out in the target JMS queue.

All my understanding of encodings is going for a toss here!


bhavesh_kantilal
Active Contributor
0 Kudos

This could be a case where the data coming from SAP itself is corrupted because of the invalid code page maintained in SM59.

Can you check if you Source SAP System is a Unicode System or a Non Unicode System?

If Unicode System - make sure that the RFC Destination in SM59 on ECC has the Unicode option Enabled.

If Non Unicode System - make sure that the RFC Destination in SM59 on ECC has the correct code page.

Regards,

Bhavesh