‎2007 May 29 6:08 AM
hi,
i am using the table control in module pool,in the table control i have radion button for all the rows.
After i got the data into the table control ,if i select radio button and if i press vertical scroll bar button, that radio button is deselecting,how to solve this issue.
Please help me.
‎2007 May 29 6:15 AM
Hi
Generally we don't keep radiobuttons in table control for selecting the records
We keep check boxes for selecting the records
Radio button is used to select a single from a group of records and at a time only one is selected, where as checkboxes at a time you can select a single or multiple.
So use checkboxes and code correctly see the doc for Table control
syntax:
CONTROLS .
if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.
u need to comment the performs of table control fields and write ur own perform statements. And u have to declare the table control fields as separate internal tables.
Go through this urls.
Check the below links.
http://www.planetsap.com/howdo_a.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm
http://sap.niraj.tripod.com/id25.html
Reward points if useful
Regards
Anji
‎2007 May 29 6:17 AM
hi Ram,
Check out these sample programs
RSDEMO_TABLE_CONTROL
DEMO_DYNPRO_TABLE_CONTROL_1
DEMO_DYNPRO_TABLE_CONTROL_2
RSDEMO02
Regards,
Santosh
‎2007 May 29 6:19 AM
HI,
u might have entering the values into the table control from any of the PBO modules of the screen.if u enter the values into the table control before u r calling the screen.that selected radio button will not be deselected.
rgds,
bharat.
‎2007 May 29 6:26 AM
Hi Rammmohan,
Do one thing. in the pai loop-end loop, read the itab, with radio button selected and assign corresponding values to the internal table which you are using to fill the table control. the problem i think is you are using an iternal table to fill the table control which is not updated with the changed records. Thats after refreshing the control will go to the pbo with the earlier version of the itab with out updating the radiobutton selected.
Regards
sarath
reward points if found working