2004 Aug 04 7:41 AM
Hello,
I have a question. How can I hide or suppress message (E,I,W) while I am calling any program via submit? I am submitting a report and it gives an error message but I still want to continue inspite of the error message. Is there a way to suppress or hide messages?
Hello,
I have a question. How can I hide or suppress message (E,I,W) while I am calling any program via submit? I am submitting a report and it gives an error message but I still want to continue inspite of the error message. Is there a way to suppress or hide messages?
2004 Aug 04 7:56 AM
2004 Aug 04 9:19 AM
But if you are executing a sap report in which you can not change the source code then i dont think there is a way to supress the message.
2004 Aug 04 11:46 AM
I know that some messages can be changed from E to W status in config. But I cannot remember the area. Ask your functional consultant if the message in question, is one of these.
If you use Call Transaction instead you can continue processing after the error message, But not for that transaction.
2004 Aug 09 5:43 PM
Hi
As far as I know, it is not possible to change message type of a message if it is not hardcoded in the program as to be customized or dynamically changable in case you are calling a standard program.
The way to change the display type of a message is to set a SET/GET parameter (MESSAGE_DISPLAY_TYPE as I remember) before giving the message. But this may have some adverse effects...
*--Serdar
2004 Aug 10 8:03 AM
I have tried your method with set/get parameter.
PARAMETERS:
gp_mtype.
START-OF-SELECTION.
SET PARAMETER ID 'MESSAGE_DISPLAY_TYPE' FIELD gp_mtype.
MESSAGE e001.
This method is not enough correct. It changes view of message (green point instead red point), but effect stays according to native message type.
2004 Aug 13 12:59 PM
Hi Evgueny
As I noticed in my message;
this is the way to change only the <b>display type</b> of a message. But I observed some side effects of this usage, so not recommended.
However, this part of my message was not intended to reply the main topic.
Best Regards...
*--Serdar
2004 Aug 10 9:21 AM
You can catch Messages if you use a Fuba-Call. Check the online docu for FuBa and refer to the section Exceptions. Like 'OTHERS' there is a special Exception 'ERROR_MESSAGE' which can be used to catch E-Messages.
But this is no help for submitted reports, due they are running in an separate internal mode.
Kind Regards
Klaus
2009 Oct 21 3:08 PM
2004 Aug 16 8:09 AM
Hi Mayank,
I got a somewhat different solution for your case. You must have given it a thought already. Not sure if it is <i>acceptable</i> in your case.
If it is just one ( SAP ) report that you are using, then you can just copy that report into a Z-report and call it. Now since you have the report in your namespace, you can edit the report to make any modifications that you want like suppressing the error messages.
However, I do not understand why you would want to suppress the error message and continue the processing. An error message will be issued on some error condition and you want to override that and thereby alter the functionality ? Why would you want to do that ?
Regards,
Anand Mandalika.
2004 Aug 17 8:26 AM
Hi Mayank,
Can You please be more specific to your problem i.e. why you want to supress the message. Then only it will be possible to Give the proper solution.
Regards,
Amit
2009 Oct 21 3:13 PM
If you are calling a standard SAP program, better copy into z program then supress the messages as you want.
there is no concept of suppressing messages in runtime unless they are configurable which starts with V for SD and remember they all are not configurable message.
By the way configurable messages are used in standard applications but not in the reports (in most cases)
2013 May 11 12:31 PM
Hi All,
Almost 9 years past.
Any body got solution for the problem here ??
Thanking You All.
2014 Oct 22 1:06 PM
2014 Oct 22 1:16 PM
Really?
Well in that case, here is the solution:
You can't.
Cheers, Rob.