Skip to Content
avatar image
Former Member

JMS Receiver Adapter encoding issue

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Nov 03, 2016 at 04:58 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 03, 2016 at 12:16 PM

    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!


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 04, 2016 at 05:05 AM

    Hi Guys,

    Any input on this issue is appreciated!

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 04, 2016 at 08:00 AM

    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

    Add comment
    10|10000 characters needed characters exceeded