cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic radio button group

Former Member
0 Kudos

Hi ,

Is there any way we can create 'Text' along with radio button groups beside the text 'YES' and 'NO' dynamically in a VIEW through 'ABAP WEBDYNPRO'. Can we create a context node with 'TEXT' attribute.

Eg : TEXT RADIOBUTTON1 'yes' RADIOBUTTON2 'no'.

Thanks,

kumar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

check this out.

method wddomodifyview .

data : LR_RADIOBUTTON1 type ref to CL_WD_RADIOBUTTON,

CALL METHOD cl_wd_radiobutton=>new_radiobutton

EXPORTING

bind_selected_key = '01'

BIND_TEXT = 'One'

receiving

control = LR_RADIOBUTTON1.

I think with the above code you will be able to create text along with Radio button.

Thanx.

Former Member
0 Kudos

Hi ,

With the above code i was able to create a radio button with text but not the Radio Button group i.e if 'YES' is been selected 'NO' cant be selected . Is there any way we can do that?

Thanks,

Kumar.