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

BAPI_INCOMINGINVOICE_CREATE

Former Member
0 Likes
747

Hello Everyone,

I am using BAPI_INCOMINGINVOICE_CREATE to generate invoice for a PO that is being created using BAPI_PO_CREATE1. But in the invoice BAPI it has few mandatory fields in ITEM DATA out of which Ref_Doc is the one. This refers to XBLNR. But their is not material document created during PO creation. So can anyone help me in finding the exact table and field to populate REF_DOC.

Thanks & Regards,

Sumalatha N

3 REPLIES 3
Read only

Former Member
0 Likes
586

Hi,

Usually there should be a reference for the invoice that is created..In your case this will be the PO number that is created using the BAPI_PO_CREATE1.

Hence by seeing the invoice data, it can be know that the PO is being invoiced...Means some reference

Hope this helps

Regards

Shiva

Read only

Former Member
0 Likes
586

Hi,

I will be giving the PO as reference number, but in the item data there is one field with name REF_DOC which refers to LFBNR "Document No. of a reference Document". Can you please tell me which table field it refers to.

Thanks,

Sumalatha.

Read only

0 Likes
586

check table MSEG, or LIPS