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

Former Member
0 Likes
761

I am getting the following error

Enter a reference to a valid goods receipt (line 000001).

i am not able to post invoice. please help me

6 REPLIES 6
Read only

Former Member
0 Likes
719

Which BAPI you are using ? Give details..

Regards

Vinod

Read only

0 Likes
719

BAPI_INCOMINGINVOICE_CREATE

Read only

0 Likes
719

actually i have done GR in the transaction MIGO and i want to create inovice through BAPI.

BAPI_INCOMINGINVOICE_CREATE.

I have entered all the necessary details

Read only

0 Likes
719

Hi,

Are you filling proper values for

PO_NUMBER (Purchase order number),

PO_ITEM (Item Number of Purchasing Document),

REF_DOC(Document No. of a Reference Document),

REF_DOC_YEAR(Fiscal Year of Current Period),

REF_DOC_IT(Item of a reference document) fields in ITEMDATA structure ?

Regards

Vinod

Read only

0 Likes
719

i am creating miro with reference to PO.

REF_DOC(Document No. of a Reference Document) - is this Material document no.

REF_DOC_IT(Item of a reference document) fields in ITEMDATA structure ? - is this the item no. 1 in material document.

thank you

Read only

0 Likes
719

Ref document details are optional. It is important to give Purchase Order no and Line item. If you are filling the Reference document details Fill MIGO details.

Regards

Vinod