cancel
Showing results for 
Search instead for 
Did you mean: 

Equipment or Function location ( either of the one) mandatory in Maintenance plan

Former Member
0 Kudos

How to make either Equipment or Function location ( either of the one) mandatory in Maintenance plan (in ip01,ip02)

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

IP17,ip15 and MCH01 are also used change Maintainance plan???
can i use the same exit???

jogeswararao_kavala
Active Contributor
0 Kudos

You should better start a new thread, not to mix-up issues and also not to continue in the same thread already closed by you..

Former Member
0 Kudos

Can't achieve in standard. Use below user exit for that.

IPRM0004 Maintenance plan / item: Customer check for time "SAVE"

Former Member
0 Kudos

Thanks for quick response.

jogeswararao_kavala
Active Contributor
0 Kudos

Hi Vaibhavi,

The code you need to put in the include ZXPRMU06 of User-Exit IPRM0004 is


IF IMPOS_IMP-TPLNR IS INITIAL AND IMPOS_IMP-EQUNR IS INITIAL.

  MESSAGE: 'Please Fill Equipment or Functional Location' TYPE 'I'.

  RAISE NO_UPDATE.

ENDIF.

This gives you the Information pop-up as shown in the attached picture and would not let you save until one of these fields or filled.

Jogeswara Rao K

Former Member
0 Kudos

hello Jogeswara sir,

your ans is useful but i have 1 query.

TPLNR field is not in MPOS so how can it trigger ????

jogeswararao_kavala
Active Contributor
0 Kudos

Hi,

The code does not involve MPOS table.

Use the code as it is. The structure given in the exit will have these fields.

First you use this code and give your observations.