Enables the transfer of an alkanesulfonate from one side of a membrane to the other according to the reaction: ATP + H2O + alkanesulfonate(out) = ADP + phosphate + alkanesulfonate(in).
alkanesulfonate transmembrane transporter activity