Sub topic 8
Procurement and Materials Management
This chapter assumes you know the organizational units from the earlier chapters (client, company code, plant, purchasing organization) and the idea of master data. It also assumes basic relational concepts such as keys and joins.
What Procurement covers
Procurement and Materials Management (MM) handles buying goods and services from suppliers. It covers sourcing, purchase orders, receiving goods, and checking supplier invoices. It reads the material master and the supplier's business partner record. It writes to Inventory and Finance. That makes it the operational start of the procure-to-pay chain.
The procure-to-pay documents
Each step creates a document. Later documents refer to earlier ones, which gives you an audit trail.
Procure-to-pay (Procurement -> Inventory -> Finance)
Purchase requisition -> Purchase order -> Goods receipt -> Supplier invoice -> Payment| Step | Document | Main effect |
|---|---|---|
| Need | Purchase requisition | Internal request. No commitment to a supplier. |
| Order | Purchase order | Binding request to a supplier. It may reserve budget. |
| Receipt | Goods receipt | Stock rises in the plant. Finance posts an inventory or expense entry. |
| Invoice | Supplier invoice | Payable to the supplier is recorded. |
| Payment | Outgoing payment | The payable is cleared against the bank. |
Where the organizational units matter
A purchase order belongs to a purchasing organization and a purchasing group, which negotiate and buy. It delivers to a plant, which holds the stock. The plant belongs to a company code, so that is where the financial postings land.
Master data used here
- Supplier: a business partner with a supplier role. It holds payment terms and purchasing data.
- Material: the material master holds units of measure and the valuation data per plant.
- Purchasing info record and source list: these tie a supplier to a material, with prices and conditions.
The three-way match
Invoice verification compares three things: the purchase order (what you ordered), the goods receipt (what arrived), and the supplier invoice (what you are billed). If quantity or price differs beyond a set tolerance, the system blocks the invoice for payment until someone resolves it.
Reading purchasing data
Purchase orders are stored as headers and items. The header (table EKKO) holds the supplier and organization data. The items (table EKPO) hold materials and quantities. This query joins them for one purchasing organization:
SELECT FROM ekko
INNER JOIN ekpo ON ekpo~ebeln = ekko~ebeln
FIELDS ekko~ebeln, ekko~lifnr, ekpo~ebelp, ekpo~matnr, ekpo~menge
WHERE ekko~ekorg = '1010'
INTO TABLE @DATA(po_items)
UP TO 100 ROWS.Common errors
- Posting to the wrong plant. The goods receipt uses the plant on the purchase order item. A wrong plant puts stock and value in the wrong place.
- Missing master data. A material not extended to the plant, or a supplier without the purchasing role, stops the order.
- Ignoring tolerances. Invoices that exceed price or quantity tolerance are blocked. This is expected behavior, not a fault.
- Assuming accounting happens only at invoice. For stocked materials, value is posted at goods receipt. The invoice then clears a goods receipt/invoice receipt clearing account.
Exercise
A purchase order for 100 units of a stocked material is received in full, but the supplier invoices 110 units. What happens at invoice verification, and why?
Show answer
The system compares the invoice against the goods receipt and purchase order in the three-way match. The invoiced quantity of 110 exceeds the 100 received. If this is beyond tolerance, the invoice is blocked for payment until the difference is resolved, for example by a corrected invoice or a further goods receipt.
Exercise
Which organizational unit determines the company code that receives the financial postings of a goods receipt?
Show answer
The plant. The purchase order item names the receiving plant, and that plant is assigned to a company code.