A transfinite generalisation of a combinatorial problem on abelian groups