I'm trying to create an invoice based on delivery document, however it is still being split into multiple invoices as per stndard rules (i.e. type of order, delivery or billing document on which the sales document is based).
My requirement is to split the invoices based on the matreial groups.
Example: There is one delivery having 8 line items, first 5 line items are having material group xxx and remaining items having material group yyy. So as per my requirement two invoices has to split. First invoice should 5 line items and second invoice should have 3 line items. Kindly suggest how to fulfill this requirement.