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

regarding module pool programming

Former Member
0 Likes
585

hi champions,

i m using table control in my screen no doubt the horizontal scroll is coming but vertical scroll is not,vud u plz tell me wat sud i do so dat the vertiacal scroll will appear i hv to display the multiple records. in my report.........

looking forward to an early reply.

ravi gupta.

1 ACCEPTED SOLUTION
Read only

gopi_narendra
Active Contributor
0 Likes
562

in the PBO just write these statements

itab is the table which u pass to ur table contorl.

tabcontrol is the name of the table control on ur screen.

describe table itab lines N.

tabcontrol-lines = N.

Regards

- Gopi

5 REPLIES 5
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
562

Hi,

In PBO,just increase the no.of lines.

t_ctrl-lines = 100.

Message was edited by:

Jayanthi Jayaraman

Read only

dani_mn
Active Contributor
0 Likes
562

HI,

Vertical scroll will come when number of records exceed the display limit.

If during table control creation process you have select vertical scroll then it will automatically comes when records increases.

REgards,

Read only

gopi_narendra
Active Contributor
0 Likes
563

in the PBO just write these statements

itab is the table which u pass to ur table contorl.

tabcontrol is the name of the table control on ur screen.

describe table itab lines N.

tabcontrol-lines = N.

Regards

- Gopi

Read only

Former Member
0 Likes
562
PROCESS BEFORE OUTPUT.
 MODULE STATUS_0200.
  MODULE clear_ok_code.
  module data_retrieval.
  Loop  with Control TABCONT.
  module populate_screen.
  endloop.
    module vertical_scroll.

*&---------------------------------------------------------------------*
*&      Module  vertical_scroll  OUTPUT
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
module vertical_scroll output.
  DATA N TYPE I.
  describe table itab lines N.
tabcont-lines = N.

endmodule.                 " vertical_scroll  OUTPUT
Read only

Former Member
0 Likes
562

Ravi,

Check records are more number than the visible table control lines.