on 07-09-2007 10:14 PM
can some one advice on how to supress or remove the TO field i.e. the second field in a select option.
Is there any key word like NO-EXTENSION just as we use in normal abap selection screen?
Thanks,
Suri
See check the Set_global_option() method ,and check for the options there and make it to abap_false .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Code for this buddy .enjoy.
WD_THIS->M_handler->SET_GLOBAL_OPTIONS( I_DISPLAY_BTN_CANCEL = abap_false
I_DISPLAY_BTN_check = abap_false
I_DISPLAY_BTN_reset = abap_false
I_DISPLAY_BTN_execute = abap_false ).
* create a range table that consists of this new data element
lt_range_table = wd_this->m_handler->create_range_table( i_typename = 'S_CARR_ID' ).
* add a new field to the selection
wd_this->m_handler->add_selection_field(
i_id = 'S_CARR_ID'
it_result = lt_range_table
i_no_intervals = abap_true
i_no_extension = abap_true
i_read_only = read_only ).
* create a range table that consists of this new data element
lt_range_table =
wd_this->m_handler->create_range_table(
i_typename = 'S_CONN_ID' ).
* add a new field to the selection
wd_this->m_handler->add_selection_field(
i_id = 'S_CONN_ID'
it_result = lt_range_table
i_no_intervals = abap_true
i_no_extension = abap_true
i_read_only = read_only ).
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.