VoiSAP — SAP FICO Error Guide

"Account requires an assignment to a CO object"
— the KI235 error, explained & fixed

The single most common FI-CO error. It means you posted to a cost element without telling SAP where in Controlling the cost belongs. Here's what a CO object is, why the account demands one, and the two ways to fix it — enter one on the posting, or set a default in OKB9. By a practising SAP consultant.

CO Object Explained
Two Fix Paths
OKB9 Default
Updated July 2026
KI235
Message No.
#1
FI-CO Error
OKB9
Default T-code
S/4
& ECC
📖 6 min read
Updated July 2026
Common SAP FICO Error
Call Us
+1 416-569-4606
Book Free Demo Class
Start Here

The quick answer

30-sec read
Written by the VoiSAP training team · Updated July 2026 · Practising SAP consultants.

The error "Account <number> requires an assignment to a CO object" (message KI235) means you posted to a cost element — a P&L account that Controlling tracks — but didn't tell SAP where the cost belongs. Cost elements must carry a CO object (a cost center, internal order, WBS element, and so on). You fix it two ways: enter a CO object on the posting line, or set a default for that account in transaction OKB9 so it's assigned automatically.

Account 400000 requires an assignment to a CO object.

Key takeaways

  • The account is a cost element, so it needs a Controlling object on every posting.
  • A CO object = cost center, internal order, WBS element, etc.
  • Fix A: enter the CO object directly on the posting line.
  • Fix B: set a default in OKB9 so postings to that account assign automatically.
Plain English

What the error means

In SAP, some P&L accounts are also cost elements — meaning Controlling (CO) wants to track the cost, not just Financial Accounting (FI). Whenever you post to a cost element, SAP insists you say which part of the business carries that cost. That "which part" is the CO object.

So KI235 isn't a bug — it's SAP protecting your cost reporting. Without a CO object, the cost would land in FI with nowhere to sit in CO, and your cost center / order reports would be incomplete. SAP stops the posting until you tell it where the cost goes.

S/4HANA note: in S/4, cost elements are no longer separate objects — they're G/L accounts of the account type "Primary costs / revenue." The behaviour is the same: a G/L account of that type still requires a CO object.
The Logic

How SAP decides it needs a CO object

One quick decision explains the whole error:

Post to a P&L G/L account Is it a cost element? (primary cost / cost acct) YES Needs a CO object or KI235 error Cost center Internal order WBS element Provide on the line, or default it via OKB9
A P&L account that is a cost element must carry a CO object. Give it one on the posting (cost center, order or WBS), or set a default in OKB9.

If the account is a cost element and no CO object is supplied — on the line or via a default — you get KI235. Provide any valid CO object (cost center, order, WBS…) and the posting completes.

Root Cause

Why it happens

1. No CO object entered on the posting

The direct cause — the account is a cost element and the posting line has no cost center, order, or WBS. Most common in manual FI postings (FB50, F-02) and in automatic postings where nothing defaults.

2. No default account assignment (OKB9)

For automatic postings (like tax, price differences, small differences), there's no object to type — so you need a default in OKB9. If it's missing, KI235 appears with nothing you can enter manually.

3. The account is a cost element when it shouldn't be

Occasionally a balance-sheet-style account was created as a cost element by mistake, so it demands a CO object it never should. Then the fix is to correct the account, not to assign an object.

The Fix

How to fix it, step by step

6 steps
A note on defaults: OKB9 affects live cost assignments, so on a shared or production system make the change in development and transport it, and agree the default cost center/order with the Controlling team. On a training system it's safe to edit directly.

Read the error and note the account

Note the G/L account (cost element) and the company code in the message.

Decide: a specific object, or a default

Should this posting carry a specific CO object, or should every posting to this account default to one? Manual postings usually want a specific object; automatic postings usually need a default.

Fix A — enter a CO object on the posting

In the posting line, fill the account assignment field with a cost center, internal order, or WBS element. Re-post. Done.

Fix B — set a default in OKB9

Go to OKB9. Add a row for your company code + cost element, with the default cost center (or order). You can make the default depend on business area or valuation area if needed. Save.

Also possible: a default cost center can be set on the cost element master itself (KA02 in ECC, or the G/L account's controlling data in S/4) — but OKB9 is the more flexible, standard choice.

If the account shouldn't be a cost element

If this account should never carry costs (it's really a balance-sheet account), the correct fix is to not create it as a cost element — review with FI/CO rather than forcing a CO object onto it.

Retry the posting

Repeat the transaction. With a CO object supplied or defaulted, KI235 is gone and the posting completes.

Quick Answers

FAQ

The G/L account you posted to is a cost element, and cost elements require a Controlling object — a cost center, internal order, WBS element, etc. None was provided, so SAP blocks the posting until it knows where in Controlling the cost belongs.
A CO object is where a cost is collected in Controlling — most often a cost center or internal order, but also a WBS element, network, or profitability segment. It tells SAP which part of the business bears the cost.
OKB9 maintains default account assignments. You set a default cost center or order for a cost element and company code, so postings to that account get assigned automatically without entering the object each time.
Because it's a cost element. P&L accounts created as cost elements always need a CO object on posting. If it shouldn't be a cost element, review whether it was created as one by mistake.
Use OKB9: add the company code and cost element with a default cost center (or order); you can make it depend on business area or valuation area. A default can also be set on the cost element master.
Use a cost center for ongoing, responsibility-based costs (a department or location). Use an internal order for a specific, time-bound activity you want to track separately (an event, a small project). Both satisfy KI235.
CO objects are core SAP FICO knowledge.

Learn the FI-CO link behind the errors —
hands-on, on a real SAP system.

VoiSAP's live SAP FICO training covers cost elements, cost centers, OKB9 and the FI-CO integration on a real system, so errors like KI235 become routine — plus full career support for the Canadian and US market.

*Hands-on training on a live SAP system. Individual outcomes vary.

Related SAP guides & resources
Ready to Start Your SAP Career?

Errors like this are everyday SAP.
Learn to fix them with confidence.

Book a free 30-minute demo class — see live SAP FICO training on a real SAP system, and find out if VoiSAP is the right fit. No obligation.

Live SAP System Access
Real SAP training, not slides — FICO, MM, SD, and User Level.
Career Support Included
Resume, LinkedIn, mock interviews, and job search strategy.
96% Placement Outcomes*
Built around real project-ready SAP skills.
Canada-Focused
Brampton, Calgary, Mississauga, Kitchener and across Canada.
We received your request!
Our team will reach out within a few hours to schedule your free demo class.

No commitment required · Typically respond within a few hours

Chat on WhatsApp 📅 Book Free Demo