Skip to Content
avatar image
Former Member

Prefill Select-options in WD ABAP

Hi,

I need to prefill a select-options component with some fixed values. Do you anybody know how this is possible?

I know how to get the data out of the select-options component, but I have problems to get the data back to the

component.

Thank you for your help!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 05, 2010 at 11:30 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 05, 2010 at 11:16 AM

    Do you mean you want to set the default values to the select option?

    I think you can proceed as follows:

    1) Fill range table with values that you want to set to the select option

    2) Pass this table to method: SET_RANGE_TABLE_OF_SEL_FIELD

    I hope this will help.

    Regards,

    Saket.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      For sample implementation of above mentioned refer to component wdr_test_select_options,

      view - main_view

      method - onactionset_get_range_table.

      Regards

      Manas Dua

  • Mar 05, 2010 at 11:29 AM

    Hi

    [This WIKI|http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproABAP-Complexselect-optionscomponent+usages] will be useful for u

    Regards

    Arun.P

    Add comment
    10|10000 characters needed characters exceeded