firstly BMW doesn't "make" gearboxes, also what are we talking a manual or auto? and i am assuming you are talking about an e28.
as for the fuel cap if you have central locking just leave the car unlocked and you should be able to open the cap, when you lock the car the fuel cap gets locked too, there is no release lever.