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

Table Control - Vertical Scroll

Former Member
0 Likes
495

Hi all,

Currently Table control displays 4 rows in a module pool program. (I was able to see the vertical scroll for both cases where the data is less and more than 4 rows.)

But when the data selected is more than 4 rows…..only first 4 rows of the selected data is getting displayed. I am not able to view the last rows by scrolling the table control (though the vertical scroll is moving up and down)

In Table control Layout both Resizing and separators were also marked.

Also I tried out with the following code---

DESCRIBE TABLE T_ZDEMO(here u use ur internal table). LINES N.

TC-LINES = N. (as mentioned in most of the solutions) as shown below but is of no use.

MODULE STATUS_0102 OUTPUT.

SET PF-STATUS 'PO01'.

REFRESH CONTROL 'ctrl' FROM SCREEN '102'.

SET TITLEBAR 'PO01'.

DESCRIBE TABLE int_rows lines N.

CTRL-LINES = N.

ENDMODULE. " STATUS_0102 OUTPUT

please let me know if in case I have done any mistake while implementing this piece of code??

Let me know how to enable the scroll(vertical) bar for the table control!!!!

Any pointers in this regard would be of great help.

Regards

Sumanth

3 REPLIES 3
Read only

Former Member
0 Likes
413

hi,

pls go through this link regarding table controls vertical scroll bar.

[;

http://help.sap.com/saphelp_470/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm

hope usefull to u,

pls do reward points

Regards,

Fareedas

Edited by: Fareeda Tabassum S on Apr 16, 2008 4:48 PM

Read only

Former Member
0 Likes
413

Hi,

Use the small piece of code in ur PBO after the data is tranfered to the Table control.

DESCRIBE TABLE <itab> LINES <table control name>-lines.

It will surely work out buddy.......

Reagrds,

Angi.

Read only

Former Member
0 Likes
413

Hi,

Go through this link for your reference VERTICAL SCROLL BAR

[http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/frameset.htm]

Reward points if usefull to u,

Regards

Fareedas