- 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
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.
- 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
- The hidden cost of speed
- The creator of Jenkins discusses CI/CD and balancing business with open source
- Featured on Meta
- Announcing a change to the data-dump process
- Bringing clarity to status tag usage on meta sites
- What does a new user need in a homepage experience on Stack Overflow?
- Feedback requested: How do you use tag hover descriptions for curating and do...
- Staging Ground Reviewer Motivation
Hot Network Questions
- 70s-90s Anime Mecha Movie/Series
- Help identifying a board-to-wire power connector
- Cardinality of connected LOTS
- Do US universities invite faculty applicants from outside the US for an interview?
- I'm a little embarrassed by the research of one of my recommenders
- Integrity concerns
- How high does the ocean tide rise every 90 minutes due to the gravitational pull of the space station?
- Size of the functor category
- What was the typical amount of disk storage for a mainframe installation in the 1980s?
- Can the planet Neptune be seen from Earth with binoculars?
- Manhattan distance
- How does registration work in a modern accordion?
- Best approach to make lasagna fill pan
- Does a party have to wait 1d4 hours to start a Short Rest if no healing is available and an ally is only stabilized?
- Vivado warning: extra semicolon in not allowed here in this dialect; use SystemVerilog mode instead
- How would you read this time change with the given note equivalence?
- Using NDSolve to solve the PDEs and their reduced ODEs yields inconsistent results
- How to simplify input to a table with many columns?
- Is this host and 'parasite' interaction feasible?
- What was the first "Star Trek" style teleporter in SF?
- Approximations for a Fibonacci-Like Sequence
- How does a miner create multiple outputs in a coinbase transaction?
- When has the SR-71 been used for civilian purposes?
- Swapping touch digitizer from one Android phone to another
2917850 - Error Message no. KI248 in Fiori app Create Outgoing Invoices (FB70)
In fiori app Create Outgoing Invoices (FB70), you get the error message "Account XXXXXXX requires an assignment to a CO object" (KI248).
Environment
- SAP S/4HANA
- SAP S/4HANA Cloud Public Edition
KI248, Fiori, app, Create Outgoing Invoices, FB70, Account,requires an assignment, CO object, cost element, category 11, Cost center, profit center, cost objects revenue sales deduction, accounts, profitability segment, derive, account assignment , KBA , FI-FIO-AR , Fiori UI for Accounts Receivable , FI-FIO-GL , Fiori UI for General Ledger Accounting , FI-FIO-AR-2CL , Fiori UI for Accounts Receivable (Public Cloud) , 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
IMAGES
VIDEO
COMMENTS
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.
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.
Visit SAP Support Portal's SAP Notes and KBA Search. When you release an invoice to accounting, you receive the following error: KI235 - Account XXX requires an assignment to a CO object OKB9 works with plant and G/L account combination to derive the cost center, as a result, OKB9 is configured with valuation area manda.
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.
Account xxxx Requires an Assignment to a CO Object
In OKB9, in the initial screen, enter cocode, cost element and 3 (in acct assignment detail), select this item, on the left hand side, select details per profit center
About this page This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required). Search for additional results. Visit SAP Support Portal's SAP Notes and KBA Search.
If you find that your account was created automatically as a cost element, and shouldn't have been, you can change the configuration with transaction OKB2 (menu path: IMG → Controlling → Cost Element Accounting → Master data → Cost elements → Automatic Creation of primary and secondary cost elements → Make default settings).
Of these several account assignment objects only one of the object acts as "real account assignment object". All other account assignment objects will act as "statistical account assignment objects". There is no definite limit on how many statistical account assignment objects may be used within a single posting line, it is however only ...
Note: if a default Cost Center have already been assigned to the GL Account but 'Valuation area is mandatory' have been specified, it is necessary to maintain a default Cost Center at the lower level too, because in that case the system will pick up the cost center at that level.
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
Combination of Item Categories/Account Assignment Categories. No 2. You're posting a GR against a cost element that needs a. cost object. Either the GL needs to be defined in OKB9 or your. cost object (cost center, internal order, WBS) should be. mandatory in the PO and it isnt. 1st place to look is ask.
KI248, Fiori, app, Create Outgoing Invoices, FB70, Account,requires an assignment, CO object, cost element, category 11, Cost center, profit center, cost objects revenue sales deduction, accounts, profitability segment, derive, account assignment , KBA , FI-FIO-AR , Fiori UI for Accounts Receivable , FI-FIO-GL , Fiori UI for General Ledger Accounting , FI-FIO-AR-2CL , Fiori UI for Accounts ...
Account 300001 requires an assignment to a CO object ...