HI,
there is no standard configuration material stock check at PR creation level so you have to achieve your requirement by writing code on user exit or on BADI as above mentioned. you can find out BADI/user exit on.. you can check the following document .
Methods to find Customer/User Exit's & BADi's for a Transaction Code!