Item Categories
SD / O2Cintermediate

SD Item Categories Part 2: Item Category Determination (VOV4)

Key takeaway

How SAP finds the item category: sales document type + item category group (material master) + item usage + higher-level item category, the default and manual alternatives in VOV4, where each input comes from, and how to troubleshoot a wrong item category.

Explanation

📌 KEY POINTS
✅ Item category = f(sales document type, item category group, item usage, higher-level item category) maintained in VOV4 (table T184).

✅ Item category group comes from the material master: Sales: Sales Org 2 view (MVKE-MTPOS), otherwise the general item category group (MARA-MTPOS_MARA).

✅ Item usage is set by the system in special cases (e.g. FREE for free goods, TEXT for text items) or by customer-material info record.

✅ Higher-level item category applies to sub-items (BOM components, free goods) — the parent item's category drives the child's.

⚠️ A wrong item category is almost always wrong master data (item category group) or a missing VOV4 entry — not a bug.

━━━━━━━━━━━━━━━━━━━━
▶ WHERE WE ARE

Part 1 showed what an item category controls. Now we see how the system chooses it.

━━━━━━━━━━━━━━━━━━━━
▶ 1. THE FOUR INPUTS

  • Sales document type: from the order header (OR, ZOR, RE…).
  • Item category group: NORM (standard), BANS (third-party), BANC (individual PO), LEIS/DIEN (service), NLAG (non-stock), ERLA/LUMF (BOM), 0001 (MTO), 0002 (configurable).
  • Item usage: FREE, TEXT, or custom usages.
  • Higher-level item category: only for sub-items.

━━━━━━━━━━━━━━━━━━━━
▶ 2. DEFAULT AND ALTERNATIVES

  • VOV4 entry gives default item category and up to several manual alternatives.
  • Users can switch to an alternative in the order (e.g. TAN → TAS for a one-off third-party delivery).

━━━━━━━━━━━━━━━━━━━━
▶ 3. WHERE THE ITEM CATEGORY GROUP COMES FROM

  • MVKE-MTPOS (sales org/channel specific) has priority.
  • MARA-MTPOS_MARA (general) if sales-specific is empty.
  • Material type proposes default groups (e.g. HAWA → NORM, DIEN → LEIS).

━━━━━━━━━━━━━━━━━━━━
▶ 4. TROUBLESHOOTING

  • Item gets wrong category: check item category group in the material for this sales org/channel.
  • "Item category not defined": missing VOV4 entry for the combination.
  • Sub-item wrong: check higher-level item category in VOV4 (e.g. TAQ → TAE).

━━━━━━━━━━━━━━━━━━━━
▶ 5. CHANGE MANAGEMENT

  • Changing a material's item category group affects only new items.
  • Changing VOV4 affects new items; open items keep their category.
  • Always check copy control for new item categories (item level of VTAA).

━━━━━━━━━━━━━━━━━━━━
▶ STEP BY STEP

  1. Check the material's item category groups (MVKE and MARA).
  2. Look up VOV4 for doc type + group (+ usage + higher-level category).
  3. Maintain default and alternatives.
  4. Create an order and verify the item category; test manual switch to an alternative.

✅ CHECKPOINT: for any item you can reproduce the VOV4 lookup that produced its category.

Code example

ABAP Code
===== STEP 1: determination (SPRO > Sales and Distribution > Sales > Sales Documents >             Sales Document Item > Assign Item Categories)  (VOV4)  table T184SaTy | ItCGr | Usg  | HLevItCa | DfItC | Manual alternativesOR   | NORM  |      |          | TAN   | TAS, TAB, TAXOR   | NORM  | FREE | TAN      | TANN  |OR   | BANS  |      |          | TAS   | TANOR   | BANC  |      |          | TAB   |OR   | LEIS  |      |          | TAD   |OR   | ERLA  |      |          | TAQ   |OR   | NORM  |      | TAQ      | TAE   |RE   | NORM  |      |          | REN   | ===== STEP 2: master data inputs =====MM02 > Sales: Sales Org. 2 > Item category group        MVKE-MTPOS   (priority)MM02 > Sales: Sales Org. 2 > General item cat. group    MARA-MTPOS_MARACustomer-material info record (VD51) can set item usage ===== STEP 3: item category groups =====SPRO > ... > Sales Document Item > Define Item Category Groups   (OVS2 / table TPTM)

Real project scenario

A retail distributor extended a supplier's drop-ship assortment to a new sales organization by copying the material views. The sales org 2 view of the copies carried NORM instead of BANS, so orders for those materials created TAN items, generated stock requirements and failed ATP, instead of creating purchase requisitions for third-party delivery. The team corrected MVKE-MTPOS to BANS for 3,400 materials, added a validation in the material creation process that derives the item category group from the supplier sourcing type, and corrected open orders by switching items to TAS (a manual alternative).

Common mistakes

  • Looking only at MARA and ignoring the sales-org-specific item category group in MVKE.
  • Missing VOV4 entries for new document types or new item category groups.
  • Changing VOV4 and expecting open orders to change.
  • Not maintaining manual alternatives for legitimate exceptions.
  • Creating new item category groups instead of using item usage for special cases.

Best practices

  • Govern item category groups as part of material master data quality.
  • Maintain VOV4 completely for every document type × item category group in use.
  • Offer manual alternatives only where business needs a switch.
  • Document the determination matrix per template.
  • Verify copy control for every new item category.

Interview angle

Questions: "How is the item category determined?", "Where does the item category group come from?", "An item gets TAN instead of TAS — what do you check?"
Strong answer: VOV4 with sales document type, item category group (MVKE-MTPOS first, then MARA general group), item usage and higher-level item category, returning default plus manual alternatives. Troubleshooting starts with master data (item category group per sales org/channel), then VOV4 entries.

Practice this lesson

Quick check

1. An item gets TAN although the material should be sold via third-party (TAS). What is the first thing to check?

2. Where does the item category group come from?

3. Which transaction maintains item category determination?

Interview questions

1. A customer's sales order uses material substitution (via the condition technique, e.g., material determination) to automatically replace an obsolete material with its successor, but the item category determined for the substituted material routes it through a third-party procurement flow instead of the expected standard stock delivery. How would you diagnose and correct this within item category determination?

Answer it in your own words first, then compare.

2. For a make-to-order sales scenario, an item category determination is returning the standard TAN category instead of the expected TAB (individual purchase order) category. What determination factors and master data should you review?

Answer it in your own words first, then compare.

Practice more with Interview AI →

Reference-verified: the steps are checked against official SAP documentation and tutorials, and object and field names in the sample code are checked for consistency. The code has not been compiled or run on an SAP system by ERPClimb. Syntax marked release-dependent varies by SAP release, so check it in your own system.

More lessons in this topic

Interview questions on this topic

Related SAP topics