02-29-2008 3:32 PM
Hello Experts,
How can we assign radio buttons to table control fields?
I have a table control scrollable with one column defined now for entering orders. I have to design 4 radio buttons for each order for performing some action in the background. The user will type in order, and one radio button for it. The user has the ability to enter as many orders as he wanted. Kindly let me know how the programming effort can be achieved here.
The basic confusion is how to link between radio button and order field?
Thanks
03-03-2008 9:15 AM
Hi Ricky,
Assigning a radiobutton to a table control is same as assigning any other UI element ( Input field or Label ) .
Declare an internal table itab in the program with a field for radio button eg.
Data : begin of itab occurs 0,
radio1 type c,
vbeln type vbeln,
end of itab.
Double click the Table control icon and drag it to the layout.
Click Dictionary/Program fields in the tool bar of the layout.
select the field radio1 and check radb in the properties screen.
(right most)
When the user selects the radio button the value X will be assigned to it.
Regards,
Charumathi.B
02-23-2011 7:48 PM