MM Enterprise Structure Part 1: Plants, Storage Locations, Purchasing Organizations and Assignments
Free sample lesson · open to everyone
The organizational units procurement runs on: client, company code, plant, storage location, purchasing organization and purchasing group — what each represents, how they are assigned to each other, and why the valuation level is the plant.
In this lessonShow sectionsHide sections
Visual overview
The situation: a real project scenario
A company added a new distribution center but forgot to assign it to the purchasing organization. Buyers couldn't create POs for the plant and assumed a system error. After OX17 assignment and a new-plant checklist (company code, storage locations, purchasing org, valuation, MRP), subsequent sites went live without issues.
Explanation
SAP's procurement enterprise structure is organized as a hierarchy: the client sits at the top as the system-level container for all data, below it sits the company code — the legal entity with its own balance sheet — and below that the plant, the physical site (factory, warehouse, or distribution center, configured in transaction OX10) where stock is kept, produced, or planned.
Inside a plant, the storage location (configured in OX09) is where stock is physically stored, and stock quantities are managed at this storage-location level. A plant is always assigned to exactly one company code (via OX18), though a single company code can have many plants under it.
On the purchasing side, the purchasing organization is the unit that negotiates prices and conditions with suppliers and owns the resulting info records and contracts (configured in OX08); the purchasing group, by contrast, is simply the buyer or buying team responsible for particular materials (maintained in OME4) and is not an organizational unit assigned to anything else.
Purchasing organizations are assigned to company codes (OX01) and to plants (OX17), and only the plants actually assigned to a purchasing organization can be ordered for through it.
Valuation — the level at which stock is given a value — is normally set at the plant level, which is both the SAP standard and a requirement for Production Planning; the valuation level is configured in OX14, and because stock values are kept per valuation area, changing the valuation level after go-live is practically impossible, which is why Part 2 of this series goes on to cover how to design the enterprise structure correctly for global S/4HANA procurement from the start.
Working with this structure in practice means being able to display the plant-to-company-code assignment, check which plants a given purchasing organization is actually permitted to buy for, and check a material's stock by plant and storage location using MMBE — skills that let you explain, for any purchase order, which company code pays, which plant receives the goods, and which purchasing organization negotiated the deal.
How the SAP process fits together
SAP PROCESS EXPLORER · Sourcing: procure to pay
ERPClimb.comEnterprise Structure — process breakdown
Topic-specific conceptual flow: how key objects and decisions fit together. SAP configurations and exceptional cases can follow different paths.
Selected process stage
Company
Define company code and plant assignments
Representative SAP learning flow, not a guarantee of system runtime sequence in every scenario.
Code example
===== STEP 1: define and assign (SPRO > Enterprise Structure) =====Define plant (OX10) → assign plant to company code (OX18)Define storage locations (OX09) per plantDefine purchasing organization (OX08) → assign to company code (OX01) → assign to plants (OX17)Define purchasing groups (OME4) ===== STEP 2: valuation level =====OX14: valuation level = plant (recommended) | valuation area = plant ===== STEP 3: example =====Company code 1000 | plants 1000 (factory), 1100 (DC) | sloc 0001 raw, 0002 finishedPurchasing org 1000 → CC 1000 → plants 1000, 1100 | purchasing group 001 (steel), 002 (packaging)Watch out
Common mistakes
- Missing purchasing org to plant assignment.
- Too many storage locations without purpose.
- Treating purchasing groups as organizational units.
- Company code valuation level chosen without thought.
- No new-plant checklist.
Do this
Best practices
- Use plant-level valuation.
- Keep storage locations meaningful.
- Assign purchasing orgs deliberately.
- Maintain a new-plant checklist.
- Document the structure visually.
In the interview
Interview angle
Questions: "Explain the MM organizational structure", "What is the relation between plant and company code?", "What is the difference between purchasing organization and purchasing group?"
Strong answer: client, company code, plant (one CC), storage location, purchasing org (assigned to CC/plants, negotiates), purchasing group (buyers), plant-level valuation.
Practice this lesson
Quick check
0 of 3 questions attempted
Question 1 of 3
Buyers cannot create purchase orders for a newly created plant. What is the most likely missing assignment?
Question 2 of 3
Which organizational level in SAP sits at the top of the enterprise structure hierarchy, encompassing all company codes, plants, and purchasing organizations within a single system landscape instance?
Question 3 of 3
In the SAP MM enterprise structure, which organizational unit represents a physical or logical location where materials are produced, stored, or made available for distribution and procurement?
Practise this in an interview
Answer in your own words and get instant feedback, the way an interviewer would judge it.
1What is the relationship between client and company code in SAP, and why does this matter when designing the enterprise structure for a procurement implementation?
2Explain how client and company code levels interact in SAP enterprise structure design, and why getting this relationship wrong impacts purchasing master data replication.
Was this lesson helpful?
Keep exploring
Interview questions on this topic
Related SAP topics
- S/4HANA MM Transformation, Ariba, Migration, Public Cloud and Architecture
- Invoice Verification, GR/IR, Integration and Production Support
- Procurement and End-to-End Procure-to-Pay
- Inventory Management, Valuation, Material Ledger and Account Determination
- MM Foundation, Enterprise Structure and Master Data
- Material Master
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.