Skip to Content
avatar image
Former Member

ABAP WD, Clear select options

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 07, 2007 at 11:54 AM

    Hi Antonio.

    Use method wd_this->m_handler->RESET_SELECTION_FIELD.

    Cheers,

    Sascha

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.