I have the below requirement:-
When we receive an incoming Idoc with PO data we have to create the sales order based on the
items material group in the PO i.e, if the line items have different material group then we have to create
different sales order for those items.
E.g.) If Incoming PO Idoc is having 3 items with all of them having different material group then we have to create 3 sales order
by splitting the data from this single incoming Idoc.
If Incoming PO Idoc is having 3 item out of which 2 have same material group then we have to create 2 sales order, 1 that will
have the 2 items that have same material group and the other sales order that is having different material group.
How can we achieve this of splitting the incoming PO Idoc data and post the documents.
Any suggestion / reply in this regards would be of great help.