cancel
Showing results for 
Search instead for 
Did you mean: 

Warning Message to error message

Former Member
0 Kudos

HI,

When i am Putting the WBS in Location tab of Maintenance order system is given warning message I0243.

I Want to change this message to error messag , how can i do through Configuration.

Sandeep

Accepted Solutions (0)

Answers (2)

Answers (2)

MTerence
Active Contributor

Hi Sandeep,

You need to check below note. This message has been suppressed by SAP

2154861 - Basic order view: Various warning messages suppressed during WBS element check


Regards

Terence

jogeswararao_kavala
Active Contributor
0 Kudos

Hello Sandeep,

To answer precisely to your question, you can do this with implicit enhancement in include LIBAPI_HF50 , with a code (at line no.138)  such as:

if 1 = 0.
         message e243(i0) with iv_proid ls_prps-werks cs_caufvd-iwerk.
endif.

But this should not be done.

Instead your checks for this field can be very easily managed through a simple code in user-exit IWO10009. You can get it done by your ABAPer, or if you give the logic, I'll provide the code to be put in the include ZXWOCU07 of this exit.

BTW you have several open threads (almost all). Please review and take them to logical conclusion.

Regards

KJogeswaraRao

Former Member
0 Kudos

I just Want

If  Plant in the Equipment not equal to Plant in WBS in the location tab of the order it through an error message .

Currently its gives a warning message

WBS element I-00-001-01 is performed by plant 2001

Message No. I0243

I tried with the  t-code SE91 message class I0  Message no 243 its now allowing me to dO

Former Member
0 Kudos

I will go through the open thread and close it

Thanks for your prompt response

jogeswararao_kavala
Active Contributor
0 Kudos
  • That's exactly what I replied for. There is no provision in SE91 to change attributes of message. You can change the message text only here. SE91 is a list of messages those can be used as information, warning or errors while using them in the codes. Identify the error indicator in the code given by me. The 'e' in e243(I0) denotes the error attribute. From SE91 you can only know the where-used list of this message.
  • So if you are still looking for changing the attribute to error then try as I suggested.
  • But why should you do that without trying first to achieve the same result from safe possible method using user-exit suggested by me.