Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Doubt in displaying error message

Former Member
0 Likes
693

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
680

try like this..


MESSAGE s010(znew) DISPLAY LIKE 'E'.

Edited by: Perez C on Feb 13, 2008 2:11 PM

5 REPLIES 5
Read only

Former Member
0 Likes
680

For this you have to put the message after an "AT SELECTION-SCREEN" statement.

Regards,

John.

Read only

Former Member
0 Likes
680

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.

Read only

Former Member
0 Likes
680

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.

Read only

Former Member
0 Likes
680

Please look to that UR not writing error message in the event

start-of-selection.

Instead give an Information message .. and exit ..

Read only

Former Member
0 Likes
681

try like this..


MESSAGE s010(znew) DISPLAY LIKE 'E'.

Edited by: Perez C on Feb 13, 2008 2:11 PM