cancel
Showing results for 
Search instead for 
Did you mean: 

Prefill Select-options in WD ABAP

Former Member
0 Kudos

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!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (2)

Answers (2)

former_member206441
Contributor
0 Kudos

Hi

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

Regards

Arun.P

saket_abhyankar
Active Participant
0 Kudos

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.

Former Member
0 Kudos

For sample implementation of above mentioned refer to component wdr_test_select_options,

view - main_view

method - onactionset_get_range_table.

Regards

Manas Dua