Showing results for 
Search instead for 
Did you mean: 


0 Kudos


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?



Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos


First, if G/L account was created in FI, you can only create primary cost element in CO.

Secondary cost element can only be created if no account exists in FI.

Second, if you created the primary or secondary cost element in CO, you have to assign CO account assignment.

You can delete cost element in CO (KO04) if dependent objects found.

Third, when you create cost element in CO, documents would be also created in ‘Cost center accounting’ and ‘Profit center accounting’ when posing in FI. If no cost element exists in CO, no related documents would be created in CCA and PCA.



Former Member
0 Kudos

Hi ,

I think there is no problem with the BAPI.

May be you are getting this error because the GL account is not created properly.

Try to create the invoice in miro with same parameters which you are using with bapi and find that there too u r getting this error or not.

Former Member
0 Kudos


Try to assign a cost center

Check your GL account by trx FS00


Active Contributor
0 Kudos

Hi Harish,

Check in the pricing procedure, if the Condition type has an assignment with CO object through an Account key. This is generally done by your FI Functional.