Hi,
I want to change "read only" property of a dynamically created select-options. I try to use 'upd_selection_field' method but it didn't update the screen.
DATA: lr_select_options TYPE REF TO iwci_wdr_select_options .
DATA : lr_helper TYPE REF TO if_wd_select_options.
DATA: lt_range TYPE REF TO data.
DATA: lr_comp_usage TYPE REF TO if_wd_component_usage.
lr_comp_usage = wd_this->wd_cpuse_select_options( ).
IF lr_comp_usage->has_active_component( ) IS INITIAL.
lr_comp_usage->create_component( ).
ENDIF.
lr_select_options = wd_this->wd_cpifc_select_options( ).
lr_helper = lr_select_options->init_selection_screen( ).
lt_range = lr_helper->create_range_table( i_typename = 'TYPE'
).
CALL METHOD lr_helper->upd_selection_field
EXPORTING
i_id = 'ID'
it_result = lt_range
i_read_only = ' '. "
.