cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Creation of a maintenance order starting from the value of a measuring point

Former Member
0 Kudos
2,099

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

Accepted Solutions (1)

Accepted Solutions (1)

kalyan_chakravarthi6
Active Participant
0 Kudos

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

Answers (2)

Answers (2)

jogeswararao_kavala
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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