Heidenheim coach Frank Schmidt will leave at the end of the season after spending almost 20 years in charge. He led the modest club to the Bundesliga and Europe, but they are now back in the second tier where they sit sixth after 10 games.