AG Barr has announced that its finance director and operations director will retire early in the next financial year, with their replacements having already been found.