Ion induced amorphization in metallic compounds