Skip to Content
0
Sep 15, 2016 at 01:05 PM

Message no. M8376: Enter goods receipt data only when working with GR-based IV

5069 Views

Hello,

I am getting below error message when trying to post GR based IV.

The GR is posted successfully with Reference document number, Reference Document Item and Fiscal Year of the current period. Additionally, I checked the EKBE and MSEG tables and the values for Reference document number, Reference Document Item and Fiscal Year values are populated correctly in the table.


I am well aware that the error is appearing because the system is not populating the data available in the fields Reference document number, Reference Document Item and Fiscal Year (technical names highlighted in Red below) when testing / executing Function Module BAPI_INCOMINGINVOICE_CREATE. The error goes away when I put these values manually at the time of testing function module. Ideally, the system should populate automatically.


It is working fine for many POs except a few going into error. Comparing POs and relevant documents is not helping in resolving the problem.


Is there some OSS note to resolve this problem? If someone has faced this, please share inputs.



Diagnosis

Goods receipt-based invoice verification:

In row 000010 of table Itemdata for purchase order 4502968883,item , you have completed one of the following fields incorrectly or not at all:

  • REF_DOC (Reference document number)
  • REF_DOC_YEAR (Fiscal year of the current period)
  • REF_DOC_ITEM (Reference document item)

If you are working with goods receipt-based invoice verification, you must complete these fields. They uniquely describe the goods receipt document to which the invoice refers.

No goods receipt-based invoice verification:

In row 000010 of table Itemdata for purchase order 4502968883,item 00010, you have completed at least one of the following fields:

  • REF_DOC (Reference document number)
  • REF_DOC_YEAR (Fiscal year of the current period)
  • REF_DOC_ITEM (Reference document item)

If you are not working with goods receipt-based invoice verification, you must leave these fields blank.

Procedure

In table Itemdata, check your entries in the fields listed above.