Skip to Content
0
Jul 10, 2007 at 11:54 AM

RadioButtonbyKey

14 Views

Hi,

I hav been wrote the following code in wddoinit method.

*data: lr_node_info type ref to if_wd_context_node_info,

  • lt_valueset type table of wdr_context_attr_value,

  • ls_valueset type wdr_context_attr_value,

  • lr_node type ref to if_wd_context_node.

*

*lr_node = wd_context->get_child_node( 'USER_GENERAL_INFO' ).

*lr_node_info = lr_node->get_node_info( ).

*

*

*clear: ls_valueset, lt_valueset.

*

*ls_valueset-value = 'key1'.

*ls_valueset-text = 'Male'.

*append ls_valueset to lt_valueset.

*

*ls_valueset-value = 'key2'.

*ls_valueset-text = 'Female'.

*append ls_valueset to lt_valueset.

*

*lr_node_info->set_attribute_value_set(

*exporting

*name = 'GENDER'

*value_set = lt_valueset ).

during runtime when i select radio button, its not selecting anything. still i need to write code at onaction button,. but i dont knw wat to wirte. could you guys please help me regarding this.

thanks in advance