‎2009 Mar 07 10:43 AM
Hi,
I got error while testing BAPI_INCOMINGINVOICE_CREATE Function Module as
" Enter a reference to a valid goods receipt (line 000001) " for Creating Invoice liike as MIRO.
Please Tell me how to solve & how to ( MIRO ) Create Invoice for Purchase Order .
‎2009 Mar 07 4:03 PM
[Check this reference link|https://forums.sdn.sap.com/search.jspa?q=BAPI_INCOMINGINVOICE_CREATE&objID=f50&dateRange=last90days&searchID=23224575&forumID=50&rankBy=10001&start=0]
‎2009 Apr 20 7:53 PM
Hello Ramana,
I encountered this same error. Your PO GR-Bsd IV (ekpo-webre = 'X') is checked. You have to add the following fields when you populate your ItemData Table;
MOVE: rseg-lfbnr TO i_item-ref_doc,
rseg-lfgja TO i_item-ref_doc_year,
rseg-lfpos TO i_item-ref_doc_it.
Hope this helps. Good Luck!
Dodie
‎2022 Nov 22 10:31 PM
Well in my case the problem was solved enabling the option "GR-Bsd IV" on infoRecord information but your tip gave me the idea.
‎2009 Jul 06 11:13 AM