Update component plant (RESB-WERKS) in Work order while creation
I would like to change the component plant, RESB-WERKS based on certain custom conditions in work order while creation. I am using BADI WORKORDER_UPDATE to update the plant. But it is not working and getting a message saying that RESB-WERKS field is protected. Could you please suggest an alternative option?