SAP MM Organizational Structure Diagram with Example | Harshvrdhan Rathore

← Back to harshvrdhanrathore.com

SAP MM Organizational Structure

The five organizational units that Materials Management runs on — how they connect, what each one means, and a worked example with real-looking codes and names.

Part 1

Structure

Company code is the top unit for MM. Purchasing runs down the left side, physical stock down the right; the purchasing organization is linked to the plants it buys for.

Legal entityCompany CodeBooks, balance sheet, GST
Buying unitPurchasing OrganizationNegotiates with vendors
Buyer / deskPurchasing GroupWho handles the purchase

Dashed: not formally assigned — used inside the purchasing org

Factory / locationPlantWhere goods are made or stocked
Store inside plantStorage LocationWhere stock physically sits

Part 2

Definitions

Company Code

The smallest unit in SAP for which a complete, self-contained set of accounts is drawn up. It represents one legal company: balance sheet, profit and loss and tax returns are made at this level. Every plant and purchasing value ends up in a company code's books.

Field length
4 characters
Assigned to
Client (and a controlling area)
Owned by
Finance

Example: 1000 — ABC Industries Pvt. Ltd.

Purchasing Organization

The unit that buys materials and services, negotiates prices and terms with vendors and is legally responsible for purchase orders. Vendor purchasing data, info records and conditions are kept at this level. It can be plant-specific, cross-plant, or cross-company (when not assigned to any company code).

Field length
4 characters
Assigned to
Company code (optional) and one or more plants
Owned by
Purchase

Example: 1000 — ABC Central Purchasing

Purchasing Group

A buyer or group of buyers responsible for certain materials or purchasing activities. It is the internal contact for day-to-day purchasing and the vendor's point of contact. Used in reports, release strategies and for routing work to the right buyer.

Field length
3 characters
Assigned to
Nothing — defined at client level and entered in the material master and on each purchasing document
Owned by
Purchase

Example: 101 — Raw Material Buyer

Plant

A location where materials are produced, stored or where services are provided — a factory, warehouse or branch. Stock is managed and valued per plant, MRP runs per plant and most material master data (purchasing, MRP, storage) is kept at plant level.

Field length
4 characters
Assigned to
Exactly one company code
Owned by
Production / Stores

Example: 1100 — Jaipur Plant

Storage Location

A place inside a plant where stock is physically kept, such as a raw material store or a finished goods store. Stock quantities are tracked by storage location; value is tracked at plant level. The same storage location code can be reused in different plants.

Field length
4 characters
Assigned to
One plant (defined inside the plant)
Owned by
Stores

Example: 0001 — Raw Material Store

Part 3

Example with codes and values

One company with two plants. A single central purchasing organization buys for both plants through three purchasing groups. Codes and names are sample values — replace them with the client's.

Company Code1000ABC Industries Pvt. Ltd.
Purchasing Org1000ABC Central PurchasingAssigned to plants 1100 and 1200
Purchasing Group101Raw Material Buyer
Purchasing Group102Packaging Buyer
Purchasing Group103Spares & Consumables
Plant1100Jaipur Plant
0001Raw Material Store
0002Finished Goods Store
0003Rejection Store
Plant1200Pune Plant
0001Raw Material Store
0002Finished Goods Store
0004Spares Store
Org unitCodeNameAssigned to
Company Code1000ABC Industries Pvt. Ltd.Client
Purchasing Organization1000ABC Central PurchasingCompany code 1000; plants 1100 and 1200
Purchasing Group101Raw Material Buyer— (client level)
Purchasing Group102Packaging Buyer— (client level)
Purchasing Group103Spares & Consumables— (client level)
Plant1100Jaipur PlantCompany code 1000
Plant1200Pune PlantCompany code 1000
Storage Location0001Raw Material StorePlant 1100 and plant 1200
Storage Location0002Finished Goods StorePlant 1100 and plant 1200
Storage Location0003Rejection StorePlant 1100
Storage Location0004Spares StorePlant 1200

Storage location codes are unique only within a plant, so 0001 in Jaipur and 0001 in Pune are two different stores. Sample codes follow a common convention (plants numbered under their company code); any 4-character code works.

© 2026 Harshvrdhan Rathore. All rights reserved.