12-21-2006 4:15 AM
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.
12-21-2006 4:18 AM
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
12-21-2006 4:17 AM
Hi,
In PBO,just increase the no.of lines.
t_ctrl-lines = 100.
Message was edited by:
Jayanthi Jayaraman
12-21-2006 4:17 AM
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,
12-21-2006 4:18 AM
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
12-21-2006 4:18 AM
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
12-21-2006 4:19 AM
Ravi,
Check records are more number than the visible table control lines.