Reg : Work Order Set Do Not Execute
I want to set Do not Execute to Work Order.
For that there is no option given in the BAPI_ALM_ORDER_MAINTAIN.
So when i checked, while setting the Do not execute to Work Order, it is actually setting the
1) WO User Status as CNCL,
2) then setting all the WO operation System Status as TECO and
3) then WO header System Status as not Completed and
4) finally setting the WO header User Status as closed.
So i did the same thing using the function Modules.
The Status is setting, But still the WO can be edited.
Usually once the do not execute, it will not allow any further changes to that Order.
So i want to achieve the same.
Is there any other FM to set the status as Do not execute??
Please let me know how can i achieve this.
Jogeswara Rao K replied
Sharing the picture of Enhancement spot, I tested for this effect (COIH Finction Group). As shown it is in the Include LCOIHF7R. Also attached the code I used in include Z_COIH. (This was a test which turns the Order to Display mode as soon as it gets REL status).
The message 000 of ZPM Class used above reads 'Changing to Display'