ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unconvertable character with SAP adapter

Post new topic  Reply to topic
 Unconvertable character with SAP adapter « View previous topic :: View next topic » 
Author Message
mfractal
PostPosted: Thu Apr 17, 2008 8:20 am    Post subject: Unconvertable character with SAP adapter Reply with quote

Novice

Joined: 07 Apr 2008
Posts: 14

Hi All!
We've been using SAP adapter with Broker (version 6.1).
Our flow recieves an Idoc from SAP, does copyEntireMessage and puts in to MQOutput node.

Usually the flow works great, but when an Idoc arrives containing "strange" characters we get an exception.

Here's what we see in the exception list (just the relevant part)
Code:

Text:CHARACTER:XML Writing Errors have occurred
RecoverableException
File:CHARACTER:F:\build\S000_P\src\CommonServices\ImbConverter.cpp
Line:INTEGER:312
Function:CHARACTER:ImbConverterCPP::internalFromUnicode
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPv610
Severity:INTEGER:3
Number:INTEGER:2136
Text:CHARACTER:Unconvertable character
Insert
Type:INTEGER:5
Text:CHARACTER:8e00
Insert
Type:INTEGER:5
Text:CHARACTER:4c0061006e00640031003e00420052003c002f004c0061006e00640031003e003c005a006c007300630068003e0046003c002f005a006c007300630068003e003c00540065007800740031003e0041
0052002d00560065006e0064006100200041006e00740065006300690070006100640061003c002f00540065007800740031003e003c002f005
300610070005a0073006400740054006100620065006c00610073005a0073006400730054003000340032007a003000300030003e003c005300610070
005a0073006400740054006100620065006c00610073005a0073006400730054003000340032007a003000300030003e003c004d0061006e006400740
03e003100340030003c002f004d0061006e00640074003e003c004c0061006e00640031003e00420052003c002f004c0061006e00640031003e003c005a
006c007300630068003e0047003c002f005a006c007300630068003e003c00540065007800740031003e00410052002d00560065006e00640061002000
43006f006c00690067006100640061003c002f00540065007800740031003e003c002f005300610070005a0073006400740054006100620065006c00610
073005a0073006400730054003000340032007a003000300030003e003c005300610070005a0073006400740054006100620065006c00610073005a007
3006400730054003000340032007a003000300030003e003c004d0061006e00640074003e003100340030003c002f004d0061006e00640074003e003c0
04c0061006e00640031003e00420052003c002f004c0061006e00640031003e003c005a006c007300630068003e0049003c002f005a006c007300630068
003e003c00540065007800740031003e00410052002d0043006f006200720061006e00e700610020005000650072006d007500740061003c002f005400
65007800740031003e003c002f005300610070005a0073006400740054006100620065006c00610073005a0073006400730054003000340032007a0030
00300030003e003c005300610070005a0073006400740054006100620065006c00610073005a0073006400730054003000340032007a00300030003000
3e003c004d0061006e00640074003e003100340030003c002f004d0061006e00640074003e003c004c0061006e00640031003e00420052003c002f004c0
061006e00640031003e003c005a006c007300630068003e004b003c002f005a006c007300630068003e003c00540065007800740031003e00410052002d
00430061007200740065006900720061003c002f00540065007800740031003e003c002f005300610070005a0073006400740054006100620065006c006
10073005a0073006400730054003000340032007a003000300030003e003c005300610070005a0073006400740054006100620065006c00610073005a0
073006400730054003000340032007a003000300030003e003c004d0061006e00640074003e003100340030003c002f004d0061006e00640074003e003
........
400730054003000340032007a003000300030003e003c005300610070005a0073006400740054006100620065006c00610073005a0073006400730054003000340032007a00300030
0030003e003c004d0061006e00640074003e003100340030003c002f004d0061006e00640074003e003c004c0061006e00640031003e0
0430048003c002f004c0061006e00640031003e003c005a006c007300630068003e0044003c002f005a006c007300630068003e003c00540065007800740031003e004
40065006200690074002000640069007200650063007400200050006f0073007400660069006e0061006e006300650020002800420
04100440029003c002f00540065007800740031003e003c002f005300610070005a0073006400740054006100620065006c00610073005a0073006400730054003000340032007a0030
00300030003e003c005300610070005a0073006400740054006100620065006c00610073005a0073006400730054003000340032007a003000300030003e003c004d0061006e00640074003e003100340030003c002f004d0061006e0
0640074003e003c004c0061006e00640031003e00430048003c002f004c0061006e00640031003e003c005a006c007300630068003e00
45003c002f005a006c007300630068003e003c00540065007800740031003e0044005400410020004500530052002d0
0560065007200660061006800720065006e0020002800420061006e006b0029003c002f0054006500780074003100
3e003c002f005300610070005a0073006400740054006100620065006c00610073005a0073006400
730054003000340032007a003000300030003e003c005300610070005a007300640074005400610062
0065006c00610073005a0073006400730054003000340032007a003000300030003e003c004d0061006e00640074003
e003100340030003c002f004d0061006e00640074003e003c004c0061006e


Any ideas guys ?
We're kind of lost here


Any other info i can provide ?

[moderator]split into multiple line for better readability[/moderator]
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Apr 17, 2008 5:14 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

What char set is the source system (SAP) in?
What is the char set of the IDOC?
Did you make sure your output is in UTF-8 or Unicode?

Looks to me like you may not have a text idoc and what we see is a byte array representing the values taken by the chars and numbers in the makeup of the Idoc...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mfractal
PostPosted: Fri Apr 18, 2008 10:20 am    Post subject: Reply with quote

Novice

Joined: 07 Apr 2008
Posts: 14

We were able to fix the problem by enforcing :
charset=819
encoding=1200

SAP works in unicode.
The charset of the idoc when it arrives is empty, that was part of the problem.
That's why the default cast when sending to mqoutput failed.
Back to top
View user's profile Send private message
rakesh567
PostPosted: Tue Apr 22, 2008 9:59 am    Post subject: Reply with quote

Novice

Joined: 26 Jan 2008
Posts: 18

We wanted to use sap adaters through v6.1
Our broker is in AIX.
when we r building we r using windows client libraries.
Since broker is in AIX do we need to use the aix client library while deploying?

What configurations required to connect to SAP.in message broker other than adapte config.............
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 22, 2008 10:01 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

All of the runtime libraries for the v6.1 SAP libraries are handled outside of your flow code, and by the broker administrator.

And yes, when the broker is running on a Unix platform, then you must use Unix versions of those libraries.

But not in your flow.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
rakesh567
PostPosted: Tue Apr 22, 2008 10:09 am    Post subject: Reply with quote

Novice

Joined: 26 Jan 2008
Posts: 18

you mean to say we can use windows library file and deploy.
we need to configure aix library file in broker.and configure its jars URL.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 22, 2008 10:22 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/tsap_extdepend.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
akbardar
PostPosted: Wed Mar 05, 2014 8:51 am    Post subject: Reply with quote

Novice

Joined: 05 Apr 2006
Posts: 21
Location: New Haven, CT

How were you able to fix the problem by enforcing :
charset=819
encoding=1200

How do we setup the Charset code as message enters into the flow? Is there eSQL fix a or Message Broker Adapter fix? Please advise.

Regards
AkBar Dar
_________________
AkBar Dar
IT Administrator
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unconvertable character with SAP adapter
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.