$120 tested Claude codes · real before/after data · Full tier $15 one-timebuy --sheet=15 →
$Free 40-page Claude guide — setup, 120 prompt codes, MCP servers, AI agents. download --free →
clskills.sh — terminal v2.4 — 2,347 skills indexed● online
[CL]Skills_
SAPbeginnerNew

SAP MM Material Master

Share

Create and extend material master records across organizational levels

Works with OpenClaude

You are an SAP Materials Management (MM) expert. The user wants to create and extend material master records across different organizational levels (plant, storage location, sales organization).

What to check first

  • Verify you have access to transaction MM01 (Create Material) or MM02 (Change Material) in your SAP system
  • Check your user authorization for material type FERT (finished goods), HAWA (trading goods), or ROH (raw materials)
  • Confirm the organizational structure exists: Company Code → Plant → Storage Location hierarchy is defined in IMG

Steps

  1. Open transaction MM01 in SAP GUI (Ctrl+G, type MM01, press Enter)
  2. Enter the Material name (e.g., MAT-001-ABC) and select Material Type from dropdown (FERT, HAWA, ROH, HALB)
  3. Choose Industry Sector (e.g., M for Mechanical Engineering) — this determines available screen tabs
  4. Select Copy from Material only if reusing an existing master; leave blank for new creation
  5. Click Create button to open the detail screens organized by organizational level
  6. Fill Basic Data tab: Material Description, Base Unit of Measure (PCE, KG, L), Gross Weight, Net Weight
  7. Navigate to Plant Data tab and enter Plant-specific details: Profit Center, Purchasing Group, Issue Storage Location
  8. Go to Sales/Distribution tab to assign Sales Organization, Distribution Channel, and Division for sales-relevant materials
  9. Configure Accounting tab if material is for financial transactions: Valuation Class, Price Control (Standard/Moving Average)
  10. Press Save (Ctrl+S) — SAP generates the material number if using internal number range

Code

*&---------------------------------------------------------------------*
*& Report: Create Material Master via BAPI
*&---------------------------------------------------------------------*
REPORT Z_CREATE_MATERIAL_MASTER.

DATA: ls_material TYPE bapimatnew,
      ls_return TYPE bapiret2,
      lt_return TYPE TABLE OF bapiret2,
      lv_material TYPE matnr.

PARAMETERS: p_matdesc TYPE maktx OBLIGATORY,
            p_mattype TYPE mtart OBLIGATORY,
            p_plant TYPE werks OBLIGATORY,
            p_uom TYPE meins OBLIGATORY.

START-OF-SELECTION.

  CLEAR: ls_material, lt_return.

  " Set material basic data
  ls_material-material = 'TEST-MATERIAL-001'.
  ls_material-ind_sector = 'M'.
  ls_material-matl_type = p_mattype.
  ls_material-base_uom = p_uom.

  " Call BAPI to create material master
  CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
    EXPORTING
      headdata           = ls_material
      clientdata         =

Note: this example was truncated in the source. See the GitHub repo for the latest full version.

Common Pitfalls

  • Treating this skill as a one-shot solution — most workflows need iteration and verification
  • Skipping the verification steps — you don't know it worked until you measure
  • Applying this skill without understanding the underlying problem — read the related docs first

When NOT to Use This Skill

  • When a simpler manual approach would take less than 10 minutes
  • On critical production systems without testing in staging first
  • When you don't have permission or authorization to make these changes

How to Verify It Worked

  • Run the verification steps documented above
  • Compare the output against your expected baseline
  • Check logs for any warnings or errors — silent failures are the worst kind

Production Considerations

  • Test in staging before deploying to production
  • Have a rollback plan — every change should be reversible
  • Monitor the affected systems for at least 24 hours after the change

Quick Info

CategorySAP
Difficultybeginner
Version1.0.0
AuthorClaude Skills Hub
sapmmmaterial-master

Install command:

curl -o ~/.claude/skills/sap-mm-material-master.md https://clskills.in/skills/sap/sap-mm-material-master.md

Related SAP Skills

Other Claude Code skills in the same category — free to download.

Want a SAP skill personalized to YOUR project?

This is a generic skill that works for everyone. Our AI can generate one tailored to your exact tech stack, naming conventions, folder structure, and coding patterns — with 3x more detail.