SAP Message /VSO/R_MSG502 - You can only assign the material to the upper or lower layer, not both

/VSO/R_MSG502 : You can only assign the material to the upper or lower layer, not both