Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Message type to change from Warning to Error

former_member434229
Active Participant
0 Kudos

Hi Friends,

In TCode: F-48, on screen no 304, I wish to change the message F5-373 from warning to error.

Please let me know different ways of doing it.

Thx In Advance,

Nitin

4 REPLIES 4

Former Member
0 Kudos

Hi Nitin,

After making all the entries on the selection-screen,go to the Debugging mode and set break-points at statement 'messages'. Once you ahve done this then execute it. By doing this way, u will be able to find the correct location of the required message. Once u find this,go to the change screen and change the warning message to Error message by changing the message type from 'W' to 'E' .

Reward points if found useful..

0 Kudos

Hi Sushanth,

I already did that, but I want to change the message type permanently.

Regards,

Nitin

0 Kudos

<b>program:</b>

MF05AFA0_ANZAHLUNGSKONTIERUNG

  if ek05a-xwert ne space.
      call function 'CUSTOMIZED_MESSAGE'                   "Note 0419441
           exporting
                i_arbgb = 'F5'
                i_dtype = 'W'
                i_msgnr = '373'.
* (del) if i = 2.           "for message search: where used. Note435478
      if 1 = 2.                                             "Note435478
        message w373.
      endif.
    endif.

Nitin ,

Without changing program u cann't do any thing , if u want to change standard program then make use of above program and location.

Regards

Prabhu

former_member434229
Active Participant
0 Kudos

Answered.