Skip to Content
0

JMS Receiver Adapter encoding issue

Nov 02, 2016 at 05:10 PM

92

avatar image

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.

10 |10000 characters needed characters left characters exceeded

Hi,

Any inputs?

0
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Bhavesh Kantilal Nov 03, 2016 at 04:58 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
sivasakthi danasekaran Nov 03, 2016 at 12:16 PM
0

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!



Share
10 |10000 characters needed characters left characters exceeded
sivasakthi danasekaran Nov 04, 2016 at 05:05 AM
0

Hi Guys,

Any input on this issue is appreciated!

Share
10 |10000 characters needed characters left characters exceeded
Murugavel Singaravel Nov 04, 2016 at 08:00 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded