‎2008 Mar 25 3:32 PM
Hi people!
I have a short question. How do I make the horizontal scrollbar work when using a TableControl in a DynPro?
I have an internal table (itab) which contains 58 entries but only the first 25 are displayed (due ti screen limitations) in the table control. When I click on the scrollbar, nothing happens.
Any ideas?
Thanks for your help!
Regads,
Alex
‎2008 Apr 02 4:42 PM
Try using the option "control table (med. wizard) on the screen painter.
it's more easy
‎2008 Apr 02 4:42 PM
Try using the option "control table (med. wizard) on the screen painter.
it's more easy
‎2008 Apr 16 1:03 PM
hi,
You can remove the scroll bar in the table control by switching off horizontal and vertical scrolling in the properties of the table control. The properties can be accessed from the screen painter by double clicking on the table control. Regarding the page up and page down functions, I believe you add those buttons in the screen layout and code for them. You can use the standard function code for the page up and page down functions.
or
You can get rid of the vertical scroll bars by not setting table control lines. This way the user can only see the visible lines of the table control. As for the horizontal scrollbar, just make sure that your table control doesn't contain too many fields.
From [http://sap.ittoolbox.com/documents/popular-q-and-a/scroll-bars-in-table-control-2442]
Reward points if usefull
Regards
Fareedas
Edited by: Fareeda Tabassum S on Apr 16, 2008 5:33 PM
‎2008 Apr 16 1:14 PM
just u initalize the some records in internal table.
like sy-tfill = 30. (records)
‎2008 Apr 16 1:49 PM
You have to set the table control lines at the PBO,then the scroll bar will come automatically.
ie in PBO.
Module describe.
Module Describe.
Describe table <ITAB> lines <tbctrl>-lines.
endmodule.
Here
<ITAB> -internal table used for populating table control.
<tbctrl>- name of table control