Skip to Content
0
Former Member
Aug 09, 2011 at 11:46 PM

Message mapping hint 1:N in group of 2?

17 Views

Hi All,

I am looking for message mapping hint to do following:

Source XML.

<itab>
  <itab_body>
    <a>1</a> 
    <b>1</b> 
  </itab_body>
  <itab_body>
    <a>2</a> 
    <b>2</b> 
  </itab_body>
.
.
.
  <itab_body>
    <a>n</a> 
    <b>n</b> 
  </itab_body>
</itab>

Target XML:

<itab>
  <itab_body>
    <a>1</a> 
    <b>1</b> 
  </itab_body>
  <itab_body>
    <a>2</a> 
    <b>2</b> 
  </itab_body>
</itab>
.
.
.
<itab>
  <itab_body>
    <a>n-1</a> 
    <b>n-1</b> 
  </itab_body>
  <itab_body>
    <a>n</a> 
    <b>n</b> 
  </itab_body>
</itab>

Thanks