The harness is part no. 5 (
54377311084 ):
http://www.bmw-etk.info/parts-catalo...068/54/54_0402
It is one single piece for both sides of the car, has a lenght of in total about 3m.:
Carly can read fault codes of the CTM, but not every fault is documented. And - hall sensors will never die! Only the wires will break. If there is a fault code mentioning hall sensor or microswitch, look for broken wires.
@BuddhaPilot
The pump will only die if there was water in the trunk. And if so, it doesn't work at all.