User-exit for IW31/IW32 before saving
This document is intended to show user-exit IWO10009 is used to keep all check’s needed before saving maintenance order.
Simple scenario to explain, User status of a order where the user status “HPEX” is set can only be set to “COMP” when also user status “HPOK” is set.
As per IMG –
In SMOD –
In CMOD –
Creating a project in CMOD
Make sure the project enhancement is in active state.
Testing with IW32
As per scenario when COMP is selected and HPEX is checked then until an unless HPOK is selected user should not be in a position to save the order.
In the below case user should not save as HPOK is not selected.
When Click on SAVE –
In debug mode program stops at the user-exit code implemented –
This shows the user-exit works fine to keep all checks needed for IW31/IW32.