Catalysis of the transfer of a solute or solutes from one side of a membrane to the other according to the reaction: ATP + H2O + monosaccharide(out) = ADP + phosphate + monosaccharide(in). Ribose, xylose, arabinose, galactose and methylgalactoside ar.