on 05-15-2015 1:14 PM
Hi All,
I am trying to include OLAP variable in DTP to get the values from the source which are greater than or equal to current month.
For this I have created one customer exit variable on 0CALMONTH object and written the exit in the include ZXRSRU01.
Now, when I checked in the debug the values or populating correctly, but when I triggered the display button in the DTP for OLAP variable it is saying that "Error for variable in customer enhancement".
I didn't understand the issue, below is my code.
if i_step = 0
and i_iobjnm eq '0CALMONTH'.
DATA: i_date like sy-datum,
month(6).
CASE i_vnam.
when 'ZCURRENT_MONTH'.
CLEAR L_S_RANGE.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'GE'.
i_date = sy-datum.
month = i_date+0(6).
l_s_range-low = month.
APPEND L_S_RANGE TO e_t_range.
ENDCASE.
endif.
Could you please advice me if there is anything wrong in the code and error screen shot has been attached.
Thanks & Regards
Venkat
Hi Venkat,
Can you please check if the variable you have defined is checked or not as ready for input. The setting should be unchecked.
Hope it helps
Regards
Yasemin...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.