SAP Knowledge Base Article - Public

2628966 - Error: Account & requires an assignment to a CO object

Symptom

In app you receive error Account & requires an assignment to a CO object

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

  • Financial Accounting (FI)
  • SAP S/4HANA Finance
  • SAP S/4HANA
  • SAP S/4HANA Cloud
  • SAP Fiori 

Cause

Account concerned is defined as a cost element.  An account assigned as cost element must contain a real CO Object.

Resolution

Account assignment objects in Controlling are orders, cost centers, projects, cost objects, networks, special make-to-order sales orders, and profitability segments. The most important rule is that for each posting line to an account that is also created as a cost element in CO a real CO account assignment is required.

In general this means that the transaction that is executed is responsible for sending an account assignment to the CO interface in order to avoid error KI235. So if you would expect that an account assignment should already be included for example in a goods issue or an invoice, then the root cause for the error message is not within CO but with the goods issue or invoice itself.

There are however several possibilites to let the system automatically determine an account assignment within the CO interface.

The following is the order of steps taken in the CO interface to determine the account assignment:

  1. If the sending transaction provided an account assignment to the CO interface for the line item this account assignment will be used

  2. CO Substitution:  See help.sap.com documentation Substitution/Validation for Journal Entries

    App Manage Substitution/Validation Rules (App ID: F4406) Business Context: Coding Block -  No overwrite mode

    App Custom Logic (App ID F6957) BAdIs for Substitution for Journal Entries: FIN_CODING_BLOCK_SUBSTITUTION
    Be aware that the substitution can potentially change or remove exisiting account assignments as well.

  3. Default Account Assignments via SSCUI ID 102639 / Configuration Activity 'Manage Default Account Assignments' (Only if still no valid account assignment exists for the line item at this point the system will use the account assignment from the default account assignment)

    In your app Manage Your Solution, Choose Configure Your Solution (or CBC System)
    Enter 

    Application Area  Sub Application                Area Name

    Finance                  General Settings               Journal Entry

generalsettings.png

Choose  Step Name: Manage Default Account Assignments (SSCUI ID 102639)

manageDefaultAccountAssignments.png

  Choose Configure.  You can assign account assignment to cost element(s) concerned.

 defaultAccountAssignment.png

See Also

2741518  - Error KI235 when posting a goods receipt

Keywords

Perform Foreign Currency Valuation, APP ID FAGL_FCV, FAGL_SPLINFO, SAP_SFIN_BC_GL_CLOSING, performForeignCurrValuation, KI235, balances, open item, kdf, V_FAGL_FCBAL, V_FAGL_SPLIT_FL2, oba1, cost element, cost centre, KOSTL, SSCUIs, SAP_BR_BPC_EXPERT, Manage Your Solution, automatic account assignment, Profitability segment, profitability seg. PAOBJNR, cloud, OKB9, default, cash discount, exchange rate difference, SSCUI, CO, 10263, GLT2201, Balancing field , KBA , requires an account assignment , FI-FIO-GL , Fiori UI for General Ledger Accounting , CO-OM , Overhead Cost Controlling , FI-GL-GL-G , Closing Operations / Period-End , FI-FIO-GL-2CL , Fiori UI for General Ledger Accounting (Public Cloud) , XX-S4C-OPR-SRV , S/4HANA Cloud service requests , How To

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions