2008 Nov 28 9:53 AM
Hello Experts,
I have one issue.
In the event STAR-OF-SELECTION, i put an error message like: Message Exxx(yyy).
But, when this error message occurs, it bolcks all of the process and i will leave the program.
Even though, i want that when the error message occurs, i return to the selection screen and the
message will be displayed at the bottom like an error message in the event AT SELECTION-SCREEN.
Do you have any idea what i do must to reach that?
Thank you
Hello Experts,
I have one issue.
In the event STAR-OF-SELECTION, i put an error message like: Message Exxx(yyy).
But, when this error message occurs, it bolcks all of the process and i will leave the program.
Even though, i want that when the error message occurs, i return to the selection screen and the
message will be displayed at the bottom like an error message in the event AT SELECTION-SCREEN.
Do you have any idea what i do must to reach that?
Thank you
2008 Nov 28 9:55 AM
hi,
in place of Exxx
you can use Wxxx (warning)
or iXXX(information)if you want to use Exxx
then use statement Leave to list processing.
Edited by: AD on Nov 28, 2008 10:55 AM
2008 Nov 28 9:55 AM
2008 Nov 28 9:56 AM
Hi
Error message @ start-of-selection will allow you to exit. You cannot come back to your selection screen.
2008 Nov 28 9:57 AM
Hi,
error messages in start-of-selection will take you out the prog, Use other type of messages other than Error.
may be a status message.
Rhea.
2008 Nov 28 9:57 AM
Hello,
Error message will block all the processing and will take you to a blank screen. To go back to selection screen after the message display use Information message, type 'I' and use LEAVE to LIST-PROCESSING which will take you back to selection screen. Instead of leave to list-processing you can also use CALL SCREEN 1000 (selection screen).
If you want to show message in selection screen itself use Status message.
Message 'ERROR' type 'S'.
LEAVE to LIST-PROCESSING or CALL SCREEN 1000.
Hope it helps.
Thanks,
Jayant
2008 Nov 28 9:59 AM
Hi,
This is due to declaration of message type 'E'. Do change the message type.
Thanks
Nitesh
2008 Nov 28 10:00 AM
Hi SALHI,
use informative message like this:
message ixxx(yyy) display like 'E'.
Hope it helps.
Regards,
Rahul
2008 Nov 28 10:09 AM
Thanks for you all.
But when i put the message type I or W, it's displayed like a Pop-up. I want that the error message
will be displayed at the bottom in the selection screen like an error message in the event AT SELECTION-SCREEN.
What do you think?
2008 Nov 28 10:19 AM
Hi,
Then use this.
MESSAGE ID 'yyyy' TYPE 'S' NUMBER xxx
WITH TEXT-032 .
Rhea.
2019 Aug 27 1:24 PM
Hi,
If you want to throw error message in AT SELECTION-SCREEN, then directly write Leave list-processign after message.
If you want to throw error message in START OF SELECTION, Then you have to write message like below.
MESSAGE 'No data exist' TYPE 'S' DISPLAY LIKE 'E'.
LEAVE LIST-PROCESSING.
ie: throw message type S display like E then Leave list processing.
Thanks,
Rajesh Kadthala
2019 Aug 28 8:29 AM
Have a look at the documentation of message to see the behaviour of MESSAGE in different sections:
https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-us/abenabap_message_dialog.htm
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |