Oscillations of the magnetic polarization in a Kondo system at finite magnetic fields