10-23-2006 3:02 PM
Hi All,
I'm writing code in MEREQ001- EXIT_SAPLMEREQ_008.
In some cases I need to post an error message.
My problem that in ME51N when I get the message,
I can't go back or exit from the transaction ( unless I close the window ).
Does any one have any idea how to write an error message inside user exit ?
thanks,
Michal
10-23-2006 3:09 PM
Hi
Here you should insert a warming message instead of error one.
The message type E should be place in the exit for the final validations.
Max
12-18-2006 1:51 PM
Hi Michal,
I am also trying the same but in a user exit for ME22N transaction. I have tried to add a code in some of the user exits attached to ME22N transaction but all in vain. When I try to run the ME22N transaction I cannot see my warning message. What could be the problem?
My code:
if sy-tcode = 'ME21N'.
MESSAGE w000(ZPO_MSG).
endif.
I will be greatful to you if you can help me.
Thanks
Gopal
12-18-2006 2:02 PM
Hi,
Try EXIT_SAPLMEREQ_005 there is a message struct you can use.
But warning message should work. I wrote some warning messages and it's work fine. Put a breakpoint see if you get to your code.
12-06-2007 11:31 PM
Hi MIchel,
CAn you please tell me which User exit you used for Mesage -> repeat output and for error messages,
I need to send a repeated IDOC when user press Repeat output button
Regards
Nik