ERPClimb logoERPClimb
Enterprise Structure
MM / P2Pbeginner 5 min read

MM Enterprise Structure Part 1: Plants, Storage Locations, Purchasing Organizations and Assignments

Free sample lesson · open to everyone

Key takeaway

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 sections

Visual overview

MM Enterprise Structure Part 1: Plants, Storage Locations, Purchasing Organizations and Assignments — learning sheetFlow: Display the plant–company code assignment → Check which plants a purchasing org can buy for → Check a material's stock per plant and storage location (MMBE). Key ideas: CLIENT AND COMPANY CODE; PLANT AND STORAGE LOCATION; PURCHASING ORGANIZATION; PURCHASING GROUP. Watch out: Valuation is normally at plant level — changing the valuation level later is practically impossible.ERPClimb.com / MM / LESSON 2/2 / LEARNING SHEETMM Enterprise Structure Part 1: Plants, Storage Locations,Purchasing Organizations and Assignments1 · HOW IT FLOWS1Display the plant–companycode assignment2Check which plants apurchasing org can buyfor3Check a material's stockper plant and storagelocation (MMBE)2 · KEY IDEAS EXPLAINEDClient And Company CodeClient: the system-level container for all data.Company code: legal entity with its own balancesheet.Plant And Storage LocationPlant: factory, warehouse, distribution center(OX10), assigned to one company code (OX18).Storage location: stock place inside a plant(OX09); stock quantities are managed per storagelocation.Purchasing OrganizationNegotiates prices and conditions, owns inforecords and contracts (OX08).Assigned to company code (OX01) and plants (OX17).Purchasing GroupBuyer or buying team responsible for materials(OME4); not an org unit assigned to others.3 · REMEMBER · WATCH OUTRememberClient → company code (legal entity) → plant (site where stock iskept, produced or planned) → storage location (where stock is stored…A plant belongs to exactly one company code; a company code can havemany plants.The purchasing organization negotiates conditions with suppliers;purchasing groups are the buyers.!Watch outValuation is normally at plant level— changing the valuation level lateris practically impossible.4 · IN A REAL PROJECTA company added a new distribution center but forgot to assign it to the purchasing organization. Buyerscouldn'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.Original ERPClimb learning sheet • Verify against your SAP release and edition

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.com

Enterprise Structure — process breakdown

Topic-specific conceptual flow: how key objects and decisions fit together. SAP configurations and exceptional cases can follow different paths.

1/4

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

ABAP Code
===== 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?

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

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.