The spin-galvanic (inverse Edelstein) and inverse spin-Hall effects are calculated for a hybrid system that combines thin superconductor and Rashba-metal layers. These effects are produced by a nonequilibrium spin polarization which is injected into the normal metal layer. This polarization gives rise to an electric potential that relaxes within some characteristic length, which is determined by the Andreev reflection. Within this length the dissipative electric current of quasiparticles in the normal layer converts into the supercurrent. This process involves only subgap states and at the low temperature inelastic electron-phonon interactions are not important. It is discussed how such a hybrid system can be integrated into a SQID where it produces the effect similar to a magnetic flux.