2008 Oct 13 8:36 AM
Hi Experts,
I am trying to run a BAPI:
BAPI_INCOMINGINVOICE_CREATE
I am getting an error: The error is:
' Enter a reference to a valid goods receipt (line 000010) '
Which field to fill to remove this error?
Please suggest.
Regards,
Sangeeta.
2008 Oct 13 9:16 AM
2008 Oct 13 8:41 AM
Hi
Check the following:
This example specifies the header data that you need to enter in table Headerdata, the item data that you need to enter in table Itemdata and the tax information that you need to enter in table TaxData to post an invoice in a foreign currency.
Purchase order: 10 pc of material A @ $10/pc
First goods receipt: 4 pc of material A
Second goods receipt: 6 pc of material A
You receive an invoice against this purchase order referencing PO number 4500007505, PO item 10, goods receipt document 50010095, 2000, item 1. The invoice is for a quantity of 4 pc of material A, a gross amount of $46.60 and 16% tax ($6.60). Enter the following data:
HeaderData table
INVOICE_IND (Post invoice/credit memo): X
DOC_DATE (Document date): 05.20.2000
PSTNG_DATE (Posting date): 05.23.2000
COMP_CODE (Company code): 1000
CURRENCY (Currency key): USD
GROSS_AMOUNT (Gross amount): 46.60
ItemData table
INVOICE_DOC_ITEM (Invoice document item): 00001
PO_NUMBER (Purchase order number): 4500007505
PO_ITEM (Purchase order item): 00010
REF_DOC (Goods receipt document): 50010095
REF_DOC_YEAR (Fiscal year of current period): 2000
REF_DOC_ITEM (Goods receipt document item): 1
TAX_CODE (Tax code): VN
ITEM_AMOUNT (Item amount): 40.00
QUANTITY (Quantity): 4
PO_UNIT (Unit of measure): PC
TaxData table
TAX_CODE (Tax code): VN
TAX_AMOUNT (Tax amount in document currency): USD 6.60
Regards,
Vishwa.
2008 Oct 13 9:16 AM
2008 Oct 13 12:35 PM
Hi,
I have passed all the fields mentioned above and also reference fields but still it is showing the error.
please suggest.
Regards,
Sangeeta.
2008 Oct 13 12:38 PM
Hi
Pass the field first into the conversion_exit_alpha_input and then pass it to the BAPI...hope this works.
Regards,
Vishwa.
2014 Jul 28 5:37 AM
i am also facing same issue please tell me the solution for tht
2014 Jun 23 11:31 AM