Use transaction code : KKPHIE
Double click on the cost object group in which you want to assign the material,
Then click on