cancel
Showing results for 
Search instead for 
Did you mean: 

Repeat the Idoc Segments in a desired way.

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

useOneAsMany function will work for you .