Skip to Content

how to convert information message to error or warning message in standard

hi,

My requirment is to convert information message to error or warning message in standard program,

T-CODE is cj20n.

the scenerio is when an end user edits requirment qty less than withdrawl qty ,system is showing as information message,

but this has to been shown has warning mesage to control the system.

therer are no exits available for this current scenerio.

Capture.PNG (8.8 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 30, 2013 at 06:59 PM

    Goto transaction code 'OBA5'

    Application area "CN"

    Message No. "752"

    and assign type of message 'E'

    it should now change the message to "Error" message, system wide.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 27, 2013 at 05:47 AM

    Hi Prakash

    Can you please tell us the message number with message id detail

    Nabheet

    Add a comment
    10|10000 characters needed characters exceeded


    • Can you please put a break point in include LCOMKF5H under

      ENHANCEMENT-SECTION MENGE_TO_BDMNG_03 SPOTS ES_SAPLCOMK. at statement

      IF resbd-einheit EQ msfcv-meins.

      If message is getting thrown from this place we can create a custom implementation for this section copying the whole code under this enhancement. Since this is section so our enhancement will disbale standard code and process ours.

      Can you please confirm if this is the case. Otherwise enable debugger put a break point at message to find the exact place. I found it by doing where used list for message

      Nabheet

  • author's profile photo Former Member
    Former Member
    Posted on Dec 27, 2013 at 06:17 AM

    try to find any explicit enhancement area where you can replace the information message with error message. please refer the link https://scn.sap.com/thread/857819 if that can helps you,.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 27, 2013 at 06:28 AM

    Hi Prakash,

    Use Leave List Processing statement after displaying information message. It will work as error message. It will not process further steps and returns to the screen.

    IF SY-SUBRC NE 0.

    MESSAGE Ixxx(msgclass).

    LEAVE LIST-PROCESSING.

    ENDIF.


    Regards,

    Kethan.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 27, 2013 at 07:44 AM

    Hi -

    Either you provide us the Message ID and Message number .

    OR check if any enhancement section is there where the message is getting triggered. If a enhancement section is there you can replace the standard code with custom code.

    Regards,

    Atul Mohanty

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.