I haven't arrived in HAM from non-Schengen in a while but I am almost certain that when you exit the plane and clear passport control, you end up in the same area as when you arrive from domestic/Schengen flights.
There are stairs leading up to the lounges, you should not have to go through security again.