sounds like you may have a stuck heather valve.Try to give it a gentle tap while someone switches from hot to cold from inside the cabin and see if that cures your AC problem.The valve DO get stuck from time to time i have seen it on my 5 series.When i got it, it was blowing full on hot air even with the ac on on max.Taping on the valve cured it

Hope that helps