on 09-27-2006 6:02 AM
Hi All,
I am doing File to File scenario using Multimapping Concept.pls send the procedure how to do the Massege mapping using Multimapping.
I have a source structure like this.
order header
order no
order Description
Orderitem
matno
description
Qty
UOM
i need output text file Like
Ono Oodesc OMatno Odes Oqty OUOM
1 02 123 Oil 2 L
1 02 789 Milk 4 L
How to do the multimapping for this.if any Advanced java functions needed pls send the code.
Thanks
Govindu.
Hi,
You do not need multimapping here.
Make the target datatype as follows,
<i><root>
<row> 0 to unbounded
<ono> </ono>
<Oodesc> </Oodesc>
<OMatno> </OMatno>
<Oqty> </Oqty>
<OUOM> </OUOM>
</row>
</root></i>
Map Order Header of source to row
and the rest is straight mapping.
Content Conversion will be as follows in the reciver adapter,
<b>Recordset Structure -- row
row.addHeaderLine -- 1</b>
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhavesh,
Thanks for reply.
But i did a mistake in source structure while posting.i have posted new messege.pls send me the reply for that it is very helpful.
Source structure look like this
<Order Header> 1 Occurence
<Order No>1</order no>
<order Description>02</order Description>
</Order Header>
<OrderItem>1 to Unbounded
<Matno>123</Matno>
<Desc>oil</Desc>
<Qty>2</Qty>
<UOM>L</UOM>
<Matno>789</Matno>
<Desc>Milk</Desc>
<Qty>4</Qty>
<UOM>L</UOM>
</OrderItem>
Thanks,
Govindu.
I don't see the comma seperator in the requested output..so we don't need to use the comma seperator.. however, if we don't give the seperator, by default the receiver adapter will provide the space in between values? any comment
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.