‎2007 Jan 29 7:27 AM
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?
‎2007 Jan 29 7:45 AM
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.
‎2007 Jan 29 7:45 AM
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
‎2007 Jan 29 7:45 AM
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
‎2007 Jan 29 7:46 AM
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
‎2007 Jan 29 7:52 AM
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
‎2007 Jan 29 7:45 AM
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.
‎2007 Jan 29 7:51 AM
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