Hi,
at ECC you can't do. if possible you can delete unwanted comp code. but you need to discuss with your client and fucntional team. later you can do it.
Other wise at info pack you can exclude unwanted comp code or include required comp code.
for that you can use info pack-->selection tab. There you may see comp code for selections.
Thanks