Skip to Content
0
Former Member
Nov 13, 2007 at 01:33 PM

Query - i_step issue

18 Views

Hi,

I have a query that has only one filter (with 0CALMONTH).It´s working fine, because I´m using an variable with customer exit, in order to bring always the current month.

But now I´m facing a problem.User can delete the date filled by the exit, and the Infoprovider is quite huge, so the result is a very high time response ...

I tried to force in this exit to fill the 0CALMONTH with current month in case user decide to erase the suggested date.But, it´s not working .I even tried a dumb solution, but it seems to be not possible, is this right?After the user push "Ok" I can´t change the variables value?

Here´s the code:

if i_step = 3 or i_step = 2 or i_step = 1 or i_step = 0.

CLEAR l_s_range.

CLEAR e_t_range.

l_s_range-low = '200101'."sy-datum(6).

l_s_range-sign = 'I'.

l_s_range-opt = 'EQ'.

APPEND l_s_range TO e_t_range.

endif.

Any suggestions are welcome.

Kind regards,

Tomas Prusaczyk