You will have to remove the radio to get the seriel number off of it then call the dealer .Tell them the number and they should give you the code .Then you will have to do some programing and if you hold your tongue just right the radio will accept the code . If not then you will have to unhook the battery wait 10 or 15 minutes then try again.
Wouldn't want anyone to steal your radio which is worth about $20 .
I know there are posts out there that have to do with this .I'll search for you and let you know.
Read this , it will help you with the procedure
http://www.unofficialbmw.com/phpBB/viewtopic.php?t=25687&highlight=radio+codes Your car is telling you it wants a new clarion head unit ..........
When I needed the code for mine I pulled it out and got the serial number and called the dealer .NO problems , gave me the code right over the phone. good luck