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

Limit Item using BAPI_INCOMINGINVOICE_CREATE

Former Member
0 Likes
486

Hi Guru's

I've been using BAPI_INCOMINGINVOICE_CREATE to create invoices against a PO, but my problem is that the FM is posting even after the limit has been reached could anyone help me identify why this is so?

Regards

Tatenda Chaibva

1 REPLY 1
Read only

Former Member
0 Likes
375

The use of the AccountingData table is the key to solve th e problem, but the requirement is that INVOICE_DOC_ITEM must have the same number ie 00001 if it is the 1st line item that is being split into different cost centers, and the QUANTITY, PO_UNIT, PO_UNIT_ISO, PO_PR_QNT, PO_PR_UOM, PO_PR_UOM_ISO must not be populated. All the best and happy development.