Skip to Content
-3

Selection screen ( search and exclude with same fields)

Dec 22, 2017 at 04:10 AM

43

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

omer sakar Dec 22, 2017 at 06:40 AM
0
Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Dec 22, 2017 at 10:10 AM
0

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
Share
10 |10000 characters needed characters left characters exceeded