on 05-14-2008 8:24 AM
hi,
I used the standard component WDR_SELECT_OPTIONS cpmonent in my webdynpro component.in the browser it is showing all the buttons check,cancel,reset and copy buttons.
but I need to display only reset button.
By going to the WDR_SELECT_OPTIONS comp and i can remove the buttons.
but my doubt is 'Can we change or modify the standard component'.is this the right way of doing?
Regards,
Lakshmi.
Hi ,
there is no need to change the standard component ,
u can make the buttons invisble by calling the method of
class IF_WD_SELECT_OPTIONS
data : m_handler type ref to if_wd_select_option .
first get the component usage of the select option and
then call init_selection_screen method which returnu an object of type if_wd_select_options and call the global_options method of it to make the buttons visible or invisible
m_handler = (comp_usage_object)->init_selection_screen( ).
CALL METHOD m_handler->set_global_options
EXPORTING
i_display_btn_cancel = abap_false
i_display_btn_check = abap_false
i_display_btn_reset = abap_true
i_display_btn_execute = abap_false.
Regards
Yash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.