OK, what age car? ie. M54 or N52 engine? To simplify..... does it have a dipstick?
Though I have no real experience of the later N52 I believe it uses a similar method as the 2.0 to adjust the variable valve timing, and the code suggests an issue with the servo motor, which is what adjusts that timing.