on 08-12-2008 11:09 AM
Hi,
I need to create a Radio Button Group dynamically and add Radio buttons to it.
I am able to create the Radio buttons dynamically. Could someone help me how to create Radio Button Groups.
I tried creating the Radio Button Group using the following code
DATA : lr_radiobuttongrp type REF TO CL_WD_RADIOBUTTON_GROUP_BY_IDX.
call method CL_WD_RADIOBUTTON_GROUP_BY_IDX=>NEW_RADIOBUTTON_GROUP_BY_IDX
EXPORTING
bind_texts = 'test'
RECEIVING
control = lr_radiobuttongrp.
cl_wd_matrix_head_data=>new_matrix_head_data( element = lr_radiobuttongrp ).
lr_container->add_child( lr_radiobuttongrp ).
But when I run it I am geting a dump "subnode viewname.ME does not exist".
Thanks,
Suvarna.
Edited by: Suvarna Chittor on Aug 12, 2008 12:10 PM
what is 'test' in bind text parameter
you should provide the name in Capitals along with the node name,
if the node name is TEXTS and the context attribute under this node is TEXT then you have to pass
TEXTS.TEXT
also provide the VIEW parameter to the call
Abhi
Edited by: Abhimanyu Lagishetti on Aug 12, 2008 12:26 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.