An ab initio study of the ground and low-lying excited states of KBe with the effect of inner-shell electrons.