Setup Step 4 — Assign Plants → Company Codes

MANDATORY Layer 2 · MM↔FI bridge ⏱️ ~5 min OX18
← Previous
Step 3: Create Plants
Next →
Step 5: Set Valuation Level

🎯 Why this setting exists

This is the bridge between MM and FI. A plant is where the physical action happens, but stock has to be valued in someone's books. This assignment hands a plant's stock to a company code — so when MM transactions happen at the plant (goods receipt, goods issue, transfer), the matching FI document posts to that plant's company code's books. Without this link, the plant is useless: no FI posting is possible, and therefore no goods movement, no PO, no material extension — nothing.

💡 Easy example

This step is simply registering that the Karachi factory (PK01) legally belongs to PakSteel (PSPK). So when iron arrives at PK01, its value shows up on PakSteel's books — not on nobody's.

Think of it as putting the building's deed in a company's name. The factory (plant) is real and physical; the company (company code) is the legal owner that files the accounts. Until you record "this building belongs to that company," the warehouse can't legally take anything in.

🔗 How this connects to everything else

This tiny assignment is a load-bearing wall. Here's what has to exist before it, and everything that hangs off it once it's done.

⬆️ Depends on (must exist first)

⬇️ Enables (what this unlocks)

🧩 Who owns it & why MM cares

MM Enterprise-structure config. It lives in MM, but this is THE link that gives a plant's stock a company's books to be valued in. An unassigned plant cannot post goods at all — so MM cannot ignore it.

🔮 Links to other modules (now & later)

  • FI The plant's inventory value lands on the assigned company code's balance sheet. This assignment is exactly what routes every MM posting to the right legal entity's books.

🔧 Configuration — fields & steps

OX18 · SPRO → Enterprise Structure → Assignment → Logistics — General → Assign plant to company code

Action sequence

  1. Run OX18
  2. Click New Entries
  3. Enter the 4 assignments shown below
  4. Save

The 4 assignments

PlantCompany CodeWhy this pairing
PK01 Karachi FactoryPSPK PakSteelPakistan operations, PKR books
PK02 Lahore FactoryPSPK PakSteelSame CC as Karachi — same legal entity
PK03 Karachi DCPSPK PakSteelDC for Pakistan business
AE01 Dubai DCPSAE PakSteel UAEUAE entity, AED books — enables cross-CC STO

🚨 Issues & fixes

⚠️ A plant can belong to ONLY ONE company code
This is enforced by SAP — you cannot share a plant between company codes. If you need MM activity for both legal entities at one physical site, create two plants (one per CC) for that location.

🚫 If you skip this step: the plant exists but cannot do ANY transaction. PO creation fails, GR fails, material extension to the plant fails. This step is non-negotiable.

✅ Verification

← Previous
Step 3: Create Plants
Next →
Step 5: Set Valuation Level