Hi! And welcome to JA...let me see if I can help.
This can be caused by the vehicle skidding and setting a code but that usually will make the light come on and then shut off. If the light stays on the vehicle will need to be scanned for codes and then proceed according to the codes. Probable items can range from a speed sensor to a control unit.
BMW Technician
ASE certified with over 3 years experience in BMW