‎2009 Sep 10 10:43 AM
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
‎2009 Sep 10 11:04 AM
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.