SAP MM (Materials Management) is a core logistics module in SAP ERP and SAP S/4HANA that manages procurement, inventory, and material valuation across an organization. It ensures the right materials and services are available in the right quantities, at the right time and place, while controlling costs and preventing supply shortages.