The present invention relates to piperidine and pyrazine derivatives according to formulae (Ia), (Ib) and (II) as autotaxin inhibitors and the use of such compounds for the treatment and/or prophylaxis of physiological and/or pathophysiological conditions, which are caused, mediated and/or propagated by increased lysophosphatic acid levels and/or the activation of autotaxin, in particular of different cancers.La présente invention concerne des dérivés de pipéridine et de pyrazine de formules (Ia), (Ib) et (II) comme inhibiteurs de lautotaxine et lutilisation de tels composés pour le traitement et/ou la prophylaxie de troubles physiologiques et/ou pathophysiologiques qui sont provoqués, médiés et/ou propagés par une augmentation du taux dacide lysophosphatique et/ou lactivation de lautotaxine, en particulier de différents cancers.