‎2009 Dec 09 8:27 PM
Hi All,
I am having issues with scrolling in table control. I have a table control along with 4 buttons for First/Next/Prev/Last. Non of these buttons are working. Also the internal table that is linked to this table control is having 1544 entries and the table is showing only 12 entries. I know it is because the Table is created in screens to show 12 entries. But i do not see any scroll bar.
I did a lot of search and implemented every solution from SDN but nothing worked for me. Can anyone please help me with this?
Thanks in advance,
Karuna.
‎2009 Dec 10 4:41 AM
Hi Karuna,
Refer the standard program DEMO_DYNPRO_TABCONT_LOOP.
Regards
Abhii
‎2009 Dec 09 9:20 PM
‎2009 Dec 09 11:26 PM
This is because you have not written the logic for there. Please check the SY-UCOMM and write the desired logic for these buttons.
‎2009 Dec 10 4:12 AM
‎2009 Dec 10 4:33 AM
‎2009 Dec 10 4:41 AM
Hi Karuna,
Refer the standard program DEMO_DYNPRO_TABCONT_LOOP.
Regards
Abhii
‎2009 Dec 10 4:48 AM
Hi Karuna Gangireddy,
Use the following steps:
1> Describe <itab> in PBO to get the total number of lines. The number of lines in <itab> will vary based on the fetch condition.
2> Use the statement <TableControl Name>-lines = No. of lines (from step 1) <--- in PBO
Activate and execute your Mod. pool - you will be able to see the scroll bar.
Edited by: Dipayan Datta on Dec 10, 2009 5:49 AM
‎2009 Dec 10 8:34 AM
Hi,
Check once whether you have checked the scrollable checkbox or not. To see the scroll bar this must be checked, you can see this in screen painter attributes.
If still after doing the above scroll bar is not visible just write this line as shown below in th PBO module.
<tablename>-lines = number of lines you want.