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 controls problem

Former Member
0 Likes
335

Hi Friends,

I have a requirement in module pool programming, I need to get two table controls in the same screen.

I have added the extra code in set in

MODULE status_0102 OUTPUT.

  • SET PF-STATUS 'xxxxxxxx'.

SET TITLEBAR 'TITLE_102'.

DESCRIBE TABLE lt_trans LINES fill.

tabctrl1-lines = fill.

ENDMODULE. " STATUS_0102 OUTPUT

I got the table control(I user table control wizard for both the table control) in the screen but in one table control the I am not getting the vertical scroll bar can any one tell me how to get the vertical scroll for the other table control.

I think the above code is reflecting for one table control only.

Thanx in advance,

Line

1 ACCEPTED SOLUTION
Read only

gopi_narendra
Active Contributor
0 Likes
318
MODULE status_0102 OUTPUT.
* SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'TITLE_102'.
DESCRIBE TABLE lt_trans LINES fill.
tabctrl1-lines = fill.
ENDMODULE. " STATUS_0102 OUTPUT

In addition to that you need to add the lines for the 2nd table control also

describe table lt_trans2 lines fill2.
tabctrl2-lines = fill2.

This should solve your problem

Reward usefull answers

Regards

Gopi

2 REPLIES 2
Read only

gopi_narendra
Active Contributor
0 Likes
319
MODULE status_0102 OUTPUT.
* SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'TITLE_102'.
DESCRIBE TABLE lt_trans LINES fill.
tabctrl1-lines = fill.
ENDMODULE. " STATUS_0102 OUTPUT

In addition to that you need to add the lines for the 2nd table control also

describe table lt_trans2 lines fill2.
tabctrl2-lines = fill2.

This should solve your problem

Reward usefull answers

Regards

Gopi

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
318

Hi,

Try

tabctrl1-lines = fill <b>+ 100</b>.