on 10-23-2014 7:02 AM
Hallo all,
I defined a user-entry variable type "select options". Underlying characteristic has master data.
When user selects value X and value X is not a master data, the user receives a error "Value for variable is invalid" (this so far works as designed).
But that moment, the user uses >X or <X no error is shown and the report can be executed.
Does anybody has an idea, if this behaviour can be changed that way, so that even im combination with > < >= <= the master data is checked?
Regards,
Christian
Hi Christian,
I think theoretically this is possible. In i_step 3 you can check the values. You can read the sign in the exit. Such a code should work I guess:
loop at i_t_var_range into loc_var_range where vnam = 'YOURVARIABLE'
if loc_var_range-opt <> 'EQ' (This will check the operand being nonequal).
You can do your check or give the error in this part.
endif.
endloop.
This is not a solution I tried before, you can just give it a try and let's know the result.
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 |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.