Skip to Content
0
Mar 01, 2009 at 02:41 PM

DropDownByKey, RadioButtonGroupByKey - how to set default selection

38 Views

I'm working through the examples of Ulli Hoffmann (Web Dynpro for ABAP), and have seen that if I use DropDownByIndex (or RadioButtonGroupByIndex ), I can use the set_lead_selection_index method to determine the default dropdown selection to be displayed (or radio button to be selected).

But I can't work out how to do the same for DropDownByKey or RadioButtonGroupByKey. When the application is first run, the selection is blank (or in the case of RadioButtonGroupByKey, no radio button is selected). What do I need to do to set the default when using the ...ByKey components?

Thanks

matt