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

Module -Pool Table Control

Former Member
0 Likes
1,039

Hi SDN,

I have three Table control with 15 lines each in my screen Layout.But when i am executing the Program only 4 lines of the table control was shown.There is a system variable sy-loopc which is always set to 4.I want atleast 15 lines to be displayed in my output screen.How to do this?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,004

try this inm PBO

DESCRIBE TABLE itab LINES fill.

TC-lines = fill.

chk this demo program

DEMO_DYNPRO_TABCONT_LOOP

10 REPLIES 10
Read only

Former Member
0 Likes
1,004

hi

by default, in your screen painter, if you drag your tablecontrol and depending on your resolution, whether data gets populated or not, it will show the same number of lines in the output...

cheers,

Sathish. R

Read only

Former Member
0 Likes
1,005

try this inm PBO

DESCRIBE TABLE itab LINES fill.

TC-lines = fill.

chk this demo program

DEMO_DYNPRO_TABCONT_LOOP

Read only

0 Likes
1,004

I tried this one.Still only 4 lines are visible in my output.Any other way to proceed?

Read only

0 Likes
1,004

hi Niranjan,

Double-click on table control(click at the corners to get exactly) , in the attributes , checkout the height(below visible length field) , if it is set to 4 increase that to 15

Read only

Former Member
0 Likes
1,004

In the screen painter:

Set the screen attributes Def length,Def Size and height to values higher so that you can see 15 when displayed.

Regards,

Ravi

Read only

Former Member
0 Likes
1,004

i donn think u need to handle this.

if u have data, that shall display so many lines.

am i right guyz?

Read only

learnsap
Active Participant
0 Likes
1,004

Hi Niranjan,

You have to set the loopc value to 15. That is loop count.

On the screen how many rows on the table control are visible....

check the visible height variable of the table control attributes.

Regards,

Ramesh Babu S

Read only

Former Member
0 Likes
1,004

The Height field (Below the Visible length) is set to 32 .Is there is any field attribute by the name VISIBLE HEIGHT?

Read only

Former Member
0 Likes
1,004

Hi SDN,

I solved the problem.There was a attribute in table control (RESIZING).When i unchecked it,the number of lines got exactly the as in layout.Thank you for all your inputs.

Read only

Former Member
0 Likes
1,004

This message was moderated.