How to Create a Purchase Order in SAP ME21N
Master the ME21N transaction to create purchase orders efficiently in SAP. Learn the step-by-step process, key fields, and best practices for purchasing professionals.
Understanding the ME21N Transaction
If you've just started working with SAP's procurement module, the question of how to create a purchase order in SAP ME21N is one of the first practical challenges you'll face. The good news? It's a straightforward process once you understand the layout and key fields. ME21N is the standard SAP transaction for creating purchase orders in modern SAP systems, and it's one of the most frequently used transactions in any organisation handling supplier relationships and goods procurement.
The "N" in ME21N stands for the newer generation of the transaction (the older ME21 has been largely deprecated). Think of ME21N as your gateway to formalising requests to suppliers—it's where your material requisitions become official purchase documents that vendors will fulfil.
Why Purchase Orders Matter in Procurement
Before diving into the buttons and fields, let's understand why purchase orders are critical. A purchase order (PO) is a binding document that:
- Confirms quantities, prices, and delivery dates with suppliers
- Creates a traceable audit trail for compliance and cost control
- Triggers downstream processes in goods receipt (GR) and invoice verification (IV)
- Helps your organisation maintain control over spend and supplier relationships
In SAP, purchase orders are stored in the EKKO table (header data) and EKPO table (line-item details), but you don't need to worry about database tables when you're using ME21N—SAP handles that complexity for you.
Step-by-Step Guide: Creating a Purchase Order in ME21N
Step 1: Access the Transaction
Log into your SAP system and navigate to the transaction code. You can either:
- Type ME21N directly into the command field (the box at the top left of your screen)
- Navigate through the menu: Logistics → Procurement → Purchase Order → Create
Press Enter, and you'll see the initial screen. This is where you define what type of PO you're creating.
Step 2: Select the Purchase Order Type
On the initial screen, you'll see the "Document Type" field. The most common document type is NB (standard purchase order). Other options include:
- NB – Standard purchase order (most common)
- ZB – Blanket PO or framework agreement
- UB – Outline agreement
Select NB for a standard purchase order and click the "Create" button (or press Enter).
Step 3: Fill in the Header Data
You'll now see the main purchase order creation screen. The header section contains organisation-wide information. Key fields include:
- Vendor – This is mandatory. Enter your supplier's vendor number or search using the search icon. If you don't know the vendor number, check the master data glossary for guidance on locating supplier records.
- Company Code – Usually pre-filled based on your user profile, but verify it's correct
- Purchasing Group – Your purchasing department or team code
- Purchasing Organisation – This determines which plant or region the PO belongs to
- Document Date – When you're creating the PO (auto-filled with today's date)
- Valid From / Valid To – The effective date range of the PO
Scroll down to see additional header fields like currency, payment terms, and incoterms if needed.
Step 4: Add Line Items
This is where the real work begins. Click on the "Items" tab or scroll to the line-item section. For each material you want to purchase:
- Click the blank row or use the "New Item" button
- Enter the Material Number – Type the SAP material code (e.g., MAT-001). You can search for materials if you're unsure of the number
- Enter the Quantity – How many units you need
- Verify the Unit of Measure – SAP will auto-fill this (e.g., EA for each, KG for kilograms)
- Review the Net Price – SAP often pre-fills this from your vendor agreements, but you can modify it
- Confirm the Delivery Date – When you need the goods
- Assign a Cost Centre or GL Account – Where the cost will be charged (if this isn't auto-populated from your material master or training modules on cost allocation)
Add as many line items as you need by repeating this process.
Step 5: Review and Verify
Before saving, take a moment to review:
- Vendor details are correct
- All quantities and prices are accurate
- Delivery dates are realistic
- Cost centre assignments are correct
- Any special terms or notes are captured
If you need to add shipping instructions, special requests, or reference numbers, look for the "Notes" or "Texts" tab.
Step 6: Save the Purchase Order
Click the "Save" button (Ctrl+S or the save icon). SAP will validate your entries:
- Check that mandatory fields are filled
- Verify the vendor exists and is active
- Confirm that materials are valid
If everything is valid, SAP will assign a purchase order number. This number—typically a 10-digit code—is your unique reference for this PO. Note it down or copy it for your records.
Common Pitfalls and Quick Fixes
Vendor not found? Double-check the vendor number in the vendor master (transaction MK01) or ask your purchasing department if the supplier is blocked or inactive.
Material shows "Invalid"? The material might not exist in your plant or might be blocked. Check the material master (MM02) or ask whether the material needs to be created first.
Price differences? If the auto-filled price doesn't match your agreement, check if there's a purchase info record (PIN) or outline agreement. Alternatively, manually enter the correct price—it will override the default.
Can't see a field? Some fields are hidden by default. Use the customisation options or scroll horizontally to reveal additional columns.
What Happens After You Save?
Once your purchase order is saved, several things happen in the background:
- The PO is stored in the EKKO and EKPO tables
- If configured, an approval workflow may trigger (depending on approval thresholds set by your organisation)
- The vendor receives a copy via EDI, email, or portal (depending on your setup)
- Goods receipt (GR) and invoice verification (IV) are now waiting for this PO's fulfilment
You can view the PO anytime using transaction ME23N (display) or edit it with ME22N (change) before it's been fully received and invoiced.
Pro Tips for Efficiency
Experienced SAP users know a few shortcuts:
- Copy from a previous PO: Use ME23N to display an old PO, then click "Copy" to create a new one with the same structure. This saves time if you're re-ordering from the same vendor.
- Use outline agreements: If you regularly order the same materials from a vendor, set up an outline agreement (blanket PO) first. Then create release orders (ME21N with type "RL") against it—faster and more controlled.
- Pre-define text templates: If you always add the same shipping instructions or payment terms, ask your SAP administrator to set up predefined texts that auto-fill.
- Check exchange rates: If you're dealing in foreign currencies, verify the exchange rate SAP is using in the PO header.
Final Thoughts
Creating a purchase order in SAP ME21N might seem daunting at first, but it's a learnable skill that becomes second nature with practice. The transaction is deliberately structured to guide you through the essential information: who you're buying from (vendor), what you're buying (materials), how much (quantity and price), and when (delivery date). Get these basics right, and you'll master purchase ordering in SAP.
Ready to sharpen your SAP procurement skills further? Head over to Automate & Graduate for interactive modules, real-world scenarios, and hands-on practice that'll make you confident in procurement transactions.
Practice what you've learned
Automate & Graduate has games, modules, AI tutor, and daily challenges to make SAP stick.
Try it free →