cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_INCOMINGINVOICE_CREATE for multiple account assignments

0 Kudos
309

When using BAPI_INCOMINGINVOICE_CREATE to create invoice on PO with multiple account assignment, AccountingData is a mandatory entry. After doing some tests using SE37, I have an impression that I have to pass manually the G/L account, cost object, amount, quantity the from EKKN table to AccountingData table. When it's a full invoice, it's not an issue. However, when it's a partial invoice, esp. when it's distribution in sequence, the logic becomes more complicated. It seems that I have to check if the PO has been invoiced before, how many left and how to distribute the qty to be invoiced to the cost objects in EKKN table. Is there a way that this is handled automatically by the BAPI ?

Accepted Solutions (0)

Answers (0)