Phase 2 — Company Code & S/4 Config
🎯 In plain words
❓ Why it matters
Miss one of these gates and MIGO or MIRO fail with cryptic errors — the famous "new company code gauntlet" every beginner hits. Knowing the checklist turns hours of confused googling into a five-minute fix, and the period/ledger settings show up directly on the exam.
🧠 Key concepts you must know
1. Posting periods — the "calendars"
SAP only lets you post into open periods. Two separate controls:
- OB52 — opens/closes FI posting periods.
- OMSY — sets the MM current period (the month MM postings land in).
2. Global parameters & the basics
| T-code | Sets |
|---|---|
| OBY6 | Global parameters — wires the company code to chart of accounts, fiscal year variant, currency, etc. |
| FBN1 | Number ranges for accounting documents |
| OBA7 | Document type → number range link |
| OBA4 | FI tolerances (limits per user/group) |
| OBB8 | Payment terms (when invoices are due) |
3. The S/4-only bits
- Universal Journal ledger (FINSC_LEDGER) — the ACDOCA ledger setup that all postings flow into.
- Document splitting — automatically splits a posting by a dimension (e.g. profit centre) so each segment balances on its own — needed for segment-level balance sheets.
- Material Ledger startup: OMX3 → OMX1 → CKMSTART. In S/4HANA the Material Ledger must be productive, or material postings won't work.
4. The readiness "gauntlet"
Before a goods receipt can post, the chain of prerequisites must all be in place: open MM period, open FI period, number ranges, global parameters, and an active Material Ledger. Knowing the checklist is half the battle.
🛠️ Do it now — practise alongside
Don't just read — run the company-code build in your IDES and prove it can post:
Company Code 1A–1P F-02 test (2) TroubleshootingOpen your periods with OB52 and OMSY, then post a test document with F-02 — if it balances and posts, your gates are open.
🔗 Connects to
- Phase 1 — Enterprise Structure: this config is built on the org frame you assembled there.
- Phase 8 — Valuation & OBYC: the Material Ledger you switch on here feeds material valuation.
- Troubleshooting: the go-to when a posting fails with a cryptic period/ledger error.
🎓 Cert focus & quick recall
C_TS452 area ② (Cross-functional customizing). Expect questions on FI vs MM periods, what OBY6 controls, and why the Material Ledger is mandatory in S/4HANA.
OB52 vs OMSY — what's the difference?
OB52 opens/closes FI posting periods; OMSY sets the current MM period. You usually need both right for a goods receipt to post.
Why must the Material Ledger be productive in S/4HANA?
In S/4HANA the Material Ledger is mandatory — it's integral to material valuation and the Universal Journal. If it isn't started (CKMSTART) and productive, material postings fail.
What is document splitting for?
It automatically splits a document by a dimension (e.g. profit centre or segment) so each part balances independently — enabling balance sheets at segment level.
What does OBY6 wire together?
The company code's global parameters — chart of accounts, fiscal year variant, currency, field status variant and similar core links.
✅ You're ready to move on when…
- You can list the gates a new company code needs before it can post.
- You can say what OB52, OMSY, OBY6 and the Material Ledger startup each do.
- You've posted a test document (F-02) successfully in your IDES.