Skip to Content
0
Former Member
Apr 07, 2011 at 09:01 AM

Separate messages 1-n using multimapping

20 Views

HI Gurus!

I need to create interface idoc -> MQ

For each segment SEG1 I need to create new separate message.

For ex.

Source:

 

<BLOARD.BLOARD.IDOC>
<IDOC>

  <SEG1>
    <DATA1>01</DATA1>
  </SEG1>

 <SEG1>
   <DATA1>02</DATA1>
 </SEG1>

</IDOC>

Target(Must be two separeted messages):

  
<OutputMT>
<IDOC_DATA>
<SEG>01</SEG>
</IDOC_DATA>
</OutputMT>

<OutputMT>
<IDOC_DATA>
<SEG>02</SEG>
</IDOC_DATA>
</OutputMT>

So in the Message Mapping I changed cardinality of reciever message to 1-unbounded and the same in the Operation Mapping.

Now when I test my MM I see two <OutputMT>.

But there is only one message in SXMB_MONi monitor and in JAVA Monitor

In SXMB_MONI message in Request Message Mapping is empty.

Any help is very appreciated