Hi,
WHEN 'VAR_CL_MNTH'.
IF I_STEP = 2.
data: ymonth TYPE /BI0/OICALMONTH ,
month TYPE c LENGTH 2,
year TYPE /BI0/OIFISCYEAR,
nmonth TYPE c LENGTH 2.
month = l_s_range-low+0(2).
nmonth = month + 2.
l_s_range-low = 'VAR_CL_MNTH'.
l_s_range-sign = 'I'.
* l_s_range-opt = 'BT'.
l_s_range-high = nmonth.
APPEND l_s_range TO e_t_range.
ENDIF.
I have written above code in cmod, my requirement is, if i give the input to query like 02.2010, then it should show the report result for 02.2010, 03.2010 and 04.2010. (Month which I pass + 2 months).
Note - i need to do this with user exit only.
Thanks in advance.
if possible pl let me know if i give 02.2010 to query variable, where it will get stored in code, so that i can access it.