cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice issue

Former Member
0 Kudos

Sales order invoice

(item10 )A - 5

(item 20) A - -5

This sales invoice will create PO invoice through iDOC.But invoice is failing due to invoice item is cumulated with QTy 10.GR for (item 10) was received with invoice Qty 10(cumulated). So incomming idoc is faling in SO. so PO Invoice is creating Manually.I need to rectify this error.

PO Invoice (item 10) A -10

!Error message )

Document contains same order item more than once

Message no. M8321

Diagnosis

Under the following circumstances, you can settle an order item in an invoice received via EDI more than once:

Goods-receipt-based Invoice Verification has been defined for the order item.

The IDoc contains the delivery note numbers of the goods receipts.

System response

If this is not the case, the system cancels posting of the IDoc.

Procedure

Check the IDoc. You may be able to edit the IDoc (for example, if the vendor transmitted the wrong order item by mistake). Otherwise, you must inform the vendor and ask for the invoice with the corrected data to be transmitted once again.

Can any help to give solution.

Regards,

Vamsi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vamsi,

Refer the SAP Note 661864 & 103051

Regards

Ankur

Edited by: Ankur Agarwal on Jul 6, 2009 6:34 PM

Answers (6)

Answers (6)

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

Hi Chaing,

The issue is manily due to single delivery document created , because two line items are confirmed on the same day and almost very near time. items are splited, due to APO availabilty check. But it is common for our process.If it creates two delivery doc's Then this problem won't come.

Former Member
0 Kudos

Hi,

I will tell in simple way.

I created PO with single line item of Qty 10 , but the SO invoice has two line items of qty 5 for same material with splited Qty ( based on availabilty check ). So The SO invoice will trigger the out put to create inbound iDOC for creatiion of PO invoice. But SO Invoice has 2 line items of same material will try to create iDOC of PO invoice of single line item of Qty 10, becasue PO invoice is creating with PO Refernce . But SO invoice has Qty 5 each.So error is occuring. SAME ORDER ITEM EXITS MORE THAN ONCE. So we needs to find a solution to create PO invoice of QTY 5 each, even though PO Qty of single line item is 10. Is there any confiiguaration changes in MIRO to split according to SO Invoice base.The main thing is QTY should not cumulate while triggering Invoice.

Waiting for your help.

Regards,

Vamsi

Former Member
0 Kudos

Please see attached note 103051 in regards to this situation.

Please take into account that if an Idoc-invoice has two items with reference to the same PO item, these items must have

different delivery note numbers, otherwise comes the error M8321. Thisis no error, but the system design.

You can see the delivery note number in segment E1EDP02 016.

former_member197616
Active Contributor
0 Kudos

Hi,

As per your message posted, the PO is GR based .Please check the PO if a goods receipt has been posted, then only you can post the vendor invoice.If not the GR has not been done then please post the GR at MIGO and then try to bill.

Also please check the PO if an invoice is already posted for the item with a GR.This info you can get from the PO history tab and then decide what has to be done.

Former Member
0 Kudos

There are 2 E1EDP01 SEGMENTS

posex value is 5 for first segment

posex value is 5 for first segment

Both segments are having same PO no and Qty 5 each

Former Member
0 Kudos

Hi,

Check how many E1EDP01 segments are there in your IDOC. Also advise what is value of field POSEX.

Regards,

Kamal