Hi,
As of my knowledge, there is no configuration option to achieve your requirement. You may to go for development to check the open orders for the material & plant combination (and delivery date range if required) and issue the message M7022 (or a Z message) when trying to post negative stock for a material for which there is no open PO's.
Regards,
AKPT