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: 

multiple GR lines using BAPI_INCOMINGINVOICE_CREATE

Former Member
0 Kudos

I am using BAPI BAPI_INCOMINGINVOICE_CREATE to post MM invoice . The PO which is use is flag at item level as GR-IV enabled . Now i get invoice from outside which i try to post via BAPI . But BAPI posting fails as for GR-IV enabled PO line item i must pass the corresponding goods receipt and GR quantity .

So for single GR for a PO line item its working fine

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

Those fields must be provided at item level, so you must pass REF_DOC[_YEAR, _IT] on each record of ITEMDATA, which error message did you get?

Regards,
Raymond