transmission dropped down and the service engine light came on on 2002 BMW 530i

light is still on, last time this happened I had to replace the alternator

Asked by for the 2002 BMW 530i
what is your question? if you have a check engine light that is on, you must find what codes are in the system.
no diagnosis without codes.