Creating idocs based on invoice number ocurrences
I want to create idocs based on invoice numbers .
Lets say i have a file coming in from sender system
Invoice1 material customer value
Invoice1 materail1 ..........
So for Invoice1 only one Idoc should be created similarly for invoice 2 which is ocurring twice in the file
only 1 idoc should be created
Let me know how to achieve this .. by UDF , or by split by value