• Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers
  • Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand
  • OverflowAI GenAI features for Teams
  • OverflowAPI Train & fine-tune LLMs
  • Labs The future of collective knowledge sharing
  • About the company Visit the blog

Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Get early access and see previews of new features.

BAPI_PO_CREATE1 Account 475000 requires an assignment to a CO object

I've found two functions, BAPI_PO_CREATE and BAPI_PO_CREATE1 . Since the CREATE1 has a more recent modification date, I assumed this would be the best one to use. As an example, I'm creating a rather simple purchase without a material.

As such, I'm using a G/L Account and WBS element as the cost object:

However, the I continue to get the error message:

Which shouldn't be the case, when I fill in the same exact data in ME21n I still get the delivery date warning but not the error on purchase order item. I have come across two different SAP notes but neither of them can be implemented. As well, even when I remove the WBS element from the account I still get the error message.

I've also tried filling in the WBS element in the CO-object field of the BAPI structure, but that did nothing. I can trace the point in the BAPI where it throws this error message but I can't find out why it's happening.

Entire method: http://hastebin.com/ufarisozav.xml

Sandra Rossi's user avatar

You will need to fill the table poaccountx as well (as shown in the documentation of the function module), otherwise the system might ignore some or all of the data inserted into the poaccount table.

vwegert's user avatar

  • I've filled this in as well, I just didn't include the code snippet, added to post –  user3704258 Commented Nov 2, 2016 at 9:11
  • That is why a complete sample is so important. Did you also fill SERIAL_NO and forgot to paste that? –  vwegert Commented Nov 2, 2016 at 9:16
  • nope, let me throw something in it and see. Edit: nothing changed, I've included a snippet of the entire method. –  user3704258 Commented Nov 2, 2016 at 9:17
  • You need to provide the SERIAL_NO in both poaccount and poaccountx . –  vwegert Commented Nov 2, 2016 at 9:46
  • I've filled in those fields, it makes no difference. There is also something I find quite weird. When I don't provide a GL account or I use a different account, the table I sent to the BAPI has a different GL account filled in (e.g. I put 800 and I see that it turns into 475000 and reports that) –  user3704258 Commented Nov 2, 2016 at 10:00

Your Answer

Reminder: Answers generated by artificial intelligence tools are not allowed on Stack Overflow. Learn more

Sign up or log in

Post as a guest.

Required, but never shown

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy .

Not the answer you're looking for? Browse other questions tagged abap bapi sap-erp or ask your own question .

  • The Overflow Blog
  • Detecting errors in AI-generated code
  • Where developers feel AI coding tools are working—and where they’re missing...
  • Featured on Meta
  • User activation: Learnings and opportunities
  • Preventing unauthorized automated access to the network
  • Announcing the new Staging Ground Reviewer Stats Widget

Hot Network Questions

  • Is "spell me" not US idiom? Or perhaps archaic now?
  • Disclaimer of Warranty regarding wording of representation, undertaking, warranties and gurantees
  • How control for the number of observations in the models?
  • Is p→p a theorem in intuitionistic logic?
  • What is the smallest interval between two palindromic times on a 24-hour digital clock?
  • Can we have reliable deterministic reasoning processes if our universe is fundamentally non-deterministic?
  • Why can’t acceleration in GR be defined the same way as in EM?
  • is it possible that cohesive energy of a material is positive but the phonon dispersion curve have negative frequencies?
  • Could a civilisation develop spaceflight by artillery before developing orbit-capable rockets?
  • Traveling abroad, changing identifying gender and coming back to the Czech republic
  • How to return multiple columns from one function inside `mutate` and allow me to name the output columns?
  • How can an RS-422 transceiver not have a negative voltage rail?
  • What made scientists think that chemistry is reducible to physics and when did that happen?
  • Could a Project like Orion be built today with non nuclear weapons?
  • Folding a 70º coffee filter cone
  • How close are aircraft allowed to get to each other mid-flight?
  • Why do the eigenvalues of the sum of matrices add up in my example?
  • Compact category which is not idempotent complete
  • Which musical notes will be produced by a guitar minor chord sound uploaded as an audio file in the FL Studio piano roll?
  • Better Methods to Find a Point's Coordinates with Three Collinear Points
  • Can't the electric current returning from the neutral end of the electrical cables be used again?
  • How can I anchor a slightly oversized home to new concrete foundation?
  • Do "always prepared" Spells cost spell slots?
  • Do all languages distinguish between persons and non-persons?

requires assignment to co object

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.

















 



- Do you have a SAP FI/CO Question?









SAP Logo

2547641 - KI248 error message in F110 payment program.

Error message "KI248 - Account XXXXXX requires an assignment to a CO object" is triggered while running F110 payment program.

Environment

  • Financial Accounting (FI)
  • Controlling (CO)
  • SAP R/3 Enterprise 4.7
  • SAP ERP Central Component
  • SAP enhancement package for SAP ERP
  • SAP enhancement package for SAP ERP, version for SAP HANA

