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

scrolling in table control

Former Member
0 Likes
534

when table control is populated i am selecting the check then it is populated in internal table but as i scroll the check is deselected automaticlay,even in the internal table it is deselected.this i came to know through debugging..

so i want to have the check even after i scroll.

pls help me.

it is very urget.

when table control is populated i am selecting the check then it is populated in internal table but as i scroll the check is deselected automaticlay,even in the internal table it is deselected.this i came to know through debugging..

so i want to have the check even after i scroll.

pls help me.

it is very urget.

3 REPLIES 3
Read only

Former Member
0 Likes
507

Hi,

We have agood DEMO programs on this one, have a look at the below programs

DEMO_DYNPRO_TABLE_CONTROL_1

DEMO_DYNPRO_TABLE_CONTROL_2

Regards

Sudheer

Read only

varma_narayana
Active Contributor
0 Likes
507

Hi..

This happens bcoz When u Scroll vertically in the Table control it will trigger the PAI event.

So you must modify your internal table in the PAI loop to retain the check.

This is a sample code for that.

<b>Flow logic:</b>

PROCESS AFTER INPUT.

LOOP AT ITAB.

Module SAVE_TABLE_DATA.

ENDLOOP.

<b>Module Pool</b>

Module SAVE_TABLE_DATA input.

<Move the Table control fields to Itab work area>

WA-CHECK = <SCREEN FIELD CHECK>.

<b> MODIFY ITAB FROM WA INDEX TABCON-CURRENT_LINE.</b>

Endmodule.

This will solve your problem.

<b>Reward if Helpful</b>

Read only

Former Member
0 Likes
507

treye