Dear(s),
Context:
We develop a tool to post incoming invoices (like MIRO).
We prepare the import table of the BAPI: BAPI_INCOMINGINVOICE_CREATE1
Our issue:
PO-item is defined as multi account assignment.
We don’t know how to prepare the ITEMDATA[] table expected by the BAPI.
Based on ITEMDATA[] table, is there a function module or a class/method that suggests the account assignment table ACCOUNTINGDATA[] ?
If it does not exist, how can I handle the distribution of the quantity/amount ?
In advance, thanks for your comment !
Best regards.