Skip to Content
author's profile photo Former Member
-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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

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

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.