The 2010 Champions League runners up have endured an awful campaign and were struggling to qualify for the competition after some poor results.
Bayern won 8-1 on Sunday though to clinch their spot, with Mario Gomez scoring a hat trick and Franck Ribery and Arjen Robben both netting braces.