Application Development 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: 

regarding module pool programming

Former Member
0 Kudos

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

gopi_narendra
Active Contributor
0 Kudos

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

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

In PBO,just increase the no.of lines.

t_ctrl-lines = 100.

Message was edited by:

Jayanthi Jayaraman

dani_mn
Active Contributor
0 Kudos

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,

gopi_narendra
Active Contributor
0 Kudos

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

Former Member
0 Kudos
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

Former Member
0 Kudos

Ravi,

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