KI248, OKB9, Statistical, Internal order, F110, automatic payment, payment program, Account requires an assignment to a CO object , KBA , CO-OM-CEL , Cost Element Accounting , CO-OM , Overhead Cost Controlling , CO-OM-CEL-E , Postings , Problem

About this page

Search for additional results.

Visit SAP Support Portal's SAP Notes and KBA Search .

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

Account Requires an Assignment to a CO object 科目需

图片.png

Account Requires an Assignment to a CO object | How to solve the error Account requires an assignment to a CO object | Account 650624 Requires an Assignment to a CO object

When i am trying to do stock posting via MB1B i am getting the error “Account requires an assignment to a CO object”.

To Solve this error we are going to tell the step by step procedure in this blog. Please follow the mention below steps in this blog to solve the error “Account requires an assignment to a CO object”.

Table of Contents

What is Account requires an assignment to a CO object?

Account requires an assignment to a CO object error shows when you are trying to post stock in particular material for particular site via Goods posting transaction codes like MB1B and MI10.

Here we are not following the slandered procedure like process the purchase order for requires material then goods receipt from vendor and then invoice verification here we are going to enter stock manually and trying to enter stock quantity without any goods receipt. But there is some situation we need to enter the direct entry of stock but due to this error “Account XXXXXX requires an assignment to a CO object” we can’t process the procedure. In this article we are going to solve this error.

This error occurred due to not properly maintained Cost Element of particular GL Account.  In the Transaction code KA02 change the cost element we will entered the required entry and solve this error.

Why Account requires an assignment to a CO object?

Account  requires an assignment to a CO object error is shows because the cost element for GL of process goods posting is not properly Maintained. Sometime there is a conflict is cost center assigned is default when you created the GL Account as Cost Element and the Cost Center.  To resolve this error we have to look in transaction code FS00 (Edit G/L Account Centrally) and KA02 (Change Cost Element ).

How to solve the error Account requires an assignment to a CO object?

To Solve the error Account requires an assignment to a CO object follow the mention steps in below pictures.

Step 1: Enter the transaction code (Tcode) in command box.

图片.png

Step 2: Now  t he Edit GL Account Centrally screen will appear in this screen you need to enter GL.

图片.png

Step 3: Now  t he Edit GL Account Centrally screen will appear in this screen you need to enter GL and click on Edit Cost Element like mention in below picture.

图片.png

Step 4: Now the Change Cost Element: Basic Screen will appear in this screen like below given picture.

图片.png

Step 5: In this Change Cost Element: Basic Screen you will open the Default Acct. Assgnmt tab like below picture.

图片.png

Step 6: When you open the Tab Default Acct Assgnmt tab here you will se Cost Center and order entry box now you have to enter the correct cost center code in cost center block of your GL account.

图片.png

Step 7: After entering the requires entry click on Save button your entry will saved and your error also resolved you can process the goods posting.

图片.png

We can also directly change the cost element by transaction code KA02 and enter the GL account in the tab of Cost element and the follow the same process of changing cost element.

Now you can go to the MB1B and MI10 and can process the goods posting without having this error.

To solve the “Acct. 5XXXX0 for trans./event key BSX, postable directly” error please click on below link.

Acct. 5XXXX0 for trans./event key BSX, postable directly

What is Transaction code for change cost element?

To change the Cost Element Transaction code is KA02. To display the Cost Element Transaction code is KA03. To Create the Cost Element Transaction code is KA01.

What is the Transaction code for edit GL Account?

Transaction code for Edit GL Account is FS00.

What is the CO object in an accounting document?

When a document is posted system through the message that account xxxxxx requires assignment to CO object, it is basically requires to enter the cost center into cost element is created for profit and loss account.

Ta的文章 更多 >>

  • Account Requires an Assignment to a CO object 科目需 0 个评论
  • SAP中VK11中的bapi BAPI_PRICES_CONDITIONS 0 个评论
  • BAPI_AGREEMENTS : BAPI to Create Agreements in SAP 0 个评论
  • How to use a contact person in SAP S/4HANA 0 个评论
  • 根据销售订单创建采购申请 Function 0 个评论
  • SAP License:赠品处理原理浅析 0 个评论
  • 业务合作伙伴 – 客户通过 LTMC 上传 0 个评论
  • 使用 Migration cockpit (LTMC) 在 S/4 中创建和扩展 Customer 0 个评论
  • 怎么在 S4 里删掉BP 0 个评论
  • Create BP and Customer Using ABAP in SAP 0 个评论
  • 修复 MD04 错误的程序 0 个评论
  • SAP MM 库存相关的数据库表 0 个评论

打开微信“扫一扫”,打开网页后点击屏幕右上角分享按钮

IMAGES

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

    requires assignment to co object

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

    requires assignment to co object

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

    requires assignment to co object

  4. Fix error Account 400000 requires an assignment to a CO object in SAP MM

    requires assignment to co object

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

    requires assignment to co object

  6. SAP Help Portal

    requires assignment to co object

