Skip to Content
avatar image
-3
Former Member

Selection screen ( search and exclude with same fields)

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 22, 2017 at 06:40 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Dec 22, 2017 at 10:10 AM

    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
    Add comment
    10|10000 characters needed characters exceeded