Undulators are the most advanced sources for the generation of synchrotron radiation in present storage rings. The photons generated by a single electron add up coherently along the electron trajectory. Small magnetic errors can cause unwanted destructive interferences. In this thesis a novel passive shimming method for superconductive undulators based on superconductive closed loops is presented. It is shown that the system can significantly reduce the effect of the field errors.