‎2008 Dec 09 12:06 PM
Hi there.
I've got the following issue.
I've developped a custom infotype with a huge dynpro (lots of fields).
The thing is that i have a Table Control within this dynpro (at the bottom), and a button field above it, which i use to load data in the Table Control.
When i press the button, everything works fine, the data is loadead an the control shows up with its data, but... the dynpro scrolls up, forcing me to manually scroll down to show it again...
Is there any way to avoid this?
Thanks a lot.
Regards
‎2008 Dec 09 12:40 PM
Dear Henry,
Use this URL https://www.sdn.sap.com/irj/scn/advancedsearch?query=avoidingscrollin+program&cat=sdn_all.
Regards,
Flavya
‎2008 Dec 10 3:44 PM
Hi
I've finally figured out how to solve this problem, it was really simple: when i press the button, by default, cursor's position is set within the top element of the dynpro, that's why the screen scrolls up, so a very easy way to avoid this is setting the current cursor within an element of the bottom of the dynpro.
I've tried this and looks like the problem is solved.
Regards Boborolos!!!!!!!
‎2008 Dec 09 12:50 PM
Try this
tab_control-current_line = 1. this may work.
Make the hight of the table control as hight as possible
Hope this helps.
Regards
Bikas