Since there is no E32 forum I thought I would try here.
When I bought the car (1991 740iL) the Sunroof had to be opened and closed manually (allen wrench included in sale :-) ). Replacing the Sunroof motor and switch closed the roof by the switch button, but would not open it. From the wiring diagrams it looked like the ZKE/General Module connected the motor to power when the switch selected it.. I just replaced the ZKE, but the Sunroof must still be opened manually. That points to wiriing or some other component I am not aware of (microswitch?). I am out of ideas so I am asking for them. I can be reached here.