Manufacturing- Raw material wastage

Unable to identify at which stage the raw material wastage is occurring. Could you please advise how this can be tracked and analyzed effectively within the ERP system?