Skip to Content
-1

Selected Record is Deselecting automatically in Table control

May 07, 2017 at 05:18 PM

48

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sandra Rossi May 07, 2017 at 07:53 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
RAGHAVA K May 08, 2017 at 04:48 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded