on 11-19-2015 5:21 AM
Hi,
Select options with no interval's and no extension can be achieved using following code.
wd_this->m_handler->add_selection_field(
i_id = 'S_CARR_ID'
it_result = lt_range_table
i_read_only = read_only
i_obligatory = abap_true
i_no_extension = 'X'
i_no_intervals = 'X'
i_complex_restrictions = ls_complex_restrictions
i_use_complex_restriction = abap_true ).
Additionally ,
IS_COMPLEX_RESTRICTIONS-m_exclude-BT = ' '.
IS_COMPLEX_RESTRICTIONS-m_exclude-NB = ' '.
append IS_COMPLEX_RESTRICTIONS to It_COMPLEX_RESTRICTIONS
In ADD_SELECTIONFIELD method apply these settings and check
I_NO_EXTENSION = ABAP_TRUE
I_NO_INTERVALS - ABAP_TRUE
I_USE_COMPLEX_RESTRICTION = ABAP_TRUE
I_COMPLEX_RESTRICTIONS = it_complex_restrictions
Which you already provided in attachment.
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.