cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_INCOMINGINVOICE CREATE

0 Kudos

Hi,

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?

Regards,

Harish.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi

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.

regs

Arun

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

Hi

Try to assign a cost center

Check your GL account by trx FS00

Max

former_member181962
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.

Regards,

Ravi