VIDEO

  1. Solved: SAP Account requires an assignment to a CO object

  2. JS Coding Assignment-2

  3. Your Assignment Requires Total Focus “Part 3” Deuteronomy 13:6-10 Part 3

  4. 20230701 Lee Jong Suk Fans Meeting "Dear, My With" in Hong Kong

  5. If Servers Spoke Like Chefs

  6. Start Your Impossible All for One Toyota

COMMENTS

  1. 2628966- Error: Account & requires an assignment to a 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.

  2. 2901500

    ErrorAccount & requires an assignment to a CO object - KI235 is raised for follow-on processes, for example Foreign currency valuation for open items - Expenses/profit from foreign currency valuation, Clearing of open items - Realized exchange rate differences etc. with regard to original document posted with business transaction 0000.

  3. 2741518

    When posting a goods receipt using the webgui tile 'Post Goods Movement', the posting fails with error 'Account & requires an assignment to a CO object' - KI235

  4. BAPI_PO_CREATE1 Account 475000 requires an assignment to a CO object

    Since the CREATE1 has a more recent modification date, I assumed this would be the best one to use. As an example, I'm creating a rather simple purchase without a material. call function 'BAPI_PO_CREATE1'. exporting. poheader = po_header. poheaderx = po_header_x. testrun = abap_false. tables. return = returning.

  5. Account xxxx Requires an Assignment to a CO Object

    Hello CO Experts, When a document is being posted, system gives a message that A/c xxxx requires an assignment to a CO object. It is basically requiring you to enter a cost center or other CO object (like sales order, production order etc.) this is because a cost element is created for the P&L account. Accounting have created several P&L accounts without cost elements in the past and so they ...

  6. SAP CO Account Assignment Tutorial

    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. Enter the valuation area and enter the corresponding CO object, then click save button. Default SAP CO Account Assignment

  7. 1732825

    KI 235 AFAB missing customizing post transaction asset accounting ABAVN ACSET AACCOBJ OB65 RAPOST2000 Posting depreciation Retirement ABAVN ABAV cost center internal order WBS element OKB9 ABSO Depreciation run Cost object CJ88 Profit center PRCRT KOSTL AUFNR PSNPR settlement cost element ABZON AB01, KBA , FI-AA , Asset Accounting , FI-AA-AA-C , Transactions , FI-AA-AA , Basic Functions , How To

  8. SAP FI: Account Assignment to CO Object

    Has anyone ever seen a warning message such as ""Account XXXXXX requires an assignment to a CO object"" Any idea how to resolve? Thanks, previoustoolboxuser (previous_toolbox_user) February 7, 2002, 3:36pm 2. I had a similar issue at the time of settlement of the Internal Order. Wrote to OSS and they suggested calling up OKB9 via a user ...

  9. AFAB

    Hello Experts, We have used until today the default account assignment (OKB9) for our depreciation run and now we would like to use the cost centers from the Assets, so we have deleted the corresponding entries from OKB9. In AFAB, we receive for some accounts the message (KI 235) Account & requires an assignment to a CO object. The problem for one account was that it had the field cost center ...

  10. Requires an Assignment to a CO Object

    Account 820290 requires an assignment to a CO object. Message no. KI 235. Diagnosis. You have not defined a CO account assignment for an account that is relevant to cost accounting. System Response. Account 820290 is defined as a cost element. This means that you must always specify a CO account assignment. Procedure.

  11. 2507207

    During update of account assignment in purchase order, system is giving standard error message: Error KI235 "Account requires assignment to a CO object".

  12. Account 700400 requires an assignment to a CO object

    To clarify my understanding your client is not using SAP SD module but some other 3rd party frontend for booking sales and there is an interface passing data to the SAP FI sysytem?

  13. 2547641

    KI248, OKB9, Statistical, Internal order, F110, automatic payment, payment program, Account requires an assignment to a CO object , KBA , CO-OM-CEL , Cost Element ...

  14. Account Requires an Assignment to a CO object 科目需

    When a document is posted system through the message that account xxxxxx requires assignment to CO object, it is basically requires to enter the cost center into cost element is created for profit and loss account. ...

  15. "Account 510000 requires an assignment to a CO object."

    Account 300001 requires an assignment to a CO object Message no. KI 235. Software. discussion, sap. 10: 1504: July 7, 2009 Account xxxxxx requires an assignment to a CO object. Business. discussion, enterprise-software. 13: 143: February 10, 2011 Account xxxx Requires an Assignment to a CO Object ...

  16. Account 300001 requires an assignment to a CO object Message no. KI 235

    Account 7151000 requires an assignment to a CO object Message no. KI235 Diagnosis You have not defined a CO account assignment for an account that is relevant to cost accounting. System Response Account 7151000 is defined as a cost element. This means that you must always specify a CO account assignment.