The check engine light can be activated in your BMW for many reasons. A proper error code diagnosis can solve the engine issue. The problem can be associated with the catalytic converter or the EGR valve. Also, inspect the spark plugs & the MAF sensor. For detailed information, go through the following video.
http://dutchfixmycar.net/