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 » Splitting of IDOC into many messages

Post new topic  Reply to topic
 Splitting of IDOC into many messages « View previous topic :: View next topic » 
Author Message
BinduSree
PostPosted: Wed Feb 27, 2013 12:03 am    Post subject: Splitting of IDOC into many messages Reply with quote

Newbie

Joined: 26 Feb 2013
Posts: 6

Hi

I wanted to split a single incoming idoc from SAP to different messages based on a key word "EDI_DC"

For ex: If the incoming message contains 3 EDI_DC, then i need to get 3 output messgaes where each message should have only 1 EDI_DC

Could someone help me on the splitting code
Back to top
View user's profile Send private message
longng
PostPosted: Wed Feb 27, 2013 10:01 am    Post subject: Reply with quote

Apprentice

Joined: 22 Feb 2013
Posts: 42

Try to parse the incoming message and for each EDI_DC structure, generate a corresponding output message and PROPAGATE it!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 27, 2013 9:18 pm    Post subject: Re: Splitting of IDOC into many messages Reply with quote

Grand High Poobah

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

BinduSree wrote:
Hi

I wanted to split a single incoming idoc from SAP to different messages based on a key word "EDI_DC"

For ex: If the incoming message contains 3 EDI_DC, then i need to get 3 output messgaes where each message should have only 1 EDI_DC

Could someone help me on the splitting code


Ok so let's get specific. You have an incoming message/file with MULTIPLE IDOCs in it. There is no such thing as a single IDOC with multiplep IDOCs in it, but for possibly horribly bad design...

YOu need to split the message/file into it's content by IDOC.
Each IDOC should start with a unique IDOC # (on DC as well as DD).

Now within the same IDOC # you have to check for a DC (more than one instance of the same IDOC which would be really rare as even if you send out the data twice you should still get a unique # for each of the instances.)

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
BinduSree
PostPosted: Thu Feb 28, 2013 12:01 am    Post subject: Reply with quote

Newbie

Joined: 26 Feb 2013
Posts: 6

Hi,

I assume we have a option as COLLECT_IDOCS in SAP. what is the meaning of Collect_Idocs enabled and package_size given as 20 or 10 in Message profile for any particular partner.

Is that mean we are sending those 10 or 20 IDOCs in a single message file (not in a single IDOC#)?

Could you please clarify this?
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 » Splitting of IDOC into many messages
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.