Posting to company code is not permitted, because the company code is flagged as a template.
System Response
Procedure
Do either one of the following:
Make sure the document is not posted to this company code.
Remove the template flag from this company code using transaction
FINSC_CO_CD_TEMPLATE. Note that the customizing
for company codes not flagged as templates is subject to additional constraints. The customizing must be fully consistent to successfully post documents. Any inconsistencies are reported during the posting process.