SAP mining