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

select logic

Former Member
0 Likes
443

Hi all,

i'm working on a report.

in selection screen i got one field called

type---- where i can enter 1a and 1b or any of this values..when i execute values should be based on this condition. this is my first set of value..

in second set i can enter 5a, 5b, 5c or combination of these and it should not accept 1a and 1b..when i execute values should be based on this condition.

please help me to get the logic

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
408

u can use AT SELECTION-SCREEN event for above purpose

where u mention

IF field <> '5a' or field <> '5b' or field <> '5c'

then display the error message

regards

sateesh

2 REPLIES 2
Read only

Former Member
0 Likes
409

u can use AT SELECTION-SCREEN event for above purpose

where u mention

IF field <> '5a' or field <> '5b' or field <> '5c'

then display the error message

regards

sateesh

Read only

Former Member
0 Likes
408

Hi,

I guess you have defined a select-option for this.

Loop at the select-option and look for the first character of low and high values, if all are same, then its ok otherwise throw an error message. Do this in AT-SELECTION SCREEN.

example :

1a 1b 1c so loop at this and see if all the entries have 1 as the first character and give error message otherwise.

regards,

Advait