Prevent Process Order Changes via COR2 in certain cases
is there a way how to prevent process order changes (via COR2) with standard customizing after order had been downloaded to shop-floor control system?
What I was checking was to set the status LKD locked after order is transferred, but we still need to be able to post order confirmation, goods receipt, material consumption when order is being produced. With LKD, this cannot be done. And automatically de-set the status before each confirmation is posted from external system is not the best idea I think.
What was also checking was to solve this via authorization concept that eg. after the order is send to external system it gets an particular user status and this status is then being checked together with COR2 authorization so if the status is set, only particular users could change the order.
There is authorization key within user status customizing, and authorization object B_USERSTAT which can be checked, but this works only for scenario where the particular status can be set only by particular users with that particular authorization.
Is there any other way how to solve the requirement?
Many thanks for any ideas,