SAP Logo

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

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 

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

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:

  • If the sending transaction provided an account assignment to the CO interface for the line item this account assignment will be used
  • 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.
  • 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

2741518   - Error KI235 when posting a goods receipt

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

Privacy | Terms of use | Legal Disclosure | Copyright | Trademark

ERProof - Blog about All Things SAP

Blog about all things SAP

ERProof » SAP CO » SAP CO Training » SAP CO Account Assignment

SAP CO Account Assignment

SAP CO Account Assignment

Normally, when a financial document is entered in SAP FI module , user has the option of entering the cost center in the financial document. However, when documents are entered from different modules or a cross-module financial transaction occurs, such as from MM or SD , there is no option of entering the cost center in the document. In this situation, the SAP system will derive the cost center through automatic SAP CO account assignment, substitutions, or through default settings made in the primary cost element.

Automatic SAP CO Account Assignment

The automatic account assignment has to be configured in the transaction code OKB9 . For posting made in external accounting, such as for price differences, exchange rate differences, etc., the SAP system automatically checks entries in the OKB9 settings and derives the cost center.

If you do not enter a CO object (order, cost center, or project) in external accounting postings made in FI, MM or SD modules and the posting is cost relevant, then the automatic account assignment checks the relevant cost center and makes the posting.

Here are examples of automatic account assignments:

  • Banking fees, exchange rate differences and discounts in FI
  • Minor differences and price differences in MM

The account assignment objects that can be maintained in the transaction OKB9 are:

  • Cost center
  • Profit center (profitability segment)

Normally, the automatic account assignment runs on the company code level along with the CO object. However, if the user wants to make the posting on the business area level, valuation area level or profit center level, it is also available in OKB9 settings. So basically it includes the following levels:

  • Company code level
  • Business area level
  • Valuation area level
  • Profit center level

The above 3 excluding the company code level are used in cases when the account assignment is needed below the company code level.

Prerequisites

Here are the prerequisites of activating automatic SAP CO account assignment:

  • Activation of the cost center accounting
  • Creation of cost centers
  • Maintenance of cost elements

Additionally, you can also create orders and profit centers as per the business requirements.

Settings in Transaction OKB9

Let’s discuss settings that are possible for automatic SAP CO account assignment in OKB9 transaction.

Start SPRO transaction and navigate to the following path:

Controlling – Cost Center Accounting – Actual Postings – Manual Actual Postings – Edit Automatic Account Assignment (OKB9)

Alternatively, you can start OKB9 transaction directly from the command bar.

Transaction OKB9 – SAP CO Account Assignment

  • If you want to have the setting on the company code level only, then enter the company code and the cost element along with the corresponding CO object, i.e. a cost center, an order or a profit center.
  • If you want to have the settings on the valuation area level, then enter the company code and the cost element and chose the ‘valuation area’ option in the account assignment detail as ‘1’.
  • Similarly, if you want to have the settings on the business area or profit center level, then choose the option ‘2’ or ‘3’ respectively.

If you have chosen account assignment detail ‘1’ or ‘2’, then click on ‘Detail per business area/valuation area’ on the left sidebar.

Transaction OKB9 – Details per Business Area / Valuation Area

Default SAP CO Account Assignment

In order to determine the correct CO account assignment, the SAP system performs several checks in the following sequence. First it checks the document which a user is posting. If the cost center is empty in the document, then the system checks if any substitutions are maintained for the particular G/L account . Next, if the substitution is also missing, then the system moves on to the OKB9 settings for automatic SAP CO account assignments. Finally, if these settings are also missing, the SAP system checks master data of the primary cost element (G/L Account) under the tab of Default Account Assignment . You can display this master data using the transaction KA03 .

You can maintain the cost center and the order in the master data of the primary cost element.

SAP Cost Element Master Data

So, basically the order of checks the system makes is:

  • Financial document – Cost center
  • Substitutions – transaction OKC9
  • Automatic account assignments – transaction OKB9
  • Default account assignments – transaction KA03 / KA02

Lastly, if any of the above is not maintained, then the SAP system throws an error ‘Account X requires an assignment to a CO Object’ and doesn’t allow posting of a document.

SAP CO Account Assignment using Substitution

In cases where you don’t need OKB9 or default account assignment, the user can go for user exits where a specific G/L account is mentioned under the company and the value in the cost center is substituted by the cost center given in the substitution.

The transaction for maintaining the substitution is GGB1 .

SAP Create Substitution Transaction

Usage of substitutions for SAP CO account assignment is justified by the business requirement and usually SAP CO account assignment requirements are fulfilled by OKB9 or default account assignments.

