‎2007 May 25 1:22 PM
hi gurus,
i am moving a internal table values in to a table control. Only 14 records are moving in to the table control and later it is throwing a dump. 14 is the number of records found visible in the table control in the screen.;.e; it is not getting scrolled and taking the values from the internal table. what can i do?
‎2007 May 25 1:24 PM
Hello,
PROCESS BEFORE OUTPUT.
LOOP ......
---
---
ENDLOOP.
---
MODULE scroll_tctrl.
------------------------------------------
MODULE scroll_tctrl OUTPUT.
DATA : l_lines TYPE sy-tabix.
DESCRIBE TABLE itab LINES l_lines.
IF l_lines < sy-loopc.
tctrl-lines = sy-loopc.
ELSE.
tctrl-lines = l_lines.
ENDIF.
ENDMODULE.
where tctrl is your table control.
Or else, simply add few lines to your table control
ex:
MODULE scroll_tctrl OUTPUT.
tctrl-lines = 100.
ENDMODULE.
You have to select both Horizontal and vertical scroll while creating table control usinf Wizard.
Regards,
Deepu.K