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: 

problem with scrolling in table control

Former Member
0 Kudos

hello all,

I have 2 table controls , 2nd table control should be populated based on the entries in 1st table control ,everything working fine apart from when I click the scroll button in the 2 table control its going back to 1st table control.plz advise?

thanks

1 REPLY 1

Former Member
0 Kudos

Hi,

This is because the scrolling action also triggers the PAI as a result of which your first table control on the screen gets triggered. What you can do is restrict the portions on the PAI to execute based on the function codes. This way, the portions of code will not execute when you scroll down.



if sy-ucomm eq 'F_CODE'.
  "Restrict the portion of code between this if...endif...
endif.