Bookmark this link, you will need it very often and it is an ideal to to find parts and check part numbers and prices.
The oil level sensor might be defective. Not that expensive. But before better check the oil level and also sometimes cleaning of the oil level sensor helps.
You will find the oil level sensor in main group engine and then look for oil pan.
http://www.realoem.com/bmw/select.do