|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XML Format Generated from SAP Adapter Different From SAP |
« View previous topic :: View next topic » |
Author |
Message
|
tatyeong |
Posted: Tue Apr 20, 2010 11:23 pm Post subject: XML Format Generated from SAP Adapter Different From SAP |
|
|
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 |
|
 |
jhosie |
Posted: Wed Apr 21, 2010 4:15 am Post subject: |
|
|
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 |
|
 |
tatyeong |
Posted: Wed Apr 21, 2010 6:34 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|