First of all, I would suggest you purchase Bimmergeeks ProTool software. At least the diagnostic portion. You can use it with an android tablet or phone. No phone service is required. With this you can diagnose the problem and you can also unlock the boot, which otherwise will be a problem. If your top gets stuck midway, you won't be able to open the boot by normal means. So, you won't be able to get to the hydraulics.
Most roof convertible top problems will result in a code. For instance A68B (left roof panel closed microswitch). Note, You also have A68D which is the right side. Well, this problem is typically a broken wire. If you short both micro switches together (pin 7 & 10) on the CTM connector you problem will be temporally solved. The same will be true for A690 and A692, which is left and right rear module closed microswitches. I believe this will be pin 9 and 11 shorted together.
Even if you don't wish to delve in this deeply, at least with diagnostic software you can ask for intelligent guidance if you do get stuck.
Btw, remember to keep OBD2 cable or bluetooth adapter in the glove box and not the boot...
Personnally, I have prepared an emergency convertible top repair kit, which I keep in the boot. Contains a spare hall sensor and spare microswitch. I can jumper these in if necessary to fool the system rather than repair the problem on the road. Also, contains jumper wires.