06-26-2007 11:54 PM
Hi,
I have created one table control, to take the input. When i designed the TC i designed only for 5 lines, but unfortunately even on the screen it was comming like that only, i mean it was not dynamically extending...and did not see the vertical scroll bar...
Any one can help me...
regards
jaya
06-27-2007 3:33 AM
Hi,
You need to increase the no. of lines in table control by adding some number other than exisitng.
For example,if your internal table is having 5 lines,then in table control make the no. of lines as 105 so that you can see the vertical scroll bar.
DESCRIBE TABLE lt_trans LINES fill.
tabctrl1-lines = fill + 100.
Check this link.In this, if you see the coding part, I am doing like that.
Message was edited by:
Jayanthi Jayaraman
06-27-2007 12:01 AM
06-27-2007 3:08 AM
in the PBO of the screen module, before calling the table control lines just write these statements
itab is the internal table being passed to the table control
tabctrl is the name of the table control placed on the screen.
data : N type I.
describe table itab lines N.
tabctrl-lines = N.
Regards
Gopi
06-27-2007 3:33 AM
Hi,
You need to increase the no. of lines in table control by adding some number other than exisitng.
For example,if your internal table is having 5 lines,then in table control make the no. of lines as 105 so that you can see the vertical scroll bar.
DESCRIBE TABLE lt_trans LINES fill.
tabctrl1-lines = fill + 100.
Check this link.In this, if you see the coding part, I am doing like that.
Message was edited by:
Jayanthi Jayaraman