Skip to Content
author's profile photo Former Member
Former Member

Several ranges in a query

Is it possible to allow the end user to specify several ranges in a query variable? Standard variable types are : single value, several values and range, so I think it could not be done directly. But maybe this problem is common and a good solution already exists?

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 24, 2004 at 01:42 PM

    Hi Andrey,

    I assume that you mean you want to set filter values on a characteristic. You want several filters, some or all of which are ranges (between filters).

    I can tell you how to do this in BEx Analyzer (queries embedded in Excel workbooks). Users can do this manually using the Set Filter interface and selecting the Value Ranges from the drop down box at the top left. If both ends of the range are in the master data, they can select each end of the range. If the ranges they want are not in the master data, then they simply type in the range with a semicolon (😉 between the two values.

    If you want to do this programmatically, so the user does not have to use the Set Filter interface, it is possible, but problematic. It requires quite a bit of Visual Basic coding and is not recommended. See https://websmp201.sap-ag.de/~sapidb/011000358700011836292001

    which includes a warning against implementing just this sort of thing (see page 2).

    If you want to do this for a Web report, I'm not an expert in that area. Hopefully someone else who is can respond.

    - Pete

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 27, 2004 at 09:48 AM

    A select option can consist of several single values and intervals. There is the yellow arrow behind the input field where you can enter multiple selections, including and excluding specific values and intervals. Since you can enter an unlimited number of rows you don't need several select options. So try and use this one.

    Best regards

    Dirk

    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.