Application Development and Automation 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: 
Read only

Problem in module pool with table control scrolling

Former Member
0 Likes
1,266

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.

4 REPLIES 4
Read only

Former Member
0 Likes
648

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.

www.saptechnical.com

www.sap-img.com

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

Read only

Former Member
0 Likes
648

hi Ram,

Check out these sample programs

RSDEMO_TABLE_CONTROL

DEMO_DYNPRO_TABLE_CONTROL_1

DEMO_DYNPRO_TABLE_CONTROL_2

RSDEMO02

Regards,

Santosh

Read only

Former Member
0 Likes
648

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.

Read only

Former Member
0 Likes
648

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