The match has been scheduled for July 24 and will see Pep Guardiola take on his former club in his new role at the Allianz Arena.
The Spaniard won 14 trophies during his four year coaching the Blaugrana and will take over from Jupp Heynckes at the end of the season following a year-long break from the game.
"I am really looking forward to this game," Hoeness told the club's official website. "I thank the board for this gift on my 60th birthday."
All the money raised from the game will be donated to charity.