HI Guys,
very simple answer provided your bike uses a computer controlled brake system. (Servo-assisted)
Mine did the same - took it to BMW three times and everytime it worked for a while (couple of hours really)
It turns out in order for the servo system to work it relies on a small toggle...