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

Filter on two columns : ALV List display

Hello,

I am using REUSE_ALV_LIST_DISPLAY to display a report. The sample report as below :

Matnr qty1 qty2

-


1234 1.00 0.00

ABCD 0.00 0.00

5678 0.00 1.00

After display of the report, user wants to filter on the quantity fields where qty1 = 0.00 AND qty2 = 0.00.

User will execute the report. Output is displayed. Then user clicks on qty1 and qty2 field heading. Then user clicks on filter (funnel) button. Then a small popup will appear which will display two filter fields qty1 and qty2. Then user will enter filter criteria for qty1/qty2 columns as :

qty1 = 0.00 (here '=' symbol is in red meaning 'exclude' the rows having zeroes

in qty1 column)

qty2 = 0.00 (here '=' symbol is in red meaning 'exclude' the rows having zeroes

in qty2 column)

Once the user presses the enter button of this popup window, the filter criteria is applied and the whole report is becoming empty. Because in the above example all the three rows are having the zeroes in qty1 or qty2 columns. So logically the filter criteria applied was qty1 = 0.00 OR qty2 = 0.00

The expected output after applying the filter was just one row like below because both qty1 and qty2 are having zeroes. Logically the filter criteria applied should have been qty1 = 0.00 AND qty2 = 0.00

Matnr qty1 qty2

-


ABCD 0.00 0.00

How to solve this problem?

Regards

Rajesh.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 11:57 AM

    hi,

    i think u have to apply logic for filter in report itself....

    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.