Did you like this tutorial? Have any questions or comments? We would love to hear your feedback in the comments section below. It’d be a big help for us, and hopefully it’s something we can address for you in improvement of our free SAP CO tutorials.

Navigation Links

Go to next lesson:  SAP Adjustment Postings

Go to previous lesson:  SAP Profit Center

Go to overview of the course: Free SAP CO Training

4 thoughts on “SAP CO Account Assignment”

it is helpful material i ask for more clear details for using substitution method for Account Assignment. thanks in advance

Sir, I am not receiving the training mails from yesterday 7/1/2019. I have completed my training till here(SAP CO Account Assignment) please do send the rest of the training emails for SAP CO. Hope you will do the needful.

I am getting the same error “Account 500911 requires an assignment to a CO object”. In OKB9, we have given company code, Cost element and ticked the check box ‘Indicator: Find profitability segment using substitution’ (V_TKA3A-BSSUBST) and not filled anything like cost center, order and profit center. in OKC9 we have created substitution. All the process happening through Idoc Message Type SINGLESETTRQS_CREATE and inside BAPI BAPI_SINGLESETTREQS_CREATEMULT triggering and raising this error. Cost center is not maintained in 1. Financial document – Cost center 2. Automatic account assignments – transaction OKB9 and 3. Default account assignments – transaction KA03/KA02 But we have substitution in transaction OKC9 to determine cost centre.

Where woulbe be the issue?

good explanation

Leave a Reply Cancel reply

Do you have a question and want it to be answered ASAP? Post it on our FORUM here --> SAP FORUM !

Your email address will not be published. Required fields are marked *

Save my name, email, and website in this browser for the next time I comment.

IMAGES

  1. SAP solve KI248 Account requires an assignment to a CO object

    sap account needs assignment to co object

  2. SAP solve KI248 Account requires an assignment to a CO object

    sap account needs assignment to co object

  3. SAP solve KI248 Account requires an assignment to a CO object

    sap account needs assignment to co object

  4. [Solved]Account Requires An Assignment To A CO Object

    sap account needs assignment to co object

  5. SAP Account Assignment Template FB50

    sap account needs assignment to co object

  6. How to Define Chart of Accounts in SAP & Assign Company Code?

    sap account needs assignment to co object

VIDEO

  1. Account assignment mandatory for material

  2. What we do in Cost Center Accounting in SAP CO

  3. Assign sales organization to company code in SAP SD

  4. SAP Account Assignment Model FKMT

  5. Fix error Co-doc. number assignment not possible for bus. trans. COIN in co area in SAP MM

  6. SAP CO Training

COMMENTS

  1. 2628966

    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.

  2. Determination to require "assignment to CO object"

    1) How can it be that with account Y no check for CO is done and for all other cost elements created afterwards check is done. Solution I know (enter e.g. default CO in KA02), but I don't understand why the check isn't done with the first account. 2) What check is done before going to substitution rules & validation? Thanks for your help as always,

  3. SAP CO Account Assignment Tutorial

    This tutorial is part of our free SAP CO training. You will learn how account assignment works in SAP ERP and what are different sources of information about account assignment that the SAP system uses. Normally, when a financial document is entered in SAP FI module, user has the option of entering the cost center in the financial document.

  4. Account Assignment to CO object

    Search Questions and Answers . 0. AJIT KUMAR SINGH

  5. Account Assignment to CO object

    Important Dates! SAP Community will be READ-ONLY from January 16 â January 23 for the technical migration.

  6. CO Account Assignment

    CO Account Assignment. Making System Settings for the CO-PA Account Assignment. Linking the Line Items. Tax Calculation. External Account Derivation. Supplementing Posting and Invoicing Items. Deferred Revenue Postings. Statements. Invoicing of SD Documents.

  7. Account Assignment of Controlling Objects

    These rules for the account assignment logic always apply for postings in internal accounting (Controlling). Account assignment distinguishes between true and statistical Controlling objects. True Controlling Objects. Cost centers (for account assignment of costs) Orders (true) Projects (true) Networks. Make-to-order sales orders.

  8. account assignment object (CO) (SAP Library

    Controlling (CO) An object to which costs or quantities are posted in Controlling. Account assignment objects can be objects such as cost centers, internal orders, projects, or business processes.

  9. SAP

    SAP SE (/ ˌ ɛ s. eɪ ˈ p iː /; German pronunciation: [ɛsʔaːˈpeː] ⓘ) is a German multinational software company based in Walldorf, Baden-Württemberg.It develops enterprise software to manage business operations and customer relations. The company is the world's leading enterprise resource planning (ERP) software vendor. Apart from ERP software, the company also sells database ...