Hi,
You can control through program, no standard functionality
there are BADI and User exits availabe please check
BADI
WORKORDER_UPDATE
User Exits:
PPCO0001 Application development: PP orders
PPCO0007 Exit when saving production order
Br,
Ravi