Application Development and Automation 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: 
Read only

Scrolling in Table Control

karuna_gangireddy
Contributor
0 Likes
842

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
783

Hi Karuna,

Refer the standard program DEMO_DYNPRO_TABCONT_LOOP.

Regards

Abhii

7 REPLIES 7
Read only

Former Member
0 Likes
783

In the reuse library, check out "Scrolling in Tables"

Rob

Read only

Former Member
0 Likes
783

This is because you have not written the logic for there. Please check the SY-UCOMM and write the desired logic for these buttons.

Read only

former_member224008
Active Participant
0 Likes
783

hi,

set ' tblctrl-lines = 1544 ' in your PBO...

Regards,

Arun

Read only

Former Member
0 Likes
783

Hi,

Use describe table statement in PBO event.

Regards,

sunny

Read only

Former Member
0 Likes
784

Hi Karuna,

Refer the standard program DEMO_DYNPRO_TABCONT_LOOP.

Regards

Abhii

Read only

0 Likes
783

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

Read only

0 Likes
783

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.