Cust Exit Query Err
I have a query that takes a dept_no=10 as the default value and then displays as follows:
dept_no, hrs, tot_hrs
I have another query from the same infocude that has a variable like my_var with the characteristic dept_no. In this query my_var is defined as a customer exit referencing dept_no with the details single value and optional.
For this query the customer exit the i_step=1 and I used the following code:
l_s_range-low = '10'.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
Value "10" for user-exit variable MWHTEST1 is invalid
Variables contain invalid values.
System error in program CL_RSR_OLAP_VAR and form INIT-02- (see long text)
What I am trying to do is simulate the first query and trying to programitically populate the defualt value.
I am missing something!!!
Any help is appreciated.
Please make sure that the format of value you are passing to dept_no is same as dept_no. Also, if you want to default to just one value, then you can use default value optoin in version 3.5, if you are on version 7, then you can have multiple default values.