In this reaction alkaline KMnO4 behaves as:
CH3−CH2−OHalkaline KMnO4 + heat−−−−−−−−−−−−−−−→CH3−COOH