I started with the business result
I asked the agent to create a company-code example and post a balanced accounting document. The required result was a USD100 expense debit and a USD100 clearing-account credit.
The saved outcome in my sandbox was company code 1710, fiscal year 2026, document 100000000: a USD100 debit to expense account 65009990, assigned to cost centre 1710001, and a USD100 credit to account 10019990. We reopened the document in FB03 and independently checked two persisted ACDOCA lines.
Existing system, new working example
My starting point was an installed SAP S/4HANA 2025 sandbox. It already had settings we could reuse, including the YCOA operating chart of accounts, controlling area A000 and fiscal-year variant K4. Some prerequisites still needed work—including the CONS group-chart setup.
The agent created or completed the settings needed for this particular posting: company-code assignments, accounts, cost/profit-centre data, posting prerequisites, ledger settings and the relevant account classification for existing document splitting.
The sequence was inspect → configure → save → test → correct errors → verify the saved document.
What this walkthrough gives you
This guide includes the business brief, copyable prompt templates, configuration sequence, resolved errors and final checks. The templates are based on this exercise.
First, complete the browser connection. For your exercise, use a sandbox, an available company code and an open posting period.
Explore the AI + SAP guides
Start with the SAP browser connection guide.
Then explore From Prompt to Process: configuration journeys, from company-code setup to costing, reconciliation and depreciation.
The business brief
My request included: “So what I want you to do is to post an accounting document using transaction FB50.” I also specified: “I want the posting to be posted in October 2026.”
The table and template below bring together the requirements and values from that exercise.
| Item | My demonstrated example |
|---|---|
| Environment | SAP S/4HANA 2025, authorized dummy-data sandbox |
| Organization | Company code 1710, US training example, currency USD |
| Process | Balanced general-ledger posting using FB50 in October 2026 |
| Debit | USD100 to expense G/L 65009990, cost centre 1710001 |
| Credit | USD100 to clearing G/L 10019990 |
| Reused starting settings | YCOA, controlling area A000, K4, field-status variant 0001; existing document-splitting setup |
| Evidence required | Saved prerequisites, successful posting, reopened FB03 document and persisted journal lines |
Configure and test the following Finance exercise in my SAP S/4HANA sandbox.
I need a new US training company-code example, currency USD, that can post a balanced USD100 expense/clearing document using FB50. In the demonstrated example, the debit was to expense account 65009990 with cost centre 1710001, and the credit was to clearing account 10019990. The posting period was October 2026.
First check whether company code 1710, the accounts, master data and posting already exist. Check the operating/group charts, controlling area, fiscal-year variant, ledger settings and document-splitting prerequisites. Reuse suitable existing settings.
Keep this first check read-only. If a code is already in use or the period is closed, ask me to confirm an alternative. Do not overwrite existing data or reopen periods.
List the expected debit and credit, the missing prerequisites and the proposed changes. Wait for my confirmation before configuring or posting.My sandbox already contains this example. Check for existing configuration and documents before running it again.
Start the configuration and posting
Review the proposed changes, then enter your confirmed company code and posting period in this prompt:
Proceed with the agreed configuration and USD100 expense/clearing posting in company code [CONFIRMED COMPANY CODE], posting period [CONFIRMED OPEN PERIOD].
Reuse the relevant existing configuration. Limit changes to this exercise. Keep user permissions, other companies and other processes unchanged. Use the appropriate transport for my system and leave it unreleased.
Configure, save and reopen the settings. Test the posting. For each error, record the SAP message, identify the cause, make the correction and retest.
After a timeout, check for a saved document before retrying the posting.
After posting, reopen the document in FB03 and check the saved journal lines in ACDOCA or an available standard report. Report any access problem that prevents a check.The configuration sequence in my example
These are the steps completed in my system. The linked manual contains the screen-by-screen instructions and screenshots.
- Create company code 1710 and maintain its FI/CO assignments.
- Complete the chart/account prerequisites. Reuse YCOA, complete the relevant CONS group-chart prerequisites, and create the required operative G/L accounts.
- Prepare the cost assignment. Profit centre 1710ADMIN and cost centre 1710001 supplied the master data needed for the expense posting. The profit centre used the existing segment 1000_A.
- Check posting prerequisites. The October period, accounting-document number range, employee tolerances and the relevant field requirements had to permit this posting.
- Complete ledger and splitting prerequisites. The company-specific leading-ledger settings and account classification had to agree with the system's existing design.
- Execute FB50, then independently inspect the saved document. The debit and credit had to persist with the intended values and assignment.
The actual errors—and the corrections we verified
These are the errors we encountered and the corrections we made:
| Observed issue | What we inspected and corrected |
|---|---|
| Group-account prerequisites prevented completing accounts | Completed the relevant CONS settings through OB13, OBD4, OB53 and FSP0, then saved the operative accounts |
| FINS_ACDOC_CUST 201 (message class / number) | Saved the company-specific leading-ledger settings in FINSC_LEDGER, then retested FB50 |
| Missing document-splitting item category | Classified the expense account as 20000 and the clearing account as 01000 in GSP_LZ2 for this setup |
| Segment missing on line 001 | Assigned the existing segment 1000_A to profit centre 1710ADMIN, activated the master data and retested |
We also maintained FBN1 interval 01, OBA4 employee tolerance settings and the required cash-flow flag on the clearing account. Check your existing ledger and document-splitting settings before changing account classifications.
How I decided the work was complete
My result was document 100000000 in company code 1710, fiscal year 2026. Use your system's assigned document number for the checks below.
| Check | Expected / observed in my example |
|---|---|
| FB03 identity | Document 100000000 / company 1710 / fiscal year 2026 |
| Expense line | G/L 65009990, debit USD100, cost centre 1710001 |
| Clearing line | G/L 10019990, credit USD100 |
| Balance | Debit USD100 equals credit USD100 |
| Independent journal check | Two persisted ACDOCA lines for the same document identity |
We checked the document and amounts in FB03, then confirmed the two saved journal lines in ACDOCA.
Verify the completed exercise without creating or changing anything:
- Reopen the saved accounting document in FB03. Identify company code, document number, fiscal year, posting date/period and currency.
- Check the expense debit, clearing credit, amounts, balance and cost-centre assignment against our agreed business brief.
- Check the saved journal lines in ACDOCA or an available standard report. Match company code, document number, year, amounts and assignments.
- Reopen the key configuration/master data needed to explain the result.
- List expected and observed values, with the screen/report used for each check. List any checks you could not complete.
Keep verification read-only. If only a simulation has been run, report the posting as incomplete.Ask for the manual after checking the SAP result
Use this prompt to create the manual:
Create an original, readable PDF guide for this verified sandbox exercise.
Begin with the business objective, expected accounting result and the actual starting system. Distinguish existing configuration we reused from settings we created or completed. Show the dependency sequence, then the final working steps with exact transaction/app paths, fields, codes and why each step was needed.
Use screenshots of the saved SAP settings and result. Include the errors and tested corrections, an expected-versus-observed result table and any checks still outstanding. Label the exercise as AI-assisted work in a dummy-data sandbox.
Use [MY BRAND/TEMPLATE OR A SIMPLE READABLE DESIGN]. Make screenshots readable and remove credentials, private URLs and personal data. Render and inspect the PDF, correct layout problems, and save the steps and screenshots in the project folder. Give me the local PDF link. Leave publication and email delivery to me.Open Finance Foundations: From Enterprise Structure to FB50 Posting for the detailed field-by-field instructions and screenshots.
Your next step
Start with the connection check, provide your business requirement, review the proposed changes, then run the configuration and verify the posting. If the task stops, ask it for the exact error message, the screen where it occurred and the information or access it needs to continue.
Back to the connection and starting-task guideExplore the configuration journeys
Read How AI Configured Company Code 1710 in SAP for the agent’s account of this first exercise. Continue through From Prompt to Process for the other configuration stories, or browse all AI in SAP articles.
COMMUNITY DISCUSSION
Your experience, questions and practical insights
Which part would you approach differently? Share an observation, tell us what worked, or ask a question.