SAP MM Master Data Codes & Number Ranges – Material, Vendor & Service
While general guides explain why SAP MM Master Data matters, the real operational power lies in the codes and number ranges that keep material, vendor, and service records structured. Without them, duplicates creep in, governance weakens, and audits become nightmares.
This guide is your technical deep dive into SAP MM Master Data Codes:
- how they’re defined
- how number ranges work
- why they’re essential for clean ERP operations.
Material Master Data Codes & Ranges
SAP MM uses Material Types to classify goods and enforce governance. Each has a dedicated internal number range:
- ZCAP – Capital Materials → 1,000,000,000 to 1,999,999,999
- ZSPA – Spare Parts → 2,000,000,000 to 2,999,999,999
- ZCON – Consumables → 3,000,000,000 to 3,999,999,999
- ZVSR – Scrap Materials (Valuated) → 4,000,000,000 to 4,999,999,999
- ZCVL – Civil Materials → 6,000,000,000 to 6,999,999,999
- ZTOL – Tools & Tackles → 7,000,000,000 to 7,999,999,999
Material Groups (like cables, transformers, meters, safety equipment) allow for reporting, authorization, and analytics across categories.
Governance tip: Automate number assignment and enforce naming conventions so consumables (ZCON) never get mixed with spares (ZSPA).
Vendor Master Data Codes & Ranges
Vendors are structured through account groups, each mapped to its own number range:
- ZDOM – Domestic Vendors → 1,000,000 to 1,999,999
- ZSRV – Service Vendors → 2,000,000 to 2,099,999
- ZIMP – Import Vendors → 3,000,000 to 3,099,999
This account groups dictate required fields such as GSTIN, PAN, payment terms, and reconciliation accounts, ensuring financial and compliance integrity.
Governance tip: Use the account group to gate mandatory fields and block incomplete vendor records from slipping into your system.
Service Master Data Codes & Ranges
Services are managed through Service Categories and Service Groups, supported by strict numbering:
- All Service Category → 10,000,000 to 19,999,999
- Service Group 3000 – Service Project
- Service Group 3001 – Service Operation & Maintenance
Governance tip: Always link services to SAC (Service Accounting Codes) and tax indicators for GST compliance and audit readiness.
Need expert help with data migration?
Migrating from legacy systems or cleaning up old SAP records can be a heavy lift. Our team handles end-to-end SAP data migration, from cleansing to enrichment, so you start with a golden dataset.

Why Codes & Number Ranges Matter
- Consistency – No overlap between materials, vendors, or services.
- Compliance – Clean master data supports GST, PAN, SAC, and HSN validation.
- Efficiency – Users spend less time searching, more time executing.
- Risk Reduction – Avoid duplicate vendors, mismatched materials, or incorrect service billing.
Best Practices for Master Data Governance
- Lock Material/Vendor creation to predefined codes & ranges.
- Automate tax validations (GSTIN, PAN, SAC/HSN).
- Run quarterly deduplication exercises.
- Use Material Groups & Service Groups to sharpen reporting.

Take it further with automation:
Manual governance only goes so far. PROSOL, our Master Data Management tool on the SAP Store, automates code assignment, prevents duplicates, and enforces SAP MM governance out of the box.
Conclusion
SAP MM Master Data Codes and Number Ranges are not optional—they’re the control gates that protect your ERP from errors and inefficiencies. By aligning materials, vendors, and services with the right Z-codes, businesses reduce risk, improve compliance, and unlock data-driven decision-making.