I am using the BAPI_INCOMINGINVOICE CREATE for mass creation of logistic invoices.
I am filling the GL Account data for the invoice.
For some GL Accounts I am getting the error: 'Account requires an assignment to CO object'.
I tried passing the production order to the GL Account data but with no success. Does anyone have a solution?