‎2008 Feb 13 1:43 PM
Hi Experts,
I have a report, in that report i have some input parameters.. while executing the report if its fails my conditions i want to disply the error message.
For that i made the source code with e010(znew).
Now its giving the error message correctly.But once its displyed the message after the enter in pressed the screen going into intial screen,
But the user needs to enter the input once again so needs after the pressing enter button he want to display the input screen once again,No need of intial page
Can any one help this.
<REMOVED BY MODERATOR>
Mohana
Edited by: Mohana Vijayan on Feb 13, 2008 2:49 PM
Edited by: Alvaro Tejada Galindo on Feb 13, 2008 3:11 PM
‎2008 Feb 13 2:11 PM
try like this..
MESSAGE s010(znew) DISPLAY LIKE 'E'.
Edited by: Perez C on Feb 13, 2008 2:11 PM
‎2008 Feb 13 1:59 PM
For this you have to put the message after an "AT SELECTION-SCREEN" statement.
Regards,
John.
‎2008 Feb 13 2:03 PM
Hi,
Once message is displayed, you can use the leave to screen 0 or call transaction 'TCode' or call selection-screen <screen no>.
Thanks,
Sriram Ponna.
‎2008 Feb 13 2:06 PM
Hi mohana,
1. For this we have to do like this.
2.
START-OF-SELECTION.
If condition fails.
message 'wrong entry' type 'I'.
leave list-processing.
endif.
3. Note
a) the message should be of type I or W (and not E)
b) leave list-processing is important.
regards,
amit m.
‎2008 Feb 13 2:07 PM
Please look to that UR not writing error message in the event
start-of-selection.
Instead give an Information message .. and exit ..
‎2008 Feb 13 2:11 PM
try like this..
MESSAGE s010(znew) DISPLAY LIKE 'E'.
Edited by: Perez C on Feb 13, 2008 2:11 PM