Multiple Idocs creation based on source conditions
I have to create multiple idocs from the source idoc based on the line litems ie if my source Idocs has 5 line items so 5 different idocs to be generated at target.
I am able to process upto this stage.
Now my requirement is that target Idocs is to be generated based on different plants available in the source idoc line items. I need to trigger a single idoc for the line items having same plant.
S.No Line Item No Plant
1 00010 8200
2. 00020 7800
3. 00030 7800
4. 00040 8200
5. 00050 2100
So, for the above case total 3 Idocs needs to be generated at the target.
Kindly suggest me how the mapping is to be done which can filter out the plants at line items and creates the no of target idocs.