ABS Problem

Tomorrow together I have already tried the SUFU, but found nothing to my question (maybe also overlooked) The ABS sensor at the front right was broken and now I have installed the complete hub with sensor from a butcher with my OMI ( ABS has worked with the battle car). The ABS lamp still burns as soon as the car rolls and ABS does not work either. Does the error have to be deleted from the ABS control unit first so that the lamp stays off and the ABS functions again?? mfg Thomas