Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error -help me

Former Member
0 Likes
702

Hi Experts

I am getting the following error while doing the bapi, BAPI_INCOMINGINVOICE_CREATE .

Enter a reference to a valid goods receipt.

Pls advise me whats the meaning of it.

Regards

Rajaram

4 REPLIES 4
Read only

Former Member
0 Likes
606

Hi,

Check whether you have provided REF_DOC_NO - Reference Document Number and INV_REF_NO- Invoice Reference: Document Number for Invoice Reference

Read only

0 Likes
606

Hi Vishal

I have given the following lines, but still its not working and saying the same error, 5000011089 is the GR doc no, am iright.

gs_headerdata-INV_REF_NO = '1ah23'.

gs_headerdata-ref_doc_no = 5000011089.

gs_itemdata-ref_doc = 5000011089.

pls advise me.

regards

Rajaram

Read only

Former Member
0 Likes
606

solved myself

Read only

0 Likes
606

Hi there,

I am experiencing the same error when trying to upload and invoice.

"Enter a reference to a valid goods receipt (line 000004)".

I have all the header and item fields mentioned in your thread.

Please advise on how you managed to resolve this issue.

Thanks and Regards,

Preneshen Govender