ERPClimb logoERPClimb

MM · Beginner · Configuration

How to define a purchasing organization and assign it to a plant in SAP MM

Create a purchasing organization, decide whether it belongs to one company code, assign it to the plants it buys for, and prove the assignment with a test purchase order.

APPLICABILITY
SAP ECC and SAP S/4HANA on-premise or Cloud Private Edition (IMG enterprise structure). In S/4HANA Cloud Public Edition the organizational structure is maintained through the central business configuration tools instead.
TOOLS / TRANSACTIONS
SPRO · OX08 · OX01 · OX17 · ME21N

Your project assignment

A hypothetical company opens a new buying team that purchases for plant 1100 of company code 1000. Create purchasing organization 1100, assign it and prove it with one test order in the development client.

Where to start: URLs and transactions

IMG path: definition
Enterprise Structure → Definition → Materials Management → Maintain purchasing organization
IMG path: assignment
Enterprise Structure → Assignment → Materials Management → Assign purchasing organization to company code / to plant
Transaction codes
OX08, OX01, OX17

Prerequisites

  • Customizing authorization for the enterprise structure and a customizing transport request.
  • Existing company code and plant, and an approved organizational design (plant-specific, company-specific or cross-company purchasing).
  • A supplier and material for a test, or the master data team's help to extend them.

Configuration workflow

A purchasing organization that can buy for a plant

All steps visible. Play or advance one stage at a time.

A purchasing organization that can buy for a plantOrganizational design: Plant, company or cross-company → Define: Purchasing organization key → Assign: Company code (optional) and plant → Test order: Accepted for assigned plant only1Organizational designPlant, company or cross-company2DefinePurchasing organization key3AssignCompany code (optional) and plant4Test orderAccepted for assigned plant only
Info records, conditions and supplier purchasing data exist per purchasing organization. ERPClimb original instructional diagram · not a live SAP screenshot.

Hands-on implementation — step by step

Follow the screen navigation, replace example values with approved project values, and mark each step after checking its result. The screens below are original teaching aids, not live SAP screenshots. Progress is local to this visit.

0/7 completed
  1. 1

    Confirm the organizational design

    Write down which plants the new organization buys for and whether it is tied to one company code or left unassigned for cross-company purchasing. Get the decision signed off.

    Confirm the organizational designERPClimb · illustrative screen
    Purchasing organization
    1100 (hypothetical)
    Company code
    1000
    Plant
    1100

    Expected result: The design is agreed in writing.

    Why this matters: The assignment to a company code is optional, but once made it limits the organization to that company code's plants.

  2. 2

    Maintain purchasing organization (OX08)

    In the IMG activity choose New Entries, enter the key and description and save to your transport request.

    Maintain purchasing organization (OX08)ERPClimb · illustrative screen
    Purchasing organization
    1100
    Description
    Purchasing Org. North (hypothetical)

    Expected result: The purchasing organization is saved.

    Why this matters: The unit must exist before anything can be assigned to it.

  3. 3

    Assign purchasing organization to company code (OX01)

    If the design ties the organization to one company code, enter the company code against the purchasing organization and save. Leave it empty for cross-company purchasing.

    Assign purchasing organization to company code (OX01)ERPClimb · illustrative screen
    Purchasing organization
    1100
    Company code
    1000

    Expected result: The assignment is shown for the organization.

    Why this matters: An assigned organization can only serve plants of the same company code.

  4. 4

    Assign purchasing organization to plant (OX17)

    Choose New Entries, enter the plant and the purchasing organization and save. Repeat for each plant in scope.

    Assign purchasing organization to plant (OX17)ERPClimb · illustrative screen
    Plant
    1100
    Purchasing organization
    1100

    Expected result: The plant lists the new purchasing organization.

    Why this matters: A purchasing organization must be assigned to at least one plant to buy for it.

  5. 5

    Check purchasing groups and master data

    Confirm that a purchasing group exists for the buyers and ask the master data team to create purchasing data for the test supplier in the new organization.

    Check purchasing groups and master dataERPClimb · illustrative screen
    Purchasing group
    101 (hypothetical)
    Supplier purchasing data
    Organization 1100

    Expected result: A buyer group and supplier data exist for the test.

    Why this matters: Purchasing groups are not assigned to organizations, but suppliers need data for each organization.

  6. 6

    ME21N → test purchase order

    Create a standard purchase order with the new purchasing organization, the purchasing group, company code and plant, and a material available in the plant. Check the document without saving if a saved document is not wanted.

    ME21N → test purchase orderERPClimb · illustrative screen
    Purchasing organization
    1100
    Company code
    1000
    Plant
    1100

    Expected result: The order passes the check without an organizational message.

    Why this matters: A document proves the assignment in the way users will meet it.

  7. 7

    Negative test and transport note

    Try the same organization with a plant it is not assigned to and record the message. Note the transport request and the dependent roles to update.

    Negative test and transport noteERPClimb · illustrative screen
    Plant
    1200 (not assigned)
    Expected
    Message that the organization is not responsible for the plant

    Expected result: The unassigned plant is refused.

    Why this matters: The negative test shows that the structure restricts as designed.

Project acceptance checklist

Use this checklist to prepare evidence for your project lead.

0 of 4 checks marked. This does not certify the SAP configuration.

Validate your configuration

  • The purchasing organization appears in the assignment views for the company code (if assigned) and the plant.
  • A test purchase order with this purchasing organization and plant can be created without an organizational error.

Common errors and what to check

  • an error that the purchasing organization is not responsible for the plant.

    Check: The plant assignment is missing.

  • the purchasing organization is refused for a plant of another company code.

    Check: It was assigned to one company code and can then only serve plants of that company code.

  • the organization exists but cannot be used with a supplier.

    Check: The supplier has no purchasing data for this organization.

  • prices are not found.

    Check: Info records and conditions are kept per purchasing organization and do not exist yet for the new one.

More in the SAP Library

Need help with a configuration error? Open ERPClimb Copilot.

Technical references & further reading