Abstract
The coexistence problem of ferromagnetism and superconductivity is discussed theoretically. Recent experiments on the rare earth ternary compounds ErRh4B4 and HoMo6S8 are analyzed on the basis of the sf exchange interaction model. It is shown that the ferromagnetic molecular field effect of the sf exchange interaction is crucial in explaining the data and the spatially inhomogenous superconducting state coexisting with ferromagnetism can describe adequately various aspects of the sinusoidally modulate magnetic structure observed in both compounds.