Skip to Content
author's profile photo Former Member
Former Member

Not able to throw error message thru Badi NOTIF_EVENT_SAVE in IW52 tcode ??

Hi.. I need to perform a validation under the TECH tab present for a 'ZF' type notification in the IW52 transaction. The validation part of the code has to be executed when the SAVE button is clicked by the user.

I found a custom include in the BADI implementation of NOTIF_EVENT_SAVE and did my coding there.

But my problem is.. when the validation fails, i need to throw an error message.

I am using the type 'E' while throwing the message but the message is getting displayed in the screen as an Information message only.

How to fix this......

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Feb 04, 2009 at 12:12 PM

    Hi,

    I hope you have implemented the BADI in SE19 & included the error message in the method "CHANGE_DATA_AT_SAVE".

    Best regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 04, 2009 at 12:12 PM

    hi bro ...

    may be u have given message in START-OF-SELECTION

    Try out with message type 'S'.

    Try out the same code with type 'S'.....once i had the same issue but in sum different senario...

    REGARDS

    Edited by: Mohit Kumar on Feb 4, 2009 1:12 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 05, 2009 at 04:34 AM

    Hi,

    Please pass the error message type, error message no & text in the following EXPORTING fields inside the method :

    EV_SUBRC

    EV_MSGID

    EV_MSGTYPE

    EV_MSGNO

    EV_MSGV1

    EV_MSGV2

    EV_MSGV3

    EV_MSGV4

    Best regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 10, 2010 at 10:42 PM

    Howdy,

    According to OSS note 978331, the intended behaviour of the BADI is to convert message type 'E' to information message:

    Cheers

    Alex

    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.