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 Interchange Server + Adapters » Selective idoc xml processing

Post new topic  Reply to topic
 Selective idoc xml processing « View previous topic :: View next topic » 
Author Message
Qadeer_824
PostPosted: Mon Sep 08, 2008 5:42 am    Post subject: Selective idoc xml processing Reply with quote

Acolyte

Joined: 04 Oct 2007
Posts: 59

Hi,
I am looking at processing huge idocs coming out of SAP and doing the required transformations in message broker.

I could see that the WBIA SAP Connector breaks the idoc retrieved from SAP into chunks of 1MB each. These chunks are placed as messages in EVENTS queue of SAP Connector. The SAP Connector then takes the message from EVENTS queue and converts it into XML using the xsd.

To create the message set, i start ODA client on SAP and connect to SAP using BO Designer. I then extract the BO as .xsd files and import them into Toolkit.

However, there could be many segments in SAP, but if i were to use only one or two of those segments, is it possible for SAP connector to generate the xml only for selected segments instead of creating all the unused segments as this unnecessarily increases the message size.

eg: In article master idocs, i could use only the MATHEAD and VARKEY segments, but there could be MARCRT, MVKEEXTRT, MVKEEXTRTX, VARKEYX, MARCRTX segments which are not required by me.
But the xml generated has all these segments inside it. So if the actual data to be processed is 5MB, the XML generated by SAP Connector reaches 20MB.

Can someone please advice on the best way to handle such huge idocs?
Also, is is necessary to set the XML rendering for every element/field in the mxsd files generated by importing the xsd outputs of BO designer?

Please let me know if i'm not clear.

Thanx,
Qadeer
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Mon Sep 08, 2008 1:28 pm    Post subject: Reply with quote

Grand High Poobah

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

Well each DATA part of the IDOC conforms to EDI_DD40 (length=1063). So you could just go for a definition of a generic SDATA part of the IDOC as being of length 1000. Enjoy
_________________
MQ & Broker admin
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 Interchange Server + Adapters » Selective idoc xml processing
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.