Application Development 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: 

Selection screen ( search and exclude with same fields)

Former Member
0 Kudos

Hi

I am working on report, i have custom fileds for search and again same fileds for exclusion on selection screen. ( the values can be passed in range).

please tell me how can i pull the records from table by considering both search (inclusion) and excude ( same fileds defined for search and exclusion).

Thanks

NK

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

Either merge the two ranges with some sign = 'I' (include) and 'E' (exclude) or some syntax like 'field IN irange AND field NOT IN erange'. That should be very easy?

Also

  • Insure user not allowed to mix I/E criteria in range/select-options with either coded check or prelimlinary use of SELECT_OPTIONS_RESTRICT
  • Perform some search of 'sql_cond - IN seltab' in online help or F1 help on Abap editor