Figuring out ROI in an ERP implementation requires understanding certain variables.