2007 Aug 30 5:52 AM
Hi all,
Iam writing one exit for MIGO Transaction. Everything is fine but the only thing is,
If i generate error message in EXIT Using : Message e127(zmcd) with loc_per. It is working fine . But i need to display it as warning message. so i tried to change it to : Message w127(zmcd). But it is not working in this case.
Please help me out from this situation.
Thanks in advance.
2007 Aug 30 7:12 AM
2007 Aug 30 7:32 AM
Hi Govardhan,
Go to ABAPHELP transaction and check out help for
Messages in control processing
Messages in dialog processing
I had encountered this issue earlier and we cannot use Warning mssg in exits. Instead you will have to use type 'A'. As I recall the other types like 'I' and 'S' also didn't work.
Hope this answers your query and you can lookout for another alternative.
<b>Always reward points to useful suggestions.</b>
regards,
Vikas
2007 Aug 30 7:42 AM
Hi,
Inside the user exits or Badi's the warning messages will not work. We are having two options for displaying the messages.
1. Populate the warning message in the std message log.
OR
2. Use the Function Module POPUP_TO_CONFIRM and display the message.
Thanks
Raghavendra
2007 Aug 30 9:53 AM
Hi Kumar,
Can you please let me know what are the parameters to be passed to the FM
'POPUP_TO_CONFIRM' . and how should we achieve the popup message.
2007 Aug 30 2:09 PM
HI,
Pass the Text as warning. and then the remaining parameters like msg class, msg no and msg variables if you have any.
Thanks
Raghavendra
2021 Feb 23 3:09 PM
Type A still prevents saving. It does not work like warning.
2007 Aug 30 10:55 AM