Service notification is not getting closed automatically when set "Do not Execute" for Service Order?
How to close the Service notification automatically when we set the "Do not execute" for a service order. through IW32 when we set the status "ORDER->Functions->Complete->Do not execute", the service order is getting closed but the Service notification linked to this is not getting closed automatically. is it a standard functionality? if it is a standard is there any Exits/BADI s available to achieve this requirement?
Jogeswara Rao K replied
It is a standard behavior. If you want automation, then you need to use user-exit IWO10009 where you will provide logic based on systatus of Order: These are the steps of the program logic to be coded there.
- Get current Order status through fm 'STATUS READ'.
- If the status I0015 (Indicates Do not Execute), then
- Complete the related Notification using the fm 'BAPM_ALM_NOTIF_CLOSE' or 'STATUS_CHNAGE_INTERN'.