Welcome along- as I posted on your other thread I would check the air intake boot to see if it has a split on the small pipe that comes off it- common fault that can throw lean codes- see here for what to look for.
https://z4-forum.com/forum/viewtopic.php?t=70223