‎2011 Sep 02 12:12 PM
Hi all,
I have a problem with a report I'm coding, I need to create in a dynpro a table control which allows me to create entries for an internal table.
This is no big deal an I have created a table control which I can use to create the entries to this table.
The problem I have is that the table control has a finite number of free lines where I can input the data. I would like to have the posibility to scroll on the screen and have more empty lines, but instead of that I can only use the (let's say) 35 lines that I can see.
In many SAP transactions you have dynpros where you can use a table control for input data and you can have as many lines as you need. Does anyone know how can I create the table control so I can do the same?
Thanks in advance guys.
‎2011 Sep 02 12:25 PM
Hi.,
To get scroll bar you have to do it manually in coding,
Set the lines in table control..
tab_ctrl-lines = w_lines + 100. " here w_lines is no of records in internal table.
check this wiki for further reference : [Starting Table Control|http://wiki.sdn.sap.com/wiki/display/ABAP/LearnMakingFirstTableControl]
hope this helps u.,
Thanks & Regards,
Kiran
‎2011 Sep 02 12:25 PM
Hi.,
To get scroll bar you have to do it manually in coding,
Set the lines in table control..
tab_ctrl-lines = w_lines + 100. " here w_lines is no of records in internal table.
check this wiki for further reference : [Starting Table Control|http://wiki.sdn.sap.com/wiki/display/ABAP/LearnMakingFirstTableControl]
hope this helps u.,
Thanks & Regards,
Kiran
‎2011 Sep 02 12:43 PM
Exactly, that was it.
Thanks a lot, I have been reading many table control creation tutorials during the morning but I was unable to solve this problem.