cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP WD, Clear select options

Former Member
0 Kudos

Hi all,

I have 2 select options in my web dynpro and I want to clean the value of the second select options

when the first select options is selected.

I have tried it using:

(m_handler: type ref IF_WD_SELECT_OPTIONS)

DATA:

i_it_range_table TYPE REF TO data.

i_it_range_table = wd_this->m_handler->create_range_table( i_typename = 'select_option_2' ).

CALL METHOD wd_this->m_handler->set_range_table_of_sel_field

EXPORTING

i_id = 'select_option_2'

it_range_table = i_it_range_table.

or:

CALL METHOD wd_this->m_handler->upd_selection_field

EXPORTING

i_id = 'select_option_2'

it_result = i_it_range_table.

But the value appears.

How do i solve this?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Antonio.

Use method wd_this->m_handler->RESET_SELECTION_FIELD.

Cheers,

Sascha

Former Member
0 Kudos

Hi Sascha.

I had tried with this method and the value appeared, but i have used again and I have seen my problem.

The problem was select option was modified in method WDDOMODIFYVIEW. I'm going to repair it.

Thanks a lot.

Answers (0)