on 02-19-2007 6:27 PM
Hi Team,
I've coded SELECT-OPTIONS in my web dynpro(ABAP) and want to disable the complex selection button/link (displayed just before the actual field). This link takes the user to either "Exclude" the selection or other options like "GE", "BT" etc. I actually want that user should only select ONE value with sign="I" and Option='EQ'. Is there a way to manage this? Please help.
Thanks for your time.
P.S: Points will be awarded for solutions
Hi Sanjay,
Just enable complex restrictions parameter by setting i_use_complex_restrictions = abap_true and specify the operators/signs you would like to enable in parameter i_complex_restrictions. In case you would only like enable EQ|I, set include-eq = abap_true.
Best regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Thomas. It is working as desired.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sanjay.
You can switch of intervall and complex restrictions using the
parameters I_USE_COMPLEX_RESTRICTION and I_NO_INTERVALS
of the method ADD_SELECTION_FIELD:
wd_this->mr_selop->add_selection_field(
i_id = lv_fieldname
i_no_intervals = abap_true
i_use_complex_restrictions = abap_false
...
).
Hope this helps.
Cheers,
Sascha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.