Skip to Content
0
Former Member
Dec 11, 2008 at 09:22 AM

BEx variables

13 Views

Dear all,

My requirement is the following:

In my query, I have document numbers based on 0DATEFROM and 0DATETO.

The user will enter at selection screen [datefrom1 ; dateto1] and in the query, I need it to display data such as:

0DATEFROM < dateto1

and 0DATETO > datefrom1

For the moment, I've created:

- on 0DATEFROM: = 1 selection screen variable (VAR_DF)

+ < 1 user exit variable (VAR_EDT reading value selected for VAR_DT)

- on 0DATETO: 1 selection screen variable (VAR_DT)

+ > 1 user exit variable (VAR_EDF) reading value selected for VAR_DF)

My problem is that the query keeps data for all the variables. Is it possible to keep only

0DATEFROM < VAR_EDT

and 0DATETO > VAR_EDF

Thanks for your answers.