Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Radio buttons for each table control row

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

Former Member
0 Kudos

This message was moderated.