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: 

Problem with Module Pool

Former Member
0 Kudos

Is it possible to have radio buttons in Table Control

The requirement: I need the selection rows in the Table Control to be done

through Radio Button Selection

Is it possible or not?? If possible.. how?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Yes, it is possible to place a radion button in the table control.

In the PAI of the screen

Check for radio button filed value 'X'. then it is selected.

6 REPLIES 6

Former Member
0 Kudos

When u want add radio Button, u have to declare a variable as char1 in internal table and in Screen when you transfer internal table fields to the Table control there is an option in which format field to be provided in Table control

1)Text2)CheckBox3)Radio

Former Member
0 Kudos

hi

you can use 2 differnet table contols based on your radio button seletion.

I know this would be the very raw way of doing it... Will get back if I can find a better solution.

-

Santosh

0 Kudos

Thanx Santosh.. but I got the answer

this is the answer for that

When u want to add radio Button in Table Control, u have to declare a variable as char1 in internal table and in Screen when you transfer internal table fields to the Table control there is an option in which format field to be provided in Table control

1)Text2)CheckBox3)Radio

Thanx again for ur response anyway

0 Kudos

Thanks Neela,

I guess Actually I got the Question Wrong. I thought you need different fields in the table control..

Neway thanks again to correct me...

-

santosh

Former Member
0 Kudos

Hi

Yes, it is possible to place a radion button in the table control.

In the PAI of the screen

Check for radio button filed value 'X'. then it is selected.

Former Member
0 Kudos

Hi,

It is possible, see the following steps:

 When you create a table control, the system automatically proposes one with a selection column.

 The selection column behaves like a checkbox/Radio Button. It must therefore be a field with length 1 and data type CHAR. You must enter the field name in the attributes of the table control.

 The selection column is a field of the structure used for transport between the screen and the ABAP program.

-B S B