cancel
Showing results for 
Search instead for 
Did you mean: 

PM Work orders

Former Member
0 Kudos

For plant maintenance work orders, Is there any way to activate System Status using User Status?

I have a requirement wherein I need to set the Deletion Flag for work order incase it has a particular User Status active.

Regards,

Vignesh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

you can fulfill this condition at user exit.

So far as I know, we can't do this via configuration.

Former Member
0 Kudos

Hi ,

Yes you can do meet your requirement by using a user exit :

IWO10009 : PM Order: Customer Check for 'Save' Event

In the above exit you can use the below FMs :

STATUS_CHANGE_EXTERN[This is used to set or delete User Status]

STATUS_CHANGE_INTERN[This is used to set or delete System Status]

STATUS_READ : This is used to read system status or user status

So while saving the MOs the user exit gets activated and you can read system or user status using STATUS_READ FM and set system status by STATUS_CHANGE_INTERN[This is used to set or delete System Status]

based on your condition ..

Hope this gives u some idea ..

regrds

pushpa

0 Kudos

Hi,

You can create User status & trigger an action once the particular status achieved.

You can also control system status with your user status. & can control ur user status for any next action that is " Deletion".

Yatharth

Former Member
0 Kudos

Ran IW38 and display the report with USer status and then just select the appropriate orders and set the deletion flag.

Please note you can set deletion flag only if the orders has been BUsiness closed.

Mahee

Former Member
0 Kudos

yes mahee is correct