Item group constraint in selection menu

Is there anyway we can constraint the user to select items from particular item group only, Like let suppose in BOM if we add a new row for raw material the user can select item code from any category and this is a valid scenario but in my case i want to restrict user to particular item group only. ???