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

selection screen terminates

Former Member
0 Likes
1,270

i am using selection screen with number 500 .

iam processing some routines in my report

when ever i get error message with type 'E' , the selection screen terminates and displays error message .

I want to keep the selection screen even though i get error message in my report .

how to do it .

11 REPLIES 11
Read only

Former Member
0 Likes
1,234

Where are you processing the error message (Which Event)?

AT SELCTION-SCREEN OUTPUT?

Thanks,

Shambu

Read only

0 Likes
1,234

THE ERROR message is  in one of the routines .  in  START-OF-SELECTION EVENT .

Read only

0 Likes
1,234

Are you getting a error popup box, when you click this it exits the program?

Read only

0 Likes
1,234

The error messages can be solved as said by sachin , but my actual problem is that

i have three perform statements.

the 3rd perform statement is some thing to display on the basic list so  i have written below code but it dont work, my basic list is not displayed.

i can manage two performs but the third perform doesnt show my basic list.

i have three radio buttons on the selection screen for three performs .

rb1.   rb2.  rb3.

at selction screen output.

........

start-of-selection.

do

call selection screen 0500

if sy-subrc <>0.

exit.

endif.

perform1 .

perform2.

perform3_basic_list.

enddo.

Read only

former_member213851
Active Contributor
0 Likes
1,234

Hi Kiran,

Dispaly Error message as Information message .

   MESSAGE E000(ZERR) DISPLAY LIKE 'I' 

Unless you press Enter ,selection screen will be retained .

Read only

0 Likes
1,234

The error messages can be solved as said by sachin , but my actual problem is that

i have three perform statements.

the 3rd perform statement is some thing to display on the basic list so  i have written below code but it dont work, my basic list is not displayed.

i can manage two performs but the third perform doesnt show my basic list.

i have three radio buttons on the selection screen for three performs .

rb1.   rb2.  rb3.

at selction screen output.

........

start-of-selection.

do

call selection screen 0500

if sy-subrc <>0.

exit.

endif.

perform1 .

perform2.

perform3_basic_list.

enddo.

Read only

0 Likes
1,234

You can use MESSAGE TYPE I. Then EXIT from that perform.

So the control will go to the next perform.

Read only

0 Likes
1,234

Hi Shambu VS,

other way round

MESSAGE I000(ZERR) DISPLAY LIKE 'E' 

As said in help :"The usage of this addition does not influence the behavior determined by the message type, but only the type of display."

Regards

Clemens

Read only

0 Likes
1,234

Hallo Clemens ,

as you said , the issue still remains  can you suggest me the solution .

Read only

manuelhildemaro_ramossanc
Active Participant
0 Likes
1,234

Hi Kiran,

You can try this

message text-002 type 'S' display like 'W'.

return.

Regards,

Manuel H.

Read only

rajesh_akarte2
Active Participant
0 Likes
1,234

Hi,

You can try this..It should work.

MESSAGE I000(ZMSG) DISPLAY LIKE 'E' .

STOP.

Regards,

Rajesh Akarte