You are still using the FM NUMBER_GET_NEXT in loop, hence everytime it will generate new number. If you want only 1 number for a group of items in internal table then you need to put condition as put in by Ashok in his post.
Pl let us know under which condition you want to generate a new number.
Regards