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 » XML Format Generated from SAP Adapter Different From SAP

Post new topic  Reply to topic
 XML Format Generated from SAP Adapter Different From SAP « View previous topic :: View next topic » 
Author Message
tatyeong
PostPosted: Tue Apr 20, 2010 11:23 pm    Post subject: XML Format Generated from SAP Adapter Different From SAP Reply with quote

Acolyte

Joined: 16 Apr 2010
Posts: 52

Hi,

I am using Websphere SAP Adapter for IDOC inbound processing (fomr SAP to adapter) and I realized that the XML format generated by the adapter is different from XML format generated by SAP for the same IDOC.

Most significantly in the IDOC data record section. Using SAP adapter, it looks something like this
<SegmentDefinition>
<fieldname1>xxx</fieldname1>
</SegmentDefinition>

However, the IDOC xml generated by SAP looks like this
<SegmentType Segment="1">
<fieldname1>xxx</fieldname1>
</SegmentType>

Is there any setting on SAP adapter that I can use to generated the same XML format as SAP's.
Back to top
View user's profile Send private message
jhosie
PostPosted: Wed Apr 21, 2010 4:15 am    Post subject: Reply with quote

Apprentice

Joined: 12 May 2005
Posts: 28

You could transform the message in the message flow after receiving it from the SAPInputNode and before propagating it to your MQ Output node.

NOTE: The adapter doesn't actually output XML - it builds the logical message tree. The XML is only geneterated from that tree when you reach - for example - an MQ Output node. So, if you wire a transformation node (e.g. ESQL, Map, Java, WTX, XSLT ) between the SAP input node and the MQ Output node, then the tree will be transformed to the desired format before the XML is generated.
Back to top
View user's profile Send private message
tatyeong
PostPosted: Wed Apr 21, 2010 6:34 am    Post subject: Reply with quote

Acolyte

Joined: 16 Apr 2010
Posts: 52

So the logical message tree is built based on how the parser within SAP adapter works?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML Format Generated from SAP Adapter Different From SAP
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.