on 2013 Dec 05 5:46 PM
Hi experts,
the customer has the need to create maintenance orders starting from the value of a measurement point.
The measuring point should not be a counter.
The need is to measure the value of the pressure or the temperature that does not increase with time but may vary in an irregular manner.
When measured at a precise value (eg 20 ° C) on a point of measurement tied to a functional location, SAP must generate automatically a maintenance order.
Is there a way to implement this flow?
Thanks in advance.
Lucio Martino
Request clarification before answering.
Hi Lucio,
Logic for activating the User Exit
The Measurement Reading (READG) is entered in the IK11 transaction , the user exit(IMRC0001) has to be activated under the following condition:
If the entered Measurement reading Value (IMRG-READG) > Upper Range Limit (IMPTT-MRMAX) or < Lower than lower range limit, The user exit (IMRC0001) has to be triggered / activated for the generation of PM Order in the background automatically with the information as “Condition Based Maintenance order created for Outside Values” and the measurement document(IK11) should be saved.
Else, if the value (IMRG-READG) is within the limit measurement document simply will be stored with the measurement reading (IMRG-READG)
Basic data for Order generation
Transaction to be linked is IW31
1) Order type=PMXX
2) Equipment Number(EQUNR)
Where equipment number (EQUNR) = MPOBJ – IE* Where Measuring Point Object (IMPTT- MPOBJ) = IE*EQUNR
3) Planning Plant(V_EQUI-IWERK) is taken from the corresponding Equipment(V_EQUI-EQUNR) where Equipment(EQUNR) = MPOBJ – IE*
4) Main Work Center object-id (V_EQUI-GEWRK) taken from the Corresponding Equipment(V_EQUI-EQUNR) Where Equipment(EQUNR) = MPOBJ – IE*
5) Main work center is found out by passing the object(GEWRK) to CRHD-ARBPL.
Best Regards
Kalyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lucio,
We developed similar one (creates Notification through BDC) using IMRC0001 user-exit. In a similar way Orders also can be created. This code would develop with the help of an ABAP person, and consumes time, to arrive at properly functioning exit.
Jogeswara Rao K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You need to use user exit "IMRC001' where you have to write coding in the include
which would call notification after a measurement reading is entered.
refer
http://scn.sap.com/thread/2051414
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 22 | |
| 15 | |
| 14 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.