Author |
Message
|
scanner |
Posted: Wed Sep 27, 2006 11:19 pm Post subject: SAP - R/3 Link - WMQ Encoding problem |
|
|
Apprentice
Joined: 10 Jul 2001 Posts: 28 Location: Germany
|
Hi
I get IDOCS from a SAP System(non Unicode) with SAP codepage 1100.
In the MQ side I use a W2k Server with MQ 5.3 ccsid 1252.
The SAP r/3 link is running on the same server.
The IDOCS I see in the queue the Header show the CCSID 1252 and the encoding 546.
But I need the CCSID 1401 in the header. What can I do to get another CCSID? I dont want change the cssid of the QMGR. |
|
Back to top |
|
 |
Nigelg |
Posted: Thu Sep 28, 2006 12:12 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Msgs put by the outbound server will contain the CCSID of the qmgr, and the native encoding, Windows (or Linux) in your case.
You could try writing an exit to convert the data from 1252 to 1401, or you could write an app which reads the msgs from the queue with convert to 1401, and then puts them to an alternative outbound queue. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 28, 2006 3:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Quote: |
But I need the CCSID 1401 in the header |
Why? is your reading app not using get with convert ? Or a channel with convert option set to yes?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
scanner |
Posted: Thu Sep 28, 2006 5:56 am Post subject: |
|
|
Apprentice
Joined: 10 Jul 2001 Posts: 28 Location: Germany
|
the problem is at all that the IDOC contain polish letters. These letters are wrong.
The application which read from the outbound q is run on a was server(written in Java). We think the problem somewhere in the R/3 Link or WMQ side. Perhaps it is only a stupid Windows codeing problem at all ! |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 28, 2006 2:47 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What CCSID is the IDOC in? This can be set on the MQSAPH header. You may need to write an exit in MQLINK to cater for the IDOC being in a different CCSID than the server running MQ-Link or running WMQ...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
scanner |
Posted: Fri Sep 29, 2006 12:27 am Post subject: |
|
|
Apprentice
Joined: 10 Jul 2001 Posts: 28 Location: Germany
|
The SAP write with Codepage 1401! The Win Server where The R/3 link and WMQ are running use codepage 1252. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Sep 29, 2006 2:34 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
scanner wrote: |
The SAP write with Codepage 1401! The Win Server where The R/3 link and WMQ are running use codepage 1252. |
Search the site there is somewhere a correspondance for Codepage and CCSID.
Google might be another way to find that table...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|