If you have a spongy brake feel you are NOT the first

While pull LIGHTLY on the handle, carefully loosen the banjo bolt at the end of the front brake pump.
Have the handlebars all over to the left- so the brake pump is at its highest position.
(and have a rag under the banjo, to prevent brake fluid to damage your painted parts)
I am sure you will see small bubbles escape, tighten the banjo when the bubles stop.
Thats the first step.
---------------------
I understand you have fitted a ABS recently?
Did you do it yourself or did a BMW workshop do it?
When fitting a new ABS the ABS unit must be bled- using the GS911 ABS bleed procedure.
I believe you HAVE had that done already?
If so, and your ABS does work, it just a matter of trapped air, usually at that banjo bolt.
Haakon