You can put complete purchasing block using material status .. but I think it will stop you creating STO too .. so may be you have to do some custom development to achieve this requirement..
create a custom table to maintain materials that are applicable ..then put validation in BADI ME_PROCESS_PO_CUST in item processing method..
But wait for other valueable suggestions before jumping to development.