BMW E46 Fault code!! Rotation Rate sensor

i have a 325 e46 convertible, 2002 model.
i work away on ships and left the car standing for 2 and half months, when i got home and started it the DSC lights on the dash sayed on
which mans ive got no traction control.
i put it on a friends diagnostic machine where he works and his is what i got 5E38 rotation rate sensor
i phoned bmw to order a new sensor but they said it could be a number of things and that i would have to put it on their diagnostic machine to find exactly what i needed!
has anyone had this fault up before or does anyone know what part i need???
any help would be very much appreciated
many thanks chris
Posted at author's request, using moderated interface
Thread archive:
  Click to see the full signature.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.