|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Splitting of IDOC into many messages |
« View previous topic :: View next topic » |
Author |
Message
|
BinduSree |
Posted: Wed Feb 27, 2013 12:03 am Post subject: Splitting of IDOC into many messages |
|
|
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 |
|
 |
longng |
Posted: Wed Feb 27, 2013 10:01 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Feb 27, 2013 9:18 pm Post subject: Re: Splitting of IDOC into many messages |
|
|
 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 |
|
 |
BinduSree |
Posted: Thu Feb 28, 2013 12:01 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|