Skip to Content
avatar image
Former Member

Real Time User Alerts

Hi All,

Using Work Orders in PM, is there a way to have the system automatically create a user alert or invoke some basic automation, based on the values put into fields when closing a Work Order?

When completing  Work Order, a technician will check a box marked 'Follow-up Required'. When the Planner is closing the Work Order, I want either:

a) An alert to pop-up and tell the user that a child work order should be created

b) Automatically create the child work order.

Thank you for the help.

Jared

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 30, 2015 at 07:05 PM

    Hi Jared,

    It is possible to create automation to send information when the order is closed or various status of order. You can use partner determination to do that.

    Also you can use User Exit to do the same and using BDC to create a work order upon user clicks 'Follow-up orders required' etc.

    This looks purely Technical assistance required. I suggest you to contact your Technical consultant and provide your requirement.

    Also, you can check in ABAP Development for technical help

    Regards

    Terence

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 30, 2015 at 10:43 PM

    Hello Jared,

    It is a pure technical matter. Means this query of yours is a sort of Functional specification to an ABAPer. Yes, your requirements are possible. And there is a suitable user-exit for this namely IWO10004 . The pre-requisite and program logic  for the code in this exit will be:

    Pre-requisite

    You need to have a check-box for 'Follow-up required':

    This can be either done by creating additional field (Here it is Check-box) in the Order header as documented here:IWO10018: User Fields in Maintenance Order

    OR

    Instead of taking pains to create check-box, use some existing field such as Sort Field and put some value into this field (say 'X') which will be used to interpret as Follow-up required.


    Program logic for the exit

    During TECO of the Order, the code will search for above value, if it is found then a pop-up would appear (screen-through module-pool) where you would give all the Order header parameters for child work Order and create a child work Order through Batch-input through call transaction IW36. (OR you can use suitable fm such as BAPI_ALM_ORDER_MAINTAIN). Even you can opt for popup-free Order generation by specifying the Order header values logically in the Batch-input or FM.

    So these are the guidelines for your ABAPer, who can now sit and start working for the requirement.

    Good luck

    KJogeswaraRao

    Add comment
    10|10000 characters needed characters exceeded