on 05-16-2007 2:12 PM
Hi,
I have a requirment to Spilit the single record into multiple segments in IDOC with the same information.
Eg: Source record structure:
<ITEMS>
<KEY>......</KEY>
<Code1>......</Code1>
<Code2>......</Code2>
<wkq>......</wkq>
<mtr>......</mtr>
<qty_1>......</qty_1>
<qty_2>......</qty_2>
<qty_3>......</qty_3>
<qty_4>......</qty_4>
<qty_5>......</qty_5>
</ITEMS>
My target IDoc structure is
<ITEMS>
<KEY>.....</KEY>
<Code1>.....</Code1>
<Code2>.....</Code2>
<wkq>.....</wkq>
<mtr>.....</mtr>
<qty>.....</qty>
</ITEMS>
Since there is only one quantity"qty" field in the target structure, I need to create 5 segments with same KEY, Code1, Code2, wkq, mtr values with different qty values.
I tried but i am getting 5 segments, in that 1 segment is filling with info and remaining 4 segments coming without any data.
Could anyone plz let me know how to do this...
Thanks,
kumar
Hi Kumar,
is your this problem resolved now or not?..........
Thanks,
Rajeev Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hope your <qty> at target IDOC has max Occurs = unbounded.
Right click the qty element and select the option Duplicate subtree.
Now map the qty_1 to qty and qty_2 to the newly created element.
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.