SAP MM (Materials Management) is a core logistics module in SAP ERP and SAP S/4HANA that manages material and service procurement, inventory levels, and vendor invoice verification. It drives the Procure-to-Pay (P2P) cycle to ensure the right materials are available in the right quantities at the right time and cost.