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

Former Member
0 Likes
551

hi,

I am trying to validate two parameters and and a select option.for validation i am using a select query.If sy-subrc is not 0 then error message is displayed.After displaying error message program is throwing me out (not a short dumb).I want to stay on selection scree. Please guide me.

Hi,

U have to validate the selection screen fields in AT SELECTION SCREEN event.

Use select query and error message if sy-subrc ne 0 in AT SELECTION SCREEN event. By doing this ur program stops at selection screen it self.

Regards,

Sankar

4 REPLIES 4
Read only

Former Member
0 Likes
526

Hi,

U have to validate the selection screen fields in AT SELECTION SCREEN event.

Use select query and error message if sy-subrc ne 0 in AT SELECTION SCREEN event. By doing this ur program stops at selection screen it self.

Regards,

Sankar

Read only

Former Member
0 Likes
526

Instead of displaying an error message, display a warning/info message and then use the command STOP to prevent the program from continuing.

Hope this helps.

Sudha

Read only

Former Member
0 Likes
526

validate in

AT SELECTION SCREEN.

event

Read only

Former Member
0 Likes
526

thanks