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: 

Selected Record is Deselecting automatically in Table control

kirankumark2
Participant
0 Kudos

I have a table control with some records. I can view only 10 records without dragging(Visible part). I have UPDATE button in my screen, whenever that button is clicked one of the fields in selected record should update. The records which are in Non-visible part of Table control are deselecting automatically where as visible part of records are not deselecting automatically when UPDATE Button is clicked. Can someone explain me what might be the issue?

In debugging what I observed is PAI loop is triggering only for the visible part of table control after that cursor is jumping to some other line. I have a Check field to capture selected record in the TABLE CONTROL DATA Internal table .whenever any record is selected that CHK Field is updating to FLAG 'X', based on this flag field i am capturing selected data.

2 REPLIES 2

Sandra_Rossi
Active Contributor
0 Kudos

It's impossible to tell you which part of your code is wrong. I can just tell you that everything you said is correct. If there's a de-select of lines, it can only come from your code.

You should add a watchpoint on the internal table to know which statement clears unintentionally the selection component.

Former Member
0 Kudos

In PAI part after u select 'UPDATE' , update your internal table , and again loop that internal table.