It is not likely to be the ECU. Bosch will test certain ECUs, I would find out from your local BSC (Bosch Service Center).
I have not worked on any ABS on "G" cars but they should have onboard diagnostics. that should be tested first before worrying about the controller.
Bosch Master, ASE Master, L1
33 years MB technician