Krankl played 69 matches for the team and scored 34 goals. He was member of the team for the 1978 and 1982 FIFA World Cup. 1978 he became a legend in Austria for scoring two goals against Germany for the first victory after 47 years. The radio commentary ("Tor Tor Tor Tor Tor Tor, I werd' narrisch" – "Goal goal goal goal goal goal, I'm going crazy") is known by almost all Austrian football supporters.