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: 

Table control row selection problem when scrolling vertically

Former Member
0 Kudos

Hi,

I have created ZLT43 from LT43 and added few fields in the table control (screen no 1721) after selection screen. The length of the table control has been changed to 177 to display more fields. Now when selecting lines and scrolling using the up/down keys the lines become unselected.

Please advice.

1 REPLY 1

Former Member
0 Kudos

Hi

Please check if you have done following things or not:

1. In PBO done this looping.

LOOP AT IT_tab WITH CONTROL TABLE_CNTRL.

MODULE SHOW.

ENDLOOP.

MODULE SHOW OUTPUT.

F1 = IT_TAB-F1.

F2 = IT_TAB-F2.

IF IT_tab-SEL = 'X'.

SEL = 'X'.

ENDIF.

ENDMODULE.

2. In PAI also you have to do looping.

LOOP AT IT_tab.

MODULE CHECK_ACTN.

ENDLOOP

MODULE CHECK_ACTN INPUT.

if sel = 'X'.

IT_tab-SEL = 'X'.

ENDIF.

IT_tab-F1 = F1.

IT_tab-F2 = F2.

MODIFY IT_tab INDEX TABLE_CNTRL-CURRENT_LINE.

ENDMODULE.

If you still have problem then revert back.

Khushboo

Edited by: K rathi on Feb 9, 2010 9:56 AM