In 1711 Flemming became Generalfeldmarschall and led the Saxon troops in Northern Germany against the Swedes led by Magnus Stenbock. He participated in the sieges of Stralsund and Tönning, and led the Saxon troops in the Battle of Gadebusch in 1712.