did the display show "ABS Fail" error?
these are few checks you can do considering all other components are functional;>
>if so kindly check brake fluid for the front. and rear(it shouldn't be dark or murky)..
>bleed the brake lines
> have an air gap between the rubber cover (reservoir) so the fluid can expand freely... (image attached for what not to do)
The ABS light will remain on until you are riding and it's normal to have a solid ABS light while stationary. If you have a flashing ABS light while moving then there is a problem.
Check for any blown or corroded fuses.
Clean the ABS sensors and rings.
Check the ABS sensor wiring hasn't been melted by the engine/exhaust.
Clean the sensor wiring connectors and check for corrosion.