A permanent magnet undulator covering the energy range from 90 eV to 15 000 eV for the ANKA synchrotron (2.5 GeV) is requested. To cover this energy range the undulator has to be equipped with two in-vacuum magnetic structures with different period lengths that can be switched during operation of the storage ring.