Quick reference of MM transaction codes and tables, grouped by process step. One line per entry; the explanations are on pages 01–04. Legacy = still works in ECC (sometimes also in S/4HANA) but has a successor; S/4 = S/4HANA-specific. The general developer t-codes are in ABAP Points › T-Codes, the cross-module tables in ABAP Points › Tables (Part 4 MM).
Part 1 – Material master and classification
1.1 Material master
T-code | What it does | Notes |
|---|---|---|
MM01 / MM02 / MM03 | Material create / change / display (choose views and org levels) | Called product in Fiori; MATNR 40 characters |
MM04 | Display change documents of a material | |
MM06 | Flag material for deletion | |
MM50 | List extendable materials – materials not yet created for a view or org level | Extend them with MM01 |
MM60 | Materials list (selection by plant, material type, group) | |
MMAM | Change material type | |
MMSC | Enter (extend to) storage locations collectively | |
MMI1 | Create operating supplies (material type HIBE) | MM01 with the material type preset |
MMN1 | Create non-stock material (NLAG) | MM01 with the material type preset |
MMS1 | Create service (DIEN) | MM01 with the material type preset |
MMU1 | Create non-valuated material (UNBW) | MM01 with the material type preset |
MSC1N / MSC2N / MSC3N | Batch create / change / display | Batch stock in MCHB |
IH09 | Display material from the Plant Maintenance (PM) menu | PM t-code, not MM |
- Material types, views and the S/4HANA product master: see page 01.
1.2 Classification
T-code | What it does | Notes |
|---|---|---|
CT04 | Characteristics – create, change, display in one t-code | Successor of CT01 / CT02 / CT03 |
CT01 / CT02 / CT03 | Characteristic create / change / display | Legacy → CT04; table CABN |
CL02 | Classes – create, change, display in one t-code | Table KLAH |
CL01 / CL03 | Class create / display | Legacy → CL02 |
CL04 | Delete class | |
CL2B | Class types (e.g. 001 material class, 023 batch class, 032 release strategy) | Customizing |
CL20N / CL24N | Assign one object to classes / many objects to one class | Tables KSSK, AUSP |
CL30N | Find objects in classes (search by characteristic values) |
Part 2 – Supplier, info record and source list
2.1 Supplier (vendor)
T-code | What it does | Notes |
|---|---|---|
BP | Business partner – create, change, display suppliers (and customers) | S/4: the only maintenance t-code; roles FLVN00 (FI) and FLVN01 (purchasing) |
XK01 / XK02 / XK03 | Vendor create / change / display centrally (general, company code, purchasing data) | Legacy → BP (redirects in S/4HANA) |
MK01 / MK02 / MK03 | Vendor create / change / display – purchasing view | Legacy → BP |
FK01 / FK02 / FK03 | Vendor create / change / display – accounting view | Legacy → BP |
FBL1N | Vendor line items (FI) – open and cleared invoices and payments | S/4: also the Fiori app Manage Supplier Line Items |
- XK04 – XK07 (changes, block, deletion flag, account group): SD ABAP › 05 T-Codes & Tables, Part 7. Business partner and CVI: see page 01 and SD ABAP › 01.
2.2 Purchasing info record, source list, quota arrangement
T-code | What it does | Notes |
|---|---|---|
ME11 / ME12 / ME13 | Purchasing info record create / change / display (supplier + material + org) | Tables EINA / EINE |
ME14 | Changes to a purchasing info record | |
ME15 | Flag purchasing info record for deletion | |
ME1L / ME1M | Info records per supplier / per material | |
ME01 | Maintain source list (create and change) | Table EORD |
ME03 | Display source list | |
ME04 | Changes to source list | |
ME05 | Generate source lists from info records and contracts | |
MEQ1 / MEQ3 | Quota arrangement maintain / display | Tables EQUK / EQUP |
Part 3 – Purchase requisition, RFQ and quotation
3.1 Purchase requisition
T-code | What it does | Notes |
|---|---|---|
ME51N / ME52N / ME53N | Purchase requisition create / change / display | Tables EBAN / EBKN |
ME54N | Release a single purchase requisition | Release strategy; S/4: flexible workflow is the alternative |
ME54 | Release purchase requisition (old screen) | Legacy → ME54N |
ME55 | Collective release of purchase requisitions | |
ME5F | Release reminder – requisitions still waiting for release | |
ME56 | Assign source of supply to purchase requisitions | |
ME57 | Assign and process requisitions (assign source, then create POs) | |
ME58 | Ordering: create POs from assigned requisitions | |
ME59N | Automatic generation of POs from requisitions | ME59 = old version (legacy) |
ME5A | List display of purchase requisitions | |
ME5J | Purchase requisitions for a project (WBS element / network) | |
ME5K | Purchase requisitions by account assignment (cost center, order …) | |
MELB | Purchasing transactions by requirement tracking number (EBAN-BEDNR / EKPO-BEDNR) |
3.2 Request for quotation (RFQ) and quotation
T-code | What it does | Notes |
|---|---|---|
ME41 / ME42 / ME43 | RFQ create / change / display | Document category A in EKKO / EKPO |
ME45 | Release RFQ | |
ME47 | Maintain quotation – enter the supplier's prices into the RFQ | Quotation = the same document, with prices |
ME48 | Display quotation | |
ME49 | Price comparison list of quotations | Choose the best supplier |
- S/4: the classic RFQ t-codes still run on-premise; the Fiori apps Manage RFQs and Manage Supplier Quotations (optionally with SAP Ariba) are the new way. Process: see page 02.
Part 4 – Purchase order, outline agreements, reports and MRP
4.1 Purchase order
T-code | What it does | Notes |
|---|---|---|
ME21N / ME22N / ME23N | Purchase order create / change / display | BAdI ME_PROCESS_PO_CUST – see page 04 |
ME29N | Release a single purchase order | S/4: flexible workflow is the alternative |
ME28 | Collective release of purchase orders | |
ME9F | Output (print, e-mail, EDI) of purchase orders | NACE application EF |
ME21 / ME22 / ME23 | Purchase order create / change / display (old screens) | Legacy – not available in S/4HANA |
ML81N | Service entry sheet (classic services) | S/4: lean services and the Fiori service entry sheet |
4.2 Outline agreements
T-code | What it does | Notes |
|---|---|---|
ME31K / ME32K / ME33K | Contract create / change / display (quantity MK, value WK) | Release orders documented in EKAB |
ME31L / ME32L / ME33L | Scheduling agreement create / change / display | |
ME38 | Maintain the delivery schedule of a scheduling agreement | Schedule lines in EKET |
4.3 Purchasing reports
T-code | Lists purchase orders … | Notes |
|---|---|---|
ME2N | by PO number | |
ME2L | by supplier (vendor) | |
ME2M | by material | |
ME2C | by material group | |
ME2K | by account assignment | |
ME2O | Stock monitoring of components provided to subcontractors | Subcontracting |
ME80FN | General analysis of purchasing documents (flexible layout) |
- All ME2* reports select by "scope of list" and "selection parameters" (e.g. WE101 = open for goods receipt, RECHNUNG = open for invoice).
4.4 MRP (material requirements planning)
T-code | What it does | Notes |
|---|---|---|
MD01N | S/4: MRP Live – planning run executed in SAP HANA | Successor of the classic total planning run MD01 |
MD01 | Total planning run (classic MRP) | Legacy in S/4HANA → MD01N |
MD04 | Stock / requirements list – current situation of one material | Most-used MRP t-code |
MD05 | MRP list – result of the last planning run |
Part 5 – Reservations, goods movements and stock reports
5.1 Reservations
T-code | What it does | Notes |
|---|---|---|
MB21 / MB22 / MB23 | Reservation create / change / display | Tables RKPF / RESB |
MB24 | Reservations by material | |
MB25 | Reservations by account assignment |
5.2 Goods movements
T-code | What it does | Notes |
|---|---|---|
MIGO | One screen for all goods movements: goods receipt, goods issue, transfer posting, return, display, cancel | S/4: the only goods movement t-code |
MB1A | Goods issue (e.g. 201 to cost center, 261 to order) | Legacy – obsolete in S/4HANA → MIGO |
MB1B | Transfer posting (e.g. 311 between storage locations) | Legacy – obsolete in S/4HANA → MIGO |
MB1C | Other goods receipts (without PO, e.g. 501, 561) | Legacy – obsolete in S/4HANA → MIGO |
MB01 | Goods receipt for purchase order (old) | Legacy – obsolete in S/4HANA → MIGO |
MB31 | Goods receipt for production order (old) | Legacy – obsolete in S/4HANA → MIGO |
MBRL | Return delivery for a material document (movement type 122) | Legacy – obsolete in S/4HANA → MIGO |
MB03 | Display material document | Legacy – obsolete in S/4HANA → MIGO (Display) |
MBST | Cancel material document | Legacy – obsolete in S/4HANA → MIGO (Cancellation) |
MB90 | Output processing for material documents (GR slips, labels) | |
MMPV / MMRV | Close MM period / allow posting to the previous period |
- In code use BAPI_GOODSMVT_CREATE (GM_CODE 01–07) and BAPI_GOODSMVT_CANCEL – see page 04. Movement types: see page 03.
5.3 Stock and material document reports
T-code | What it does | Notes |
|---|---|---|
MMBE | Stock overview of one material across plants, storage locations, batches and stock types | |
MB52 | List of warehouse stocks on hand (stock per plant and storage location, with value) | |
MB51 | Material document list (selection by material, plant, movement type, date) | Reads MATDOC in S/4HANA |
MB5B | Stock on a posting date (opening / closing stock and movements) | |
MB5T | Stock in transit (stock transport orders) | |
MB58 | Consignment and pipeline stocks |
Part 6 – Physical inventory
The normal flow is document → count → difference: MI01 create document, MI04 enter count, MI07 post differences. Tables IKPF / ISEG. Process and cycle counting: see page 03.
6.1 Dialog t-codes
T-code | What it does | Notes |
|---|---|---|
MI01 / MI02 / MI03 | Physical inventory document create / change / display | |
MI21 | Print physical inventory document (count sheet) | |
MI04 | Enter inventory count with document | |
MI05 / MI06 | Change / display inventory count | |
MI09 | Enter inventory count without document | Document created automatically |
MI11 | Recount a physical inventory document | |
MI20 | Print list of differences | |
MI07 | Process list of differences – post the differences | Inventory differences, movement types 701 / 702 |
MI08 | Create list of differences with document (count and post together) | |
MI10 | Create list of differences without document (create, count and post in one step) | |
MIBC | ABC analysis for cycle counting (sets the cycle counting indicator in MARC) |
6.2 Batch input (mass) t-codes
These create a batch input session for many materials at once; process it in SM35.
T-code | Batch input that … | Notes |
|---|---|---|
MI31 | creates physical inventory documents | Normal stock |
MICN | creates physical inventory documents for cycle counting | Uses the MIBC indicator |
MIK1 | creates physical inventory documents for supplier consignment stock | Special stock K |
MIQ1 | creates physical inventory documents for project stock | Special stock Q |
MI32 | blocks materials for posting during the count | |
MI33 | freezes the book inventory balance | |
MI34 | enters counts | |
MI35 | posts a zero stock balance (items not counted) | |
MI37 | posts differences | |
MI38 | enters counts and posts differences | |
MI39 | creates documents and enters counts | |
MI40 | creates documents, enters counts and posts differences |
Part 7 – Invoice verification and MM customizing
7.1 Logistics invoice verification
T-code | What it does | Notes |
|---|---|---|
MIRO | Enter and post supplier invoice (logistics invoice verification) | Tables RBKP / RSEG; FI document BKPF / BSEG / ACDOCA |
MIR7 | Park supplier invoice (save without posting) | |
MIR4 | Call MIRO – change status | |
MIR6 | Invoice overview (list) | |
MRBR | Release blocked invoices (price or quantity variance over tolerance) | |
MR8M | Cancel (reverse) supplier invoice | |
MR11 | GR/IR clearing account maintenance – clear quantity differences | |
MRRL | Evaluated receipt settlement (ERS) – invoice created from the goods receipt |
7.2 MM customizing
T-code | What it does | Notes |
|---|---|---|
SPRO | Customizing – SAP Reference IMG (Materials Management, Logistics – General) | |
OX10 / OX09 | Define plants / storage locations | Tables T001W / T001L |
OX08 | Define purchasing organizations | Table T024E |
OME4 | Define purchasing groups | Table T024 |
OMS2 | Material types | Table T134 |
OMJJ | Movement types | Table T156 |
OBYC | Automatic account determination (transaction keys BSX, WRX, GBB, PRD …) | Table T030 – see page 03 |
NACE | Output types and programs (application EF purchase order, ME material document) | Classic NAST output |
SNRO | Number range objects and intervals | Table NRIV |
Part 8 – Tables: material master and classification
Table | One row holds | ECC → S/4HANA |
|---|---|---|
MARA | Material general data (type, group, base unit, industry sector) | MATNR 40 characters; CDS I_Product |
MAKT | Material descriptions per language | |
MARC | Material plant data (MRP, procurement, cycle counting indicator) | |
MARD | Material storage location data and stock | Stock calculated from MATDOC (compatibility view) |
MBEW | Material valuation per valuation area (price control S / V, price, stock value) | ECC: material ledger optional · S/4HANA: mandatory |
MARM | Units of measure and conversion factors to the base unit | |
MVKE | Material sales data per sales org and channel | |
MLAN | Tax classification of the material per country | |
MLGN | Material data per warehouse number (classic WM) | Classic WM → EWM in S/4HANA |
MLGT | Material data per storage type (classic WM) | Classic WM → EWM in S/4HANA |
MCHA / MCH1 | Batches (plant level / cross-plant) | |
MCHB | Batch stocks (plant, storage location, batch) | Stock calculated from MATDOC (compatibility view) |
MVER | Material consumption per plant and period (for forecasting and MRP) | |
MAST | Material → BOM link | |
STKO / STPO | BOM header / BOM items | |
KLAH | Class header | |
CABN | Characteristics | |
KSSK | Object → class assignment | |
AUSP | Characteristic values of an object |
Part 9 – Tables: supplier, info record and conditions
Table | One row holds | ECC → S/4HANA |
|---|---|---|
LFA1 | Vendor general data (name, address, country) | Kept; filled from BP via CVI |
LFB1 | Vendor company code data (reconciliation account, payment terms) | Kept via CVI |
LFM1 | Vendor purchasing organization data (order currency, Incoterms) | Kept via CVI |
LFBK | Vendor bank details | Synced with BP bank data (BUT0BK) |
BUT000 | S/4: business partner general data | New leading object |
CVI_VEND_LINK | S/4: business partner GUID → vendor number | |
EINA | Purchasing info record – general data (supplier + material) | |
EINE | Purchasing info record – purchasing organization / plant data (price, delivery time) | |
EORD | Source list (material + plant → allowed supplier or contract, validity) | |
EQUK / EQUP | Quota arrangement header / items | |
A017 | Condition table: material info record, plant-specific (supplier, material, purch. org, plant) | Points to KONH / KONP |
A018 | Condition table: material info record, not plant-specific | |
A501 | Customer-defined condition table (A501–A999 are customer namespace), e.g. key plant / material | |
KONH | Condition record header | |
KONP | Condition record item (rate, unit, scale type) | |
KONV | Conditions of purchasing documents (key EKKO-KNUMV) (legacy) | Replaced by PRCD_ELEMENTS |
- The condition technique (condition table → access sequence → condition type → procedure): SD ABAP › 03.
Part 10 – Tables: purchase requisition, purchase order and statistics
10.1 Purchase requisition and purchasing documents
Table | One row holds | ECC → S/4HANA |
|---|---|---|
EBAN | Purchase requisition item (one table – no header table) | Kept |
EBKN | Purchase requisition account assignment | |
EKKO | Purchasing document header (PO, RFQ, contract, scheduling agreement) | Kept |
EKPO | Purchasing document item | Kept |
EKET | Schedule lines (delivery dates and quantities) | |
EKKN | Account assignment of purchasing document items | |
EKBE | PO history: goods receipts and invoices per item | |
EKBZ | PO history: delivery costs (freight, customs) | |
EKES | Supplier confirmations (order acknowledgement, shipping notification) | |
EKAN | Supplier address entered manually in a purchasing document | |
EKPA | Partner roles in purchasing documents | |
EKAB | Release documentation – release orders (call-offs) against contracts | |
ESSR | Service entry sheet header | S/4: lean services / Fiori service entry sheet |
ESLH / ESLL | Service package header / service lines |
10.2 Purchasing statistics (LIS)
Table | One row holds | ECC → S/4HANA |
|---|---|---|
S011 | Purchasing group statistics | Legacy (LIS) – use embedded analytics / CDS views |
S012 | Purchasing statistics (supplier, material, purchasing organization) | Legacy (LIS) |
S013 | Supplier evaluation statistics | Legacy (LIS) |
S031 | Inventory controlling: movements of current stock | Legacy (LIS) |
Part 11 – Tables: goods movements, inventory, invoice and accounting
Table | One row holds | ECC → S/4HANA |
|---|---|---|
MKPF | Material document header (legacy) | Replaced by MATDOC; compatibility view |
MSEG | Material document item (legacy) | Replaced by MATDOC; compatibility view |
MATDOC | S/4: material document header + item in one table; stock is calculated from it | New |
RKPF | Reservation header | Kept |
RESB | Reservation / dependent requirement items | Kept |
IKPF | Physical inventory document header | Kept |
ISEG | Physical inventory document item | Kept |
RBKP | Supplier invoice header (MIRO) | Kept |
RSEG | Supplier invoice item – PO-related | Kept |
RBCO | Supplier invoice – account assignment lines | |
BKPF | Accounting document header | Kept |
BSEG | Accounting document line items | Kept; plus ACDOCA |
FAGLFLEXA | New G/L line items (legacy, ECC) | → ACDOCA |
ACDOCA | S/4: universal journal – one line item for FI, CO, asset accounting, material ledger | New |
- Read stock and material documents through released CDS views in new code (I_MaterialDocumentItem_2, I_MaterialStock_2) – see page 04.
Part 12 – Tables: texts, customizing and number ranges
12.1 Long texts (SAPscript text storage)
Table | One row holds | ECC → S/4HANA |
|---|---|---|
STXH | Text header: object, name, ID, language (e.g. TDOBJECT EKKO for PO header texts) | Kept |
STXL | Text lines (stored compressed – read with READ_TEXT, not SELECT) | Kept |
- SAPscript forms and styles are stored the same way (TDOBJECT FORM / STYLE). Forms: CORE ABAP › 11 Forms.
12.2 Customizing
Table | One row holds | ECC → S/4HANA |
|---|---|---|
T001W / T001L | Plants / storage locations | |
T001K | Valuation areas (plant → company code) | |
T024E | Purchasing organizations | |
T024 | Purchasing groups | |
T023 / T023T | Material groups / texts | |
T134 | Material types | |
T161 / T161T | Purchasing document types / texts | |
T156 / T156T | Movement types / texts | |
T157H | Help texts for movement types | |
T030 | Automatic account determination (OBYC) |
12.3 Number ranges
Table | One row holds | ECC → S/4HANA |
|---|---|---|
NRIV | Number range intervals: object, interval, from / to number, current number | Kept |
TNRO | Number range object definitions |
- MM number range objects (SNRO): MATERIALNR material master, BANF purchase requisition, EINKBELEG purchasing documents, MATBELEG material documents. Get the next number with NUMBER_GET_NEXT.
Part 13 – Interview questions
Q1. Which tables hold a purchase order and its history?
EKKO header, EKPO items, EKET schedule lines, EKKN account assignment. EKBE is the PO history (goods receipts and invoices per item), EKBZ the delivery costs history.
Q2. Where are material documents in S/4HANA?
In MATDOC – header and items in one table. MKPF and MSEG still answer a SELECT through compatibility views. Postings go through MIGO; MB1A, MB1B, MB1C, MB01, MB31 and MBRL are obsolete.
Q3. Which t-codes and tables show stock?
MMBE stock overview, MB52 stock per storage location, MB5B stock on a posting date. Tables MARD (storage location) and MCHB (batch); in S/4HANA their stock is calculated from MATDOC.
Q4. Where are the price and conditions of an info record?
EINA (general) and EINE (purchasing organization / plant) hold the info record; its conditions are found through condition table A017 (or A018) and stored in KONH / KONP. Maintain with ME11 / ME12.
Q5. Which t-codes and tables are used in invoice verification?
MIRO post, MIR7 park, MIR4 call MIRO / change status, MRBR release blocked, MR8M cancel, MR11 GR/IR clearing. Tables RBKP / RSEG; the FI document is BKPF / BSEG, in S/4HANA also ACDOCA.
Q6. How do you release purchase requisitions and purchase orders?
Requisitions: ME54N single, ME55 collective. Purchase orders: ME29N single, ME28 collective. The release status is in EBAN-FRGZU and EKKO-FRGZU. In S/4HANA flexible workflow can replace the release strategy.
Q7. How do you read the header text of a purchase order?
Call READ_TEXT with TDOBJECT EKKO, TDNAME = PO number, the text ID and the language. STXH holds the header, STXL the compressed lines, so do not SELECT STXL directly.
Q8. Which tables hold material master data per organizational level?
MARA client level, MARC plant, MARD storage location, MBEW valuation area, MVKE sales org and channel, MLGN warehouse number; MAKT descriptions and MARM units of measure.
🏠 Start Here · ◀ 04 · MM for Developers · 06 · Interview Questions ▶ · Sections: CORE ABAP | OOPS ABAP | ABAP on HANA | Clean Core | RAP | ABAP Points | SAP Fiori | SAPUI5 | Mobile Development (MDK) | BTP Foundations | BTP Development | CAP | SAP Build | ABAP on BTP | Integration Suite | SAP Business AI | SAP BASIS | Security | SAP SDLC
Functional: FICO ABAP | TRM ABAP | VIM | SAP BIS | SD ABAP | MM ABAP | PP ABAP | QM ABAP | PM ABAP | PS ABAP | EWM | TM ABAP | GTM ABAP | EHS ABAP | HR ABAP | BW | SAP Datasphere | SAP Business Data Cloud | SAP MDG | SAP Analytics Cloud | SAP Ariba | SAP CX | SAP IBP