There's a lot of reading in this section.
http://www.318ti.org/forum/showthread.php?t=7676 I don't know how everyone addresses fault codes with swaps.
I had exhaust flap, fuel pressure until they were written out of the code.
My car had a driveshaft froma 328 but it also had a 328 tranny.
Oddly enough when my driveshaft needed to be replaced a 328 driveshaft didn't fit.