on 10-24-2012 4:18 PM
Hi Gurus
I have File to Idoc Scenario. The idoc is INCINV_CREATE01
In the Sender XML under INVOICE_DETAIL
1)Item_no is mapped to E1BP_INCINV_CREATE_ITEM--->ITEM_AMOUNT
2) Extended_amount is mapped to E1BP_INCINV_CREATE_MATERIAL--->MATERIAL
Now the problem is when we have multiple INVOICE_DETAIL, let us suppose it's repeated 10 times.
Then in the target idoc the segment E1BP_INCINV_CREATE_ITEM is first repeated 10 times then
E1BP_INCINV_CREATE_MATERIAL segment is repeated 10 times.
But I require E1BP_INCINV_CREATE_ITEM then E1BP_INCINV_CREATE_MATERIAL and this should be repeated 10 times in the Idoc.
1)E1BP_INCINV_CREATE_ITEM
E1BP_INCINV_CREATE_MATERIAL
2)E1BP_INCINV_CREATE_ITEM
E1BP_INCINV_CREATE_MATERIAL
3)E1BP_INCINV_CREATE_ITEM
E1BP_INCINV_CREATE_MATERIAL
And so on...
Regards
Zia
useOneAsMany function will work for you .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.