Application Development 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: 

Problem using BAPI for Final Invoice Tick

aaparanjpe
Explorer
0 Kudos
188

Hi,

I am using the BAPI BAPI_PO_CHANGE to set the Final invoice flag in a PO line item. But the call throws up various kinds of errors.

Are there any mandatory parameters that I may have missed out for the updation of this particular field.

Thanks in advance,

Ashish

3 REPLIES 3

venkata_ramisetti
Active Contributor
0 Kudos
75

Hi,

As per my knowledge the following parameters are required.

PURCHASEORDER

POHEADER

POHEADERX

RETURN

POITEM

POITEMX

There is very good function module documentation available for the BAPI.

Open the function module in SE37 and click documentation.

YOu will see example also.

Thanks

Ramakrishna

0 Kudos
75

HI Ramakrishna,

I have used all these parameters, but I guess some thing else needs to be filled.

However, let me know one thing: In the table poitem, I have just passed this one particular field, final_inv. And in poitemx i have flagged this particular field to be updated.

Is there anything else to be done?

I had used exactly the same way for updating another field and it worked.

0 Kudos
75

Did you get solution for this issue. I am facing the same issue.