We use purchase orders for intercompany deliveries from one warehouse to another.
To these purchase order deliveries are made based on which intercompany invoices are created and booked using IDOC's. In all our settings GR-Bsd.IV is set for the purchase orders including the intercompany.
During a period of time several delieveries are made and invoiced in one collect invoice. Because order picking etcetera does take some time it can occor that a goods receipt is booked to a product which was partially in back order at the time the first delivery note has been created. Therefore a new separate delivery is created for one and the same purchase order line. In case these are invoiced together the Error Message M8321 occurs.
This is incorrect, because based on the fact there are two separate deliveries booked with separate Material documents. The system should be able to match the invoices lines with the proper goods receipt. This is a functionality which is missing. In the standard transaction MIRO it is possible to match the invoice lines based on the goods receipt. So this should be possible within the IDOC as well.
We are not using charges, it doesn't concern main products.
It is a straight forward booking of invoices to purchase